Searched refs:mRecoverableKeyStoreManager (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 165 private RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in RecoverableKeyStoreManagerTest 189 mRecoverableKeyStoreManager = new RecoverableKeyStoreManager( in setUp() 214 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_storesTheKey() 224 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_throwsIfInvalidLength() 234 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, /*keyBytes=*/ null); in importKey_throwsIfNullKey() 247 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_nullMetadata_storesTheKey() 260 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_nonNullMetadata_storesTheKey() 271 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_throwsIfInvalidLength() 282 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_throwsIfNullKey() 295 mRecoverableKeyStoreManager.generateKeyWithMetadata(TEST_ALIAS, KEY_METADATA_NULL); in generateKeyWithMetadata_nullMetadata_storesTheKey() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 238 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUser_sendsCredentials() 251 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials() 270 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 285 verify(mRecoverableKeyStoreManager, never()) in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential() 305 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 308 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 325 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials() 327 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials() 362 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials() 382 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forSeparateToUnifiedChallengeProfile_doesNotSendRandomCredential() [all …]
|
D | LockSettingsServiceTestable.java | 51 private RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsServiceTestable.MockInjector 69 mRecoverableKeyStoreManager = recoverableKeyStoreManager; in MockInjector() 154 return mRecoverableKeyStoreManager; in getRecoverableKeyStoreManager()
|
D | BaseLockSettingsServiceTests.java | 103 RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in BaseLockSettingsServiceTests 123 mRecoverableKeyStoreManager = mock(RecoverableKeyStoreManager.class); in setUp_baseServices() 155 mSpManager, mAuthSecretService, mGsiService, mRecoverableKeyStoreManager, in setUp_baseServices()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 235 private final RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsService 571 mRecoverableKeyStoreManager = injector.getRecoverableKeyStoreManager(); in LockSettingsService() 1563 mRecoverableKeyStoreManager.lockScreenSecretAvailable( in sendCredentialsOnUnlockIfRequired() 1585 mRecoverableKeyStoreManager.lockScreenSecretChanged( in sendCredentialsOnChangeIfRequired() 2592 mRecoverableKeyStoreManager.initRecoveryServiceWithSigFile(rootCertificateAlias, in initRecoveryServiceWithSigFile() 2598 return mRecoverableKeyStoreManager.getKeyChainSnapshot(); in getKeyChainSnapshot() 2604 mRecoverableKeyStoreManager.setSnapshotCreatedPendingIntent(intent); in setSnapshotCreatedPendingIntent() 2609 mRecoverableKeyStoreManager.setServerParams(serverParams); in setServerParams() 2614 mRecoverableKeyStoreManager.setRecoveryStatus(alias, status); in setRecoveryStatus() 2619 return mRecoverableKeyStoreManager.getRecoveryStatus(); in getRecoveryStatus() [all …]
|