/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsCollectorTest.java | 123 when(mFaceManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_authenticationSucceeded_mapShouldBeUpdated() 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() 246 when(mFaceManager.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() 301 when(mFaceManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrExceeded_faceEnrolled_shouldSendFpNotification() 329 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in authenticate_frrExceeded_fpEnrolled_shouldSendFaceNotification() 330 when(mFaceManager.hasEnrolledTemplates(anyInt())).thenReturn(false); in authenticate_frrExceeded_fpEnrolled_shouldSendFaceNotification()
|
D | InvalidationTrackerTest.java | 61 when(authenticator1.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in testCallbackReceived_whenAllStrongSensorsInvalidated() 67 when(authenticator2.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in testCallbackReceived_whenAllStrongSensorsInvalidated() 73 when(authenticator3.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in testCallbackReceived_whenAllStrongSensorsInvalidated() 79 when(authenticator4.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in testCallbackReceived_whenAllStrongSensorsInvalidated()
|
D | PreAuthInfoTest.java | 83 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in setup() 87 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())) in setup() 150 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(false); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()
|
D | BiometricServiceTest.java | 463 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable() 690 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(false); in testAuthenticate_noBiometrics_credentialAllowed() 760 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(false); in testAuthenticate_no_Biometrics_noCredential() 1064 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(false); in testMultiBiometricAuth_whenLockout() 1558 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())) in testRegisterAuthenticator_updatesStrengths() 1577 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())) in testWithDowngradedAuthenticator() 1866 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())) in setupAuthForOnly() 1876 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(enrolled); in setupAuthForOnly() 1905 when(mFingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())) in setupAuthForMultiple() 1913 when(mFaceAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in setupAuthForMultiple()
|
D | AuthSessionTest.java | 876 when(fingerprintAuthenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in setupFingerprint() 913 when(authenticator.hasEnrolledTemplates(anyInt(), any())).thenReturn(true); in setupFace()
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | IBiometricAuthenticator.aidl | 64 boolean hasEnrolledTemplates(int userId, String opPackageName); in hasEnrolledTemplates() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricNotificationDialogFactory.java | 124 if (!mFingerprintManager.hasEnrolledTemplates(userId)) { in reenrollFingerprint() 166 if (!mFaceManager.hasEnrolledTemplates(userId)) { in reenrollFace()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthenticationStatsCollector.java | 222 return mFaceManager != null && mFaceManager.hasEnrolledTemplates(userId); in hasEnrolledFace() 226 return mFingerprintManager != null && mFingerprintManager.hasEnrolledTemplates(userId); in hasEnrolledFingerprint()
|
D | PreAuthInfo.java | 197 if (!sensor.impl.hasEnrolledTemplates(userId, opPackageName) in getStatusForBiometricAuthenticator()
|
D | BiometricService.java | 174 if (!sensor.impl.hasEnrolledTemplates(userId, context.getOpPackageName())) { in InvalidationTracker() 682 if (sensor.impl.hasEnrolledTemplates(userId, opPackageName)) { 781 final boolean hasEnrollments = sensor.impl.hasEnrolledTemplates(callingUserId,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | BiometricNotificationDialogFactoryTest.java | 77 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setUp() 78 when(mFaceManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/ |
D | IrisAuthenticator.java | 82 public boolean hasEnrolledTemplates(int userId, String opPackageName) throws RemoteException { in hasEnrolledTemplates() method in IrisAuthenticator
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/ |
D | FingerprintAuthenticator.java | 95 public boolean hasEnrolledTemplates(int userId, String opPackageName) throws RemoteException { in hasEnrolledTemplates() method in FingerprintAuthenticator
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/ |
D | FaceAuthenticator.java | 94 public boolean hasEnrolledTemplates(int userId, String opPackageName) throws RemoteException { in hasEnrolledTemplates() method in FaceAuthenticator
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | BiometricDeferredQueue.java | 166 if (mFaceManager != null && mFaceManager.hasEnrolledTemplates(userId)) { in addPendingLockoutResetForUser()
|
D | LockSettingsService.java | 3174 if (mFaceManager.hasEnrolledTemplates(userId)) { in removeAllFaceForUser()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 661 public boolean hasEnrolledTemplates() { in hasEnrolledTemplates() method in FaceManager 662 return hasEnrolledTemplates(UserHandle.myUserId()); in hasEnrolledTemplates() 671 public boolean hasEnrolledTemplates(int userId) { in hasEnrolledTemplates() method in FaceManager
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 956 public boolean hasEnrolledTemplates() { in hasEnrolledTemplates() method in FingerprintManager 963 public boolean hasEnrolledTemplates(int userId) { in hasEnrolledTemplates() method in FingerprintManager
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
D | TrustManagerServiceTest.java | 763 when(mFingerprintManager.hasEnrolledTemplates(TEST_USER_ID)).thenReturn(enrolled); in setupFingerprint() 776 when(mFaceManager.hasEnrolledTemplates(TEST_USER_ID)).thenReturn(enrolled); in setupFace()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 341 when(mFaceManager.hasEnrolledTemplates(userId)).thenReturn(true); in mockBiometricsHardwareFingerprintsAndTemplates()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 1704 && mFingerprintManager.hasEnrolledTemplates(userId) in isWeakUnlockMethodEnabled() 1713 && mFaceManager.hasEnrolledTemplates(userId) in isWeakUnlockMethodEnabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 401 when(mFingerprintManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setupFingerprintAuth()
|