Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DBiometricDeferredQueue.java51 @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()
DLockSettingsService.java3109 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/
DKeyguardUpdateMonitorTest.java142 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/
DMockLockSettingsContext.java45 private FaceManager mFaceManager; field in MockLockSettingsContext
61 mFaceManager = faceManager; in MockLockSettingsContext()
82 return mFaceManager; in getSystemService()
DBaseLockSettingsServiceTests.java107 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()
DLockSettingsServiceTests.java343 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/
DAuthController.java91 @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/
DKeyguardUpdateMonitor.java1521 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/
DAuthControllerTest.java108 private FaceManager mFaceManager; field in AuthControllerTest
162 mActivityTaskManager, mWindowManager, mFingerprintManager, mFaceManager, in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java164 private FaceManager mFaceManager; field in BubblesTest
257 mContext.addMockSystemService(FaceManager.class, mFaceManager); in setUp()