/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | BiometricDeferredQueue.java | 51 @Nullable private FaceManager mFaceManager; field in BiometricDeferredQueue 146 mFaceManager = faceManager; in systemReady() 162 if (mFaceManager != null && mFaceManager.hasEnrolledTemplates(userId)) { in addPendingLockoutResetForUser() 222 if (mFaceManager != null) { in processPendingLockoutsForFace() 229 mFaceManager.getSensorPropertiesInternal(); in processPendingLockoutsForFace() 235 mFaceResetLockoutTask = new FaceResetLockoutTask(mFaceFinishCallback, mFaceManager, in processPendingLockoutsForFace() 243 mFaceManager.generateChallenge(prop.sensorId, user.userId, in processPendingLockoutsForFace() 251 mFaceManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFace()
|
D | LockSettingsService.java | 3109 FaceManager mFaceManager = mInjector.getFaceManager(); in removeAllFaceForUser() local 3110 if (mFaceManager != null && mFaceManager.isHardwareDetected()) { in removeAllFaceForUser() 3111 if (mFaceManager.hasEnrolledTemplates(userId)) { in removeAllFaceForUser() 3113 mFaceManager.removeAll(userId, faceManagerRemovalCallback(latch)); in removeAllFaceForUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 142 private FaceManager mFaceManager; field in KeyguardUpdateMonitorTest 196 when(mFaceManager.isHardwareDetected()).thenReturn(true); in setup() 197 when(mFaceManager.hasEnrolledTemplates()).thenReturn(true); in setup() 198 when(mFaceManager.hasEnrolledTemplates(anyInt())).thenReturn(true); in setup() 199 when(mFaceManager.getSensorPropertiesInternal()).thenReturn(mFaceSensorProperties); in setup() 234 mSpiedContext.addMockSystemService(FaceManager.class, mFaceManager); in setup() 516 verify(mFaceManager).authenticate(any(), any(), any(), any(), anyInt(), anyBoolean()); in testTriesToAuthenticate_whenBouncer() 517 verify(mFaceManager).isHardwareDetected(); in testTriesToAuthenticate_whenBouncer() 518 verify(mFaceManager).hasEnrolledTemplates(anyInt()); in testTriesToAuthenticate_whenBouncer() 526 verify(mFaceManager).authenticate(any(), any(), any(), any(), anyInt(), anyBoolean()); in testTriesToAuthenticate_whenKeyguard() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 45 private FaceManager mFaceManager; field in MockLockSettingsContext 61 mFaceManager = faceManager; in MockLockSettingsContext() 82 return mFaceManager; in getSystemService()
|
D | BaseLockSettingsServiceTests.java | 107 FaceManager mFaceManager; field in BaseLockSettingsServiceTests 127 mFaceManager = mock(FaceManager.class); in setUp_baseServices() 140 mFaceManager, mPackageManager); in setUp_baseServices() 272 when(mFaceManager.isHardwareDetected()).thenReturn(true); in mockBiometricsHardwareFingerprintsAndTemplates() 273 when(mFaceManager.hasEnrolledTemplates(userId)).thenReturn(true); in mockBiometricsHardwareFingerprintsAndTemplates() 282 }).when(mFaceManager).removeAll(eq(userId), any()); in mockBiometricsHardwareFingerprintsAndTemplates()
|
D | LockSettingsServiceTests.java | 343 verify(mFaceManager).removeAll(eq(PRIMARY_USER_ID), any()); in testSetLockCredential_nullCredential_removeBiometrics() 346 verify(mFaceManager).removeAll(eq(MANAGED_PROFILE_USER_ID), any()); in testSetLockCredential_nullCredential_removeBiometrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 91 @Nullable private final FaceManager mFaceManager; field in AuthController 435 mFaceManager = faceManager; in AuthController() 447 mFaceProps = mFaceManager != null ? mFaceManager.getSensorPropertiesInternal() : null; in AuthController() 662 return mFaceManager.hasEnrolledTemplates(userId); in isFaceAuthEnrolled()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 1521 private FaceManager mFaceManager; field in KeyguardUpdateMonitor 1990 mFaceManager = (FaceManager) context.getSystemService(Context.FACE_SERVICE); in KeyguardUpdateMonitor() 1991 mFaceSensorProperties = mFaceManager.getSensorPropertiesInternal(); in KeyguardUpdateMonitor() 1994 if (mFpm != null || mFaceManager != null) { in KeyguardUpdateMonitor() 2003 if (mFaceManager != null) { in KeyguardUpdateMonitor() 2004 mFaceManager.addLockoutResetCallback(mFaceLockoutResetCallback); in KeyguardUpdateMonitor() 2072 () -> mFaceManager != null && mFaceManager.isHardwareDetected() in updateFaceEnrolled() 2073 && mFaceManager.hasEnrolledTemplates(userId) in updateFaceEnrolled() 2303 if (mFaceManager == null) { in shouldListenForFace() 2473 mFaceManager.detectFace(mFaceCancelSignal, mFaceDetectionCallback, userId); in startListeningForFace() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthControllerTest.java | 108 private FaceManager mFaceManager; field in AuthControllerTest 162 mActivityTaskManager, mWindowManager, mFingerprintManager, mFaceManager, in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | BubblesTest.java | 164 private FaceManager mFaceManager; field in BubblesTest 257 mContext.addMockSystemService(FaceManager.class, mFaceManager); in setUp()
|