Loading services/core/java/com/android/server/locksettings/recoverablekeystore/KeySyncTask.java +1 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,7 @@ public class KeySyncTask implements Runnable { counterId = generateAndStoreCounterId(recoveryAgentUid); } } byte[] vaultParams = KeySyncUtils.packVaultParams( publicKey, counterId, Loading services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/RecoverableKeyStoreManagerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ public class RecoverableKeyStoreManagerTest { TEST_VAULT_CHALLENGE, ImmutableList.of()); fail("should have thrown"); } catch (ServiceSpecificException e) { } catch (UnsupportedOperationException e) { assertThat(e.getMessage()).startsWith( "Only a single KeychainProtectionParams is supported"); } Loading services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/RecoverySessionStorageTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ public class RecoverySessionStorageTest { storage.remove(TEST_USER_ID, TEST_SESSION_ID); assertNotNull(storage.get(TEST_USER_ID, TEST_SESSION_ID)); assertNotNull(storage.get(TEST_USER_ID, otherSessionId)); } @Test Loading Loading
services/core/java/com/android/server/locksettings/recoverablekeystore/KeySyncTask.java +1 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,7 @@ public class KeySyncTask implements Runnable { counterId = generateAndStoreCounterId(recoveryAgentUid); } } byte[] vaultParams = KeySyncUtils.packVaultParams( publicKey, counterId, Loading
services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/RecoverableKeyStoreManagerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ public class RecoverableKeyStoreManagerTest { TEST_VAULT_CHALLENGE, ImmutableList.of()); fail("should have thrown"); } catch (ServiceSpecificException e) { } catch (UnsupportedOperationException e) { assertThat(e.getMessage()).startsWith( "Only a single KeychainProtectionParams is supported"); } Loading
services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/RecoverySessionStorageTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ public class RecoverySessionStorageTest { storage.remove(TEST_USER_ID, TEST_SESSION_ID); assertNotNull(storage.get(TEST_USER_ID, TEST_SESSION_ID)); assertNotNull(storage.get(TEST_USER_ID, otherSessionId)); } @Test Loading