Home
last modified time | relevance | path

Searched refs:mRecoverableKeyStoreManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java165 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/
DLockSettingsServiceTests.java243 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUser_sendsCredentials()
260 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials()
283 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials()
301 verify(mRecoverableKeyStoreManager, never()) in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential()
324 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
326 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
348 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
350 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
371 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials()
396 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forSeparateToUnifiedChallengeProfile_doesNotSendRandomCredential()
[all …]
DLockSettingsServiceTestable.java49 private RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsServiceTestable.MockInjector
64 mRecoverableKeyStoreManager = recoverableKeyStoreManager; in MockInjector()
129 return mRecoverableKeyStoreManager; in getRecoverableKeyStoreManager()
DBaseLockSettingsServiceTests.java100 RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in BaseLockSettingsServiceTests
115 mRecoverableKeyStoreManager = mock(RecoverableKeyStoreManager.class); in setUp_baseServices()
152 mSpManager, mAuthSecretService, mGsiService, mRecoverableKeyStoreManager); in setUp_baseServices()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java211 private final RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsService
469 mRecoverableKeyStoreManager = injector.getRecoverableKeyStoreManager(mKeyStore); in LockSettingsService()
1420 mRecoverableKeyStoreManager.lockScreenSecretAvailable( in sendCredentialsOnUnlockIfRequired()
1440 mRecoverableKeyStoreManager.lockScreenSecretChanged( in sendCredentialsOnChangeIfRequired()
2222 mRecoverableKeyStoreManager.initRecoveryServiceWithSigFile(rootCertificateAlias, in initRecoveryServiceWithSigFile()
2228 return mRecoverableKeyStoreManager.getKeyChainSnapshot(); in getKeyChainSnapshot()
2234 mRecoverableKeyStoreManager.setSnapshotCreatedPendingIntent(intent); in setSnapshotCreatedPendingIntent()
2239 mRecoverableKeyStoreManager.setServerParams(serverParams); in setServerParams()
2244 mRecoverableKeyStoreManager.setRecoveryStatus(alias, status); in setRecoveryStatus()
2249 return mRecoverableKeyStoreManager.getRecoveryStatus(); in getRecoveryStatus()
[all …]