Searched refs:mBiometricService (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 91 private BiometricService mBiometricService; field in BiometricServiceTest 155 invokeAuthenticateAndStart(mBiometricService.mImpl, mReceiver1, in testClientBinderDied_whenPaused() 158 verify(mReceiver1.asBinder()).linkToDeath(eq(mBiometricService.mCurrentAuthSession), in testClientBinderDied_whenPaused() 161 mBiometricService.mInternalReceiver.onError( in testClientBinderDied_whenPaused() 162 getCookieForCurrentSession(mBiometricService.mCurrentAuthSession), in testClientBinderDied_whenPaused() 169 mBiometricService.mCurrentAuthSession.mState); in testClientBinderDied_whenPaused() 171 mBiometricService.mCurrentAuthSession.binderDied(); in testClientBinderDied_whenPaused() 174 assertNull(mBiometricService.mCurrentAuthSession); in testClientBinderDied_whenPaused() 175 verify(mBiometricService.mStatusBarService).hideAuthenticationDialog(); in testClientBinderDied_whenPaused() 183 invokeAuthenticateAndStart(mBiometricService.mImpl, mReceiver1, in testClientBinderDied_whenAuthenticating() [all …]
|
D | AuthServiceTest.java | 68 IBiometricService mBiometricService; field in AuthServiceTest 88 when(mInjector.getBiometricService()).thenReturn(mBiometricService); in setUp() 107 verify(mBiometricService, never()).registerAuthenticator( in testRegisterNullService_doesNotRegister() 157 verify(mBiometricService).authenticate( in testAuthenticate_callsBiometricServiceAuthenticate() 177 when(mBiometricService.canAuthenticate(anyString(), anyInt(), anyInt(), anyInt())) in testCanAuthenticate_callsBiometricServiceCanAuthenticate() 185 verify(mBiometricService).canAuthenticate( in testCanAuthenticate_callsBiometricServiceCanAuthenticate() 201 when(mBiometricService.hasEnrolledBiometrics(anyInt(), anyString())).thenReturn( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics() 209 verify(mBiometricService).hasEnrolledBiometrics( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics() 227 verify(mBiometricService).registerEnabledOnKeyguardCallback( in testRegisterKeyguardCallback_callsBiometricServiceRegisterKeyguardCallback() 242 verify(mBiometricService).setActiveUser(eq(userId)); in testSetActiveUser_callsBiometricServiceSetActiveUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthService.java | 67 private IBiometricService mBiometricService; field in AuthService 170 mBiometricService.authenticate( in authenticate() 193 mBiometricService.cancelAuthentication(token, opPackageName, callingUid, in cancelAuthentication() 215 final int result = mBiometricService.canAuthenticate( in canAuthenticate() 234 return mBiometricService.hasEnrolledBiometrics(userId, opPackageName); in hasEnrolledBiometrics() 247 mBiometricService.registerEnabledOnKeyguardCallback(callback, callingUserId); in registerEnabledOnKeyguardCallback() 258 mBiometricService.setActiveUser(userId); in setActiveUser() 269 mBiometricService.resetLockout(token); in resetLockout() 296 return mBiometricService.getAuthenticatorIds(callingUserId); in getAuthenticatorIds() 316 mBiometricService = mInjector.getBiometricService(); in onStart() [all …]
|
D | BiometricServiceBase.java | 120 private IBiometricService mBiometricService; field in BiometricServiceBase 1115 if (mBiometricService == null) { in startClient() 1116 mBiometricService = IBiometricService.Stub.asInterface( in startClient() 1120 mBiometricService.onReadyForAuthentication(client.getCookie(), in startClient()
|