/frameworks/base/core/tests/coretests/src/android/hardware/fingerprint/ |
D | FingerprintManagerTest.java | 90 private FingerprintManager mFingerprintManager; field in FingerprintManagerTest 105 mFingerprintManager = new FingerprintManager(mContext, mService); in setUp() 123 mFingerprintManager.getSensorPropertiesInternal(); in getSensorPropertiesInternal_noBinderCalls() 131 mFingerprintManager.authenticate(null, new CancellationSignal(), mAuthCallback, mHandler, in authenticate_withOptions() 155 mFingerprintManager.authenticate(null, new CancellationSignal(), in authenticate_errorWhenUnavailable() 167 mFingerprintManager.enroll(null, new CancellationSignal(), USER_ID, in enrollment_errorWhenHardwareAuthTokenIsNull() 182 mFingerprintManager.detectFingerprint(new CancellationSignal(), in detectClient_onError() 204 mFingerprintManager.authenticate(null, new CancellationSignal(), in authenticate_onErrorCanceled() 207 mFingerprintManager.authenticate(null, new CancellationSignal(), in authenticate_onErrorCanceled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricNotificationDialogFactory.java | 47 @Nullable private final FingerprintManager mFingerprintManager; field in BiometricNotificationDialogFactory 58 mFingerprintManager = fingerprintManager; in BiometricNotificationDialogFactory() 71 if (mFingerprintManager.getEnrolledFingerprints().size() == 1) { in createReenrollDialog() 118 if (mFingerprintManager == null) { in reenrollFingerprint() 124 if (!mFingerprintManager.hasEnrolledTemplates(userId)) { in reenrollFingerprint() 130 mFingerprintManager.removeAll(userId, in reenrollFingerprint()
|
D | BiometricNotificationService.java | 77 private final FingerprintManager mFingerprintManager; field in BiometricNotificationService 164 mFingerprintManager = fingerprintManager; in BiometricNotificationService() 179 if (mFingerprintManager != null) { in start() 180 mFingerprintManager.registerBiometricStateListener(mFingerprintStateListener); in start()
|
D | UdfpsController.java | 148 private final FingerprintManager mFingerprintManager; field in UdfpsController 385 UdfpsController.this.mFingerprintManager.onUdfpsUiEvent( in debugOnUiReady() 414 UdfpsController.this.mFingerprintManager.setIgnoreDisplayTouches( in debugSetIgnoreDisplayTouches() 743 mFingerprintManager = checkNotNull(fingerprintManager); in UdfpsController() 804 mFingerprintManager.setUdfpsOverlayController(mUdfpsOverlayController); in UdfpsController() 868 if (mFingerprintManager != null) { in showUdfpsOverlay() 869 mFingerprintManager.onUdfpsUiEvent(FingerprintManager.UDFPS_UI_OVERLAY_SHOWN, in showUdfpsOverlay() 1032 mFingerprintManager.onUdfpsUiEvent(FingerprintManager.UDFPS_UI_READY, requestId, in dispatchOnUiReady() 1091 mFingerprintManager.onPointerDown(requestId, mSensorProps.sensorId, pointerId, x, y, in onFingerDown() 1144 mFingerprintManager.onPointerUp(requestId, mSensorProps.sensorId, pointerId, x, in onFingerUp()
|
D | AuthController.java | 134 @Nullable private final FingerprintManager mFingerprintManager; field in AuthController 319 mFingerprintManager.registerBiometricStateListener(new BiometricStateListener() { in handleAllFingerprintAuthenticatorsRegistered() 752 mFingerprintManager = fingerprintManager; in AuthController() 839 if (mFingerprintManager != null) { in start() 840 mFingerprintManager.addAuthenticatorsRegisteredCallback( in start()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | BiometricDeferredQueue.java | 51 @Nullable private FingerprintManager mFingerprintManager; field in BiometricDeferredQueue 148 mFingerprintManager = fingerprintManager; in systemReady() 171 if (mFingerprintManager != null in addPendingLockoutResetForUser() 172 && mFingerprintManager.hasEnrolledFingerprints(userId)) { in addPendingLockoutResetForUser() 212 if (mFingerprintManager != null) { in processPendingLockoutsForFingerprint() 214 mFingerprintManager.getSensorPropertiesInternal(); in processPendingLockoutsForFingerprint() 218 mFingerprintManager.resetLockout(prop.sensorId, user.userId, in processPendingLockoutsForFingerprint() 228 mFingerprintManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFingerprint()
|
D | LockSettingsService.java | 3157 FingerprintManager mFingerprintManager = mInjector.getFingerprintManager(); in removeAllFingerprintForUser() local 3158 if (mFingerprintManager != null && mFingerprintManager.isHardwareDetected()) { in removeAllFingerprintForUser() 3159 if (mFingerprintManager.hasEnrolledFingerprints(userId)) { in removeAllFingerprintForUser() 3161 mFingerprintManager.removeAll(userId, fingerprintManagerRemovalCallback(latch)); in removeAllFingerprintForUser()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SideFpsEventHandler.java | 76 private FingerprintManager mFingerprintManager; field in SideFpsEventHandler 133 if (mFingerprintManager == null && mSideFpsEventHandlerReady.get()) { in notifyPowerPressed() 134 mFingerprintManager = mContext.getSystemService(FingerprintManager.class); in notifyPowerPressed() 136 if (mFingerprintManager == null) { in notifyPowerPressed() 139 mFingerprintManager.onPowerPressed(); in notifyPowerPressed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | BiometricNotificationDialogFactoryTest.java | 63 @Mock FingerprintManager mFingerprintManager; field in BiometricNotificationDialogFactoryTest 77 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setUp() 84 mFingerprintManager, in setUp() 105 verify(mFingerprintManager).removeAll(anyInt(), removalCallbackArgumentCaptor.capture()); in testFingerprintReEnrollDialog_onRemovalSucceeded() 131 verify(mFingerprintManager).removeAll(anyInt(), removalCallbackArgumentCaptor.capture()); in testFingerprintReEnrollDialog_onRemovalError()
|
D | BiometricNotificationServiceTest.java | 80 FingerprintManager mFingerprintManager; field in BiometricNotificationServiceTest 116 mFingerprintManager, in setUp() 135 verify(mFingerprintManager).registerBiometricStateListener( in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsCollectorTest.java | 76 private FingerprintManager mFingerprintManager; field in AuthenticationStatsCollectorTest 100 .thenReturn(mFingerprintManager); in setUp() 143 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_authenticationFailed_mapShouldBeUpdated() 194 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrNotExceeded_notificationNotExceeded_shouldNotSendNotification() 245 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrExceeded_bothBiometricsEnrolled_shouldNotSendNotification() 273 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrExceeded_singleModality_shouldNotSendNotification() 300 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(false); in authenticate_frrExceeded_faceEnrolled_shouldSendFpNotification() 329 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrExceeded_fpEnrolled_shouldSendFaceNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 48 private final FingerprintManager mFingerprintManager; field in MockLockSettingsContext 67 mFingerprintManager = fingerprintManager; in MockLockSettingsContext() 97 return mFingerprintManager; in getSystemService()
|
D | BaseLockSettingsServiceTests.java | 112 FingerprintManager mFingerprintManager; field in BaseLockSettingsServiceTests 135 mFingerprintManager = mock(FingerprintManager.class); in setUp_baseServices() 149 mock(KeyguardManager.class), mFingerprintManager, mFaceManager, mPackageManager); in setUp_baseServices() 325 when(mFingerprintManager.isHardwareDetected()).thenReturn(true); in mockBiometricsHardwareFingerprintsAndTemplates() 326 when(mFingerprintManager.hasEnrolledFingerprints(userId)).thenReturn(true); in mockBiometricsHardwareFingerprintsAndTemplates() 335 }).when(mFingerprintManager).removeAll(eq(userId), any()); in mockBiometricsHardwareFingerprintsAndTemplates()
|
D | LockSettingsServiceTests.java | 329 verify(mFingerprintManager).removeAll(eq(PRIMARY_USER_ID), any()); in testClearLockCredential_removesBiometrics() 332 verify(mFingerprintManager).removeAll(eq(MANAGED_PROFILE_USER_ID), any()); in testClearLockCredential_removesBiometrics()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthenticationStatsCollector.java | 58 @Nullable private final FingerprintManager mFingerprintManager; field in AuthenticationStatsCollector 93 mFingerprintManager = mContext.getSystemService(FingerprintManager.class); in AuthenticationStatsCollector() 226 return mFingerprintManager != null && mFingerprintManager.hasEnrolledTemplates(userId); in hasEnrolledFingerprint()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 153 private FingerprintManager mFingerprintManager; field in UdfpsControllerTest 328 reset(mFingerprintManager); in initUdfpsController() 335 mFingerprintManager, in initUdfpsController() 376 verify(mFingerprintManager).setUdfpsOverlayController(mOverlayCaptor.capture()); in initUdfpsController() 501 verify(mFingerprintManager).onUdfpsUiEvent(FingerprintManager.UDFPS_UI_OVERLAY_SHOWN, in showUdfpsOverlay_callsListener() 685 verify(mFingerprintManager).onPointerDown(eq(TEST_REQUEST_ID), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 691 reset(mFingerprintManager); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 700 verify(mFingerprintManager).onPointerDown(eq(TEST_REQUEST_ID), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 706 reset(mFingerprintManager); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() 715 verify(mFingerprintManager).onPointerDown(eq(TEST_REQUEST_ID), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() [all …]
|
D | AuthControllerTest.java | 141 private FingerprintManager mFingerprintManager; field in AuthControllerTest 218 when(mFingerprintManager.isHardwareDetected()).thenReturn(true); in setup() 238 when(mFingerprintManager.getSensorPropertiesInternal()).thenReturn(fpProps); in setup() 255 verify(mFingerprintManager).addAuthenticatorsRegisteredCallback( in setup() 273 reset(mFingerprintManager); in testRegistersBiometricStateListener_afterAllAuthenticatorsAreRegistered() 280 verify(mFingerprintManager).addAuthenticatorsRegisteredCallback( in testRegistersBiometricStateListener_afterAllAuthenticatorsAreRegistered() 286 verify(mFingerprintManager, never()).registerBiometricStateListener(any()); in testRegistersBiometricStateListener_afterAllAuthenticatorsAreRegistered() 293 verify(mFingerprintManager).registerBiometricStateListener(any()); in testRegistersBiometricStateListener_afterAllAuthenticatorsAreRegistered() 300 reset(mFingerprintManager); in testDoesNotCrash_afterEnrollmentsChangedForUnknownSensor() 307 verify(mFingerprintManager).addAuthenticatorsRegisteredCallback( in testDoesNotCrash_afterEnrollmentsChangedForUnknownSensor() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | SideFpsEventHandlerTest.java | 90 private FingerprintManager mFingerprintManager; field in SideFpsEventHandlerTest 104 mContext.addMockSystemService(FingerprintManager.class, mFingerprintManager); in setup() 286 when(mFingerprintManager.isPowerbuttonFps()).thenReturn(hasSfps); in setupWithSensor() 291 verify(mFingerprintManager).addAuthenticatorsRegisteredCallback(fpCallbackCaptor.capture()); in setupWithSensor() 300 verify(mFingerprintManager).registerBiometricStateListener(captor.capture()); in setupWithSensor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 216 private FingerprintManager mFingerprintManager; field in KeyguardUpdateMonitorTest 391 verify(mFingerprintManager).addAuthenticatorsRegisteredCallback( in captureAuthenticatorsRegisteredCallbacks() 400 when(mFingerprintManager.isHardwareDetected()).thenReturn(true); in setupFingerprintAuth() 401 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setupFingerprintAuth() 404 when(mFingerprintManager.getSensorPropertiesInternal()).thenReturn( in setupFingerprintAuth() 821 verify(mFingerprintManager).detectFingerprint( in whenDetectFingerprint_biometricDetectCallback() 839 verify(mFingerprintManager).detectFingerprint( in whenDetectFingerprint_detectError() 1161 when(mFingerprintManager.getLockoutModeForUser(eq(FINGERPRINT_SENSOR_ID), eq(newUser))) in testMultiUserLockout_whenUserSwitches() 2035 verify(mFingerprintManager).addLockoutResetCallback(fpLockoutResetCallbackCaptor.capture()); in detectFingerprint_onTemporaryLockoutReset_authenticateFingerprint() 2062 verify(mFingerprintManager).detectFingerprint( in detectFingerprint_onSuccess_biometricStateStopped() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
D | TrustManagerServiceTest.java | 155 private @Mock FingerprintManager mFingerprintManager; field in TrustManagerServiceTest 174 when(mFingerprintManager.getSensorProperties()).thenReturn(List.of()); in setUp() 215 mMockContext.addMockSystemService(FingerprintManager.class, mFingerprintManager); in setUp() 762 when(mFingerprintManager.getSensorProperties()).thenReturn(List.of(sensor)); in setupFingerprint() 763 when(mFingerprintManager.hasEnrolledTemplates(TEST_USER_ID)).thenReturn(enrolled); in setupFingerprint()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 166 private FingerprintManager mFingerprintManager; field in TrustManagerService 319 mFingerprintManager = mContext.getSystemService(FingerprintManager.class); in onBootPhase() 1702 if (mFingerprintManager != null in isWeakUnlockMethodEnabled() 1704 && mFingerprintManager.hasEnrolledTemplates(userId) in isWeakUnlockMethodEnabled() 1706 mFingerprintManager.getSensorProperties().get(0))) { in isWeakUnlockMethodEnabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 335 @Mock private FingerprintManager mFingerprintManager; field in CentralSurfacesImplTest 598 () -> mFingerprintManager, in createCentralSurfaces() 1126 mFingerprintManager = null; in fingerprintManagerNull_noNPE()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImpl.java | 459 private final Provider<FingerprintManager> mFingerprintManager; field in CentralSurfacesImpl 804 mFingerprintManager = fingerprintManager; in CentralSurfacesImpl() 2547 && mFingerprintManager.get() != null 2548 && mFingerprintManager.get().isPowerbuttonFps()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 18563 Landroid/hardware/biometrics/BiometricPrompt;->mFingerprintManager:Landroid/hardware/fingerprint/Fi…
|