Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DBiometricServiceTest.java297 mBiometricService.onStart(); in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
318 mBiometricService.onStart(); in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
345 mBiometricService.onStart(); in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent()
362 mBiometricService.onStart(); in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
436 mBiometricService.onStart(); in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable()
1308 mBiometricService.mImpl.cancelAuthentication(mBiometricService.mAuthSession.mToken, in testCancel_whenAuthenticating()
1359 mBiometricService.onStart(); in testCanAuthenticate_onlyCredentialRequested()
1413 mBiometricService.onStart(); in testCanAuthenticate_whenNoBiometricSensor()
1500 mBiometricService.onStart(); in testRegisterAuthenticator_updatesStrengths()
1518 mBiometricService.onStart(); in testWithDowngradedAuthenticator()
[all …]
H A DAuthServiceTest.java98 IBiometricService mBiometricService; field in AuthServiceTest
135 when(mInjector.getBiometricService()).thenReturn(mBiometricService); in setUp()
159 verify(mBiometricService, never()).registerAuthenticator( in testRegisterNullService_doesNotRegister()
222 verify(mBiometricService).authenticate( in testAuthenticate_appOpsOk_callsBiometricServiceAuthenticate()
251 verify(mBiometricService, never()).authenticate( in testAuthenticate_appOpsDenied_doesNotCallBiometricService()
364 when(mBiometricService.canAuthenticate(anyString(), anyInt(), anyInt(), anyInt())) in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
372 verify(mBiometricService).canAuthenticate( in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
389 when(mBiometricService.hasEnrolledBiometrics(anyInt(), anyString())).thenReturn( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics()
397 verify(mBiometricService).hasEnrolledBiometrics( in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics()
417 verify(mBiometricService).registerEnabledOnKeyguardCallback( in testRegisterKeyguardCallback_callsBiometricServiceRegisterKeyguardCallback()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthService.java93 private IBiometricService mBiometricService; field in AuthService
271 return mBiometricService.authenticate( in authenticate()
322 final int result = mBiometricService.canAuthenticate( in canAuthenticate()
341 return mBiometricService.hasEnrolledBiometrics(userId, opPackageName); in hasEnrolledBiometrics()
353 mBiometricService.registerEnabledOnKeyguardCallback(callback); in registerEnabledOnKeyguardCallback()
397 return mBiometricService.getAuthenticatorIds(userId); in getAuthenticatorIds()
422 mBiometricService.resetLockout(userId, hardwareAuthToken); in resetLockout()
446 mBiometricService.getCurrentModality( in getButtonLabel()
492 mBiometricService.getCurrentModality( in getPromptMessage()
562 mBiometricService.getSupportedModalities(authenticators); in getSettingName()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintServiceRegistryTest.java65 private IBiometricService mBiometricService; field in FingerprintServiceRegistryTest
96 mRegistry = new FingerprintServiceRegistry(mFingerprintService, () -> mBiometricService); in setup()
105 verify(mBiometricService, times(2)).registerAuthenticator( in registersAllProviders()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
H A DFaceServiceRegistryTest.java65 private IBiometricService mBiometricService; field in FaceServiceRegistryTest
100 mRegistry = new FaceServiceRegistry(mFaceService, () -> mBiometricService); in setup()
109 verify(mBiometricService, times(2)).registerAuthenticator( in registersAllProviders()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DSensorTest.java72 private IBiometricService mBiometricService; field in SensorTest
106 when(mContext.getSystemService(Context.BIOMETRIC_SERVICE)).thenReturn(mBiometricService); in setUp()
113 mBiometricService, in setUp()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
H A DSensorTest.java71 private IBiometricService mBiometricService; field in SensorTest
103 when(mContext.getSystemService(Context.BIOMETRIC_SERVICE)).thenReturn(mBiometricService); in setUp()
111 mBiometricService, in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DBiometricScheduler.java151 @NonNull private final IBiometricService mBiometricService; field in BiometricScheduler
216 mBiometricService = biometricService; in BiometricScheduler()
317 mBiometricService.onReadyForAuthentication( in startNextOperationIfIdle()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DUserAwareBiometricSchedulerTest.java77 private IBiometricService mBiometricService; field in UserAwareBiometricSchedulerTest
102 mBiometricService, in setUp()
H A DBiometricSchedulerTest.java101 private IBiometricService mBiometricService; field in BiometricSchedulerTest
116 mBiometricService, LOG_NUM_RECENT_OPERATIONS); in setUp()