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.java181 private RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in RecoverableKeyStoreManagerTest
208 mRecoverableKeyStoreManager = new RecoverableKeyStoreManager( in setUp()
244 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_storesTheKey()
254 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, keyMaterial); in importKey_throwsIfInvalidLength()
264 mRecoverableKeyStoreManager.importKey(TEST_ALIAS, /*keyBytes=*/ null); in importKey_throwsIfNullKey()
277 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_nullMetadata_storesTheKey()
290 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_nonNullMetadata_storesTheKey()
301 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_throwsIfInvalidLength()
312 mRecoverableKeyStoreManager.importKeyWithMetadata( in importKeyWithMetadata_throwsIfNullKey()
325 mRecoverableKeyStoreManager.generateKeyWithMetadata(TEST_ALIAS, KEY_METADATA_NULL); in generateKeyWithMetadata_nullMetadata_storesTheKey()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java255 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUser_sendsCredentials()
264 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials()
275 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials()
285 verify(mRecoverableKeyStoreManager, never()) in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential()
300 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
303 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
316 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
318 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
353 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials()
374 verify(mRecoverableKeyStoreManager) in testSetLockCredential_forSeparateToUnifiedChallengeProfile_doesNotSendRandomCredential()
[all …]
DLockSettingsServiceTestable.java57 private RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsServiceTestable.MockInjector
75 mRecoverableKeyStoreManager = recoverableKeyStoreManager; in MockInjector()
137 return mRecoverableKeyStoreManager; in getRecoverableKeyStoreManager()
DBaseLockSettingsServiceTests.java109 RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in BaseLockSettingsServiceTests
132 mRecoverableKeyStoreManager = mock(RecoverableKeyStoreManager.class); in setUp_baseServices()
170 mRecoverableKeyStoreManager, in setUp_baseServices()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java299 private final RecoverableKeyStoreManager mRecoverableKeyStoreManager; field in LockSettingsService
667 mRecoverableKeyStoreManager = injector.getRecoverableKeyStoreManager(); in LockSettingsService()
1768 mRecoverableKeyStoreManager.lockScreenSecretAvailable( in sendCredentialsOnUnlockIfRequired()
1790 mRecoverableKeyStoreManager.lockScreenSecretChanged( in sendCredentialsOnChangeIfRequired()
2703 mRecoverableKeyStoreManager.initRecoveryServiceWithSigFile(rootCertificateAlias, in initRecoveryServiceWithSigFile()
2709 return mRecoverableKeyStoreManager.getKeyChainSnapshot(); in getKeyChainSnapshot()
2715 mRecoverableKeyStoreManager.setSnapshotCreatedPendingIntent(intent); in setSnapshotCreatedPendingIntent()
2720 mRecoverableKeyStoreManager.setServerParams(serverParams); in setServerParams()
2725 mRecoverableKeyStoreManager.setRecoveryStatus(alias, status); in setRecoveryStatus()
2730 return mRecoverableKeyStoreManager.getRecoveryStatus(); in getRecoveryStatus()
[all …]