Searched refs:mKeyStoreAuthorization (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
D | TrustManagerServiceTest.java | 156 private @Mock KeyStoreAuthorization mKeyStoreAuthorization; field in TrustManagerServiceTest 249 return mKeyStoreAuthorization; in getKeyStoreAuthorization() 428 verify(mKeyStoreAuthorization).onDeviceUnlocked(PARENT_USER_ID, null); in testLockDeviceForManagedProfileWithUnifiedChallenge_usesParentBiometricSids() 429 verify(mKeyStoreAuthorization).onDeviceUnlocked(PROFILE_USER_ID, null); in testLockDeviceForManagedProfileWithUnifiedChallenge_usesParentBiometricSids() 433 verify(mKeyStoreAuthorization) in testLockDeviceForManagedProfileWithUnifiedChallenge_usesParentBiometricSids() 435 verify(mKeyStoreAuthorization) in testLockDeviceForManagedProfileWithUnifiedChallenge_usesParentBiometricSids() 449 verify(mKeyStoreAuthorization).onDeviceUnlocked(PROFILE_USER_ID, null); in testLockDeviceForManagedProfileWithSeparateChallenge_usesProfileBiometricSids() 452 verify(mKeyStoreAuthorization) in testLockDeviceForManagedProfileWithSeparateChallenge_usesProfileBiometricSids() 792 verify(mKeyStoreAuthorization).onDeviceUnlocked(TEST_USER_ID, null); in verifyWeakUnlockValue() 796 verify(mKeyStoreAuthorization).onDeviceLocked(eq(TEST_USER_ID), any(), in verifyWeakUnlockValue()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthSession.java | 115 private final KeyStoreAuthorization mKeyStoreAuthorization; field in AuthSession 208 mKeyStoreAuthorization = keyStoreAuthorization; in AuthSession() 841 mKeyStoreAuthorization.addAuthToken(credentialAttestation); in onDialogDismissed() 848 final int result = mKeyStoreAuthorization.addAuthToken(mTokenEscrow); in onDialogDismissed()
|
D | BiometricService.java | 124 KeyStoreAuthorization mKeyStoreAuthorization; field in BiometricService 671 return mKeyStoreAuthorization.getLastAuthTime(secureUserId, authTypesArray); 1121 mKeyStoreAuthorization = injector.getKeyStoreAuthorization(); 1463 createSysuiReceiver(requestId), mKeyStoreAuthorization, mRandom,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 182 private KeyStoreAuthorization mKeyStoreAuthorization; field in BiometricServiceTest 243 when(mInjector.getKeyStoreAuthorization()).thenReturn(mKeyStoreAuthorization); in setUp() 676 verify(mKeyStoreAuthorization).addAuthToken(AdditionalMatchers.aryEq(HAT)); in testAuthenticate_happyPathWithoutConfirmation() 678 verify(mKeyStoreAuthorization, never()).addAuthToken(any(byte[].class)); in testAuthenticate_happyPathWithoutConfirmation() 741 verify(mKeyStoreAuthorization, never()).addAuthToken(any(byte[].class)); in testAuthenticate_happyPathWithConfirmation() 749 verify(mKeyStoreAuthorization).addAuthToken(AdditionalMatchers.aryEq(HAT)); in testAuthenticate_happyPathWithConfirmation() 751 verify(mKeyStoreAuthorization, never()).addAuthToken(any(byte[].class)); in testAuthenticate_happyPathWithConfirmation() 1307 verify(mKeyStoreAuthorization, never()).addAuthToken(any(byte[].class)); in testDismissedReasonUserCancel_whenPendingConfirmation() 1833 when(mKeyStoreAuthorization.getLastAuthTime(eq(secureUserId), eq(hardwareAuthenticators))) in testGetLastAuthenticationTime_flagOn_callsKeystoreAuthorization() 1842 verify(mKeyStoreAuthorization).getLastAuthTime(eq(secureUserId), in testGetLastAuthenticationTime_flagOn_callsKeystoreAuthorization()
|
D | AuthSessionTest.java | 118 @Mock private KeyStoreAuthorization mKeyStoreAuthorization; field in AuthSessionTest 860 mKeyStoreAuthorization, mRandom, mClientDeathReceiver, preAuthInfo, mToken, in createAuthSession()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 163 private final KeyStoreAuthorization mKeyStoreAuthorization; field in TrustManagerService 298 mKeyStoreAuthorization = injector.getKeyStoreAuthorization(); in TrustManagerService() 1103 mKeyStoreAuthorization.onDeviceLocked(userId, getBiometricSids(authUserId), in notifyKeystoreOfDeviceLockState() 1106 mKeyStoreAuthorization.onDeviceLocked(userId, getBiometricSids(userId), false); in notifyKeystoreOfDeviceLockState() 1112 mKeyStoreAuthorization.onDeviceUnlocked(userId, /* password= */ null); in notifyKeystoreOfDeviceLockState()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 298 private final KeyStoreAuthorization mKeyStoreAuthorization; field in LockSettingsService 666 mKeyStoreAuthorization = injector.getKeyStoreAuthorization(); in LockSettingsService() 1518 mKeyStoreAuthorization.onDeviceUnlocked(userId, sp.deriveKeyStorePassword()); in unlockKeystore()
|