Home
last modified time | relevance | path

Searched refs:mBiometricService (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DBiometricServiceTest.java241 mBiometricService.onStart(); in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
260 mBiometricService.onStart(); in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
287 mBiometricService.onStart(); in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent()
303 mBiometricService.onStart(); in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
376 mBiometricService.onStart(); in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable()
1137 mBiometricService.mImpl.cancelAuthentication(mBiometricService.mCurrentAuthSession.mToken, in testCancel_whenAuthenticating()
1186 mBiometricService.onStart(); in testCanAuthenticate_onlyCredentialRequested()
1237 mBiometricService.onStart(); in testCanAuthenticate_whenNoBiometricSensor()
1323 mBiometricService.onStart(); in testRegisterAuthenticator_updatesStrengths()
1341 mBiometricService.onStart(); in testWithDowngradedAuthenticator()
[all …]
H A DAuthServiceTest.java84 IBiometricService mBiometricService; field in AuthServiceTest
119 when(mInjector.getBiometricService()).thenReturn(mBiometricService); in setUp()
140 verify(mBiometricService, never()).registerAuthenticator( in testRegisterNullService_doesNotRegister()
203 verify(mBiometricService).authenticate( in testAuthenticate_appOpsOk_callsBiometricServiceAuthenticate()
232 verify(mBiometricService, never()).authenticate( in testAuthenticate_appOpsDenied_doesNotCallBiometricService()
270 when(mBiometricService.canAuthenticate(anyString(), anyInt(), anyInt(), anyInt())) in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
278 verify(mBiometricService).canAuthenticate( in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
293 when(mBiometricService.hasEnrolledBiometrics(anyInt(), anyString())).thenReturn( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics()
301 verify(mBiometricService).hasEnrolledBiometrics( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics()
319 verify(mBiometricService).registerEnabledOnKeyguardCallback( in testRegisterKeyguardCallback_callsBiometricServiceRegisterKeyguardCallback()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthService.java88 private IBiometricService mBiometricService; field in AuthService
255 return mBiometricService.authenticate( in authenticate()
285 mBiometricService.cancelAuthentication(token, opPackageName, requestId); in cancelAuthentication()
306 final int result = mBiometricService.canAuthenticate( in canAuthenticate()
325 return mBiometricService.hasEnrolledBiometrics(userId, opPackageName); in hasEnrolledBiometrics()
338 mBiometricService.registerEnabledOnKeyguardCallback(callback, callingUserId); in registerEnabledOnKeyguardCallback()
382 return mBiometricService.getAuthenticatorIds(userId); in getAuthenticatorIds()
420 mBiometricService.getCurrentModality( in getButtonLabel()
466 mBiometricService.getCurrentModality( in getPromptMessage()
536 mBiometricService.getSupportedModalities(authenticators); in getSettingName()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
H A DSensorTest.java60 private IBiometricService mBiometricService; field in SensorTest
80 when(mContext.getSystemService(Context.BIOMETRIC_SERVICE)).thenReturn(mBiometricService); in setUp()
86 mBiometricService, in setUp()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DSensorTest.java60 private IBiometricService mBiometricService; field in SensorTest
80 when(mContext.getSystemService(Context.BIOMETRIC_SERVICE)).thenReturn(mBiometricService); in setUp()
86 mBiometricService, in setUp()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DBiometricScheduler.java149 @NonNull private final IBiometricService mBiometricService; field in BiometricScheduler
225 mBiometricService = biometricService; in BiometricScheduler()
319 mBiometricService.onReadyForAuthentication(cookie); in startNextOperationIfIdle()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DUserAwareBiometricSchedulerTest.java66 private IBiometricService mBiometricService; field in UserAwareBiometricSchedulerTest
82 mBiometricService, in setUp()
H A DBiometricSchedulerTest.java78 private IBiometricService mBiometricService; field in BiometricSchedulerTest
90 mBiometricService, LOG_NUM_RECENT_OPERATIONS, in setUp()