Home
last modified time | relevance | path

Searched refs:faceManager (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt81 @Mock private lateinit var faceManager: FaceManager variable in com.android.systemui.biometrics.data.repository.FacePropertyRepositoryImplTest
98 underTest = createRepository(faceManager) in setup()
101 private fun createRepository(manager: FaceManager? = faceManager) = in createRepository()
126 verify(faceManager).addAuthenticatorsRegisteredCallback(callback.capture()) in providesTheValuePassedToTheAuthenticatorsRegisteredCallback()
152 verify(faceManager).addAuthenticatorsRegisteredCallback(callback.capture()) in providesTheLockoutModeFromFaceManager()
158 whenever(faceManager.getLockoutModeForUser(sensorId, userId)) in providesTheLockoutModeFromFaceManager()
162 whenever(faceManager.getLockoutModeForUser(sensorId, userId)) in providesTheLockoutModeFromFaceManager()
166 whenever(faceManager.getLockoutModeForUser(sensorId, userId)) in providesTheLockoutModeFromFaceManager()
177 verify(faceManager).addAuthenticatorsRegisteredCallback(callback.capture()) in providesTheSensorLocationOfOuterCameraFromOnPhysicalCameraAvailable()
200 verify(faceManager).addAuthenticatorsRegisteredCallback(callback.capture()) in providesTheSensorLocationOfInnerCameraFromOnPhysicalCameraAvailable()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt124 @Mock private lateinit var faceManager: FaceManager variable in com.android.systemui.deviceentry.data.repository.DeviceEntryFaceAuthRepositoryTest
183 whenever(faceManager.sensorPropertiesInternal) in setup()
186 underTest = createDeviceEntryFaceAuthRepositoryImpl(faceManager, bypassController) in setup()
194 fmOverride: FaceManager? = faceManager, in createDeviceEntryFaceAuthRepositoryImpl()
285 clearInvocations(faceManager) in faceAuthDoesNotRunWhileItIsAlreadyRunning()
289 verifyNoMoreInteractions(faceManager) in faceAuthDoesNotRunWhileItIsAlreadyRunning()
298 verify(faceManager).addLockoutResetCallback(faceLockoutResetCallback.capture()) in faceLockoutStatusIsPropagated()
323 whenever(faceManager.sensorPropertiesInternal).thenReturn(listOf()) in faceDetectionSupportIsTheCorrectValue()
326 whenever(faceManager.sensorPropertiesInternal) in faceDetectionSupportIsTheCorrectValue()
330 whenever(faceManager.sensorPropertiesInternal) in faceDetectionSupportIsTheCorrectValue()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DBiometricDeferredQueue.java85 @NonNull FaceManager faceManager; field in BiometricDeferredQueue.FaceResetLockoutTask
92 @NonNull FaceManager faceManager, in FaceResetLockoutTask() argument
97 this.faceManager = faceManager; in FaceResetLockoutTask()
117 faceManager.resetLockout(sensorId, userAuthInfo.userId, hat); in onGenerateChallengeResult()
122 faceManager.revokeChallenge(sensorId, userId, challenge); in onGenerateChallengeResult()
147 @Nullable FaceManager faceManager, @Nullable BiometricManager biometricManager) { in systemReady() argument
149 mFaceManager = faceManager; in systemReady()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepository.kt148 private val faceManager: FaceManager? = null, constant
193 faceManager?.sensorPropertiesInternal?.firstOrNull()?.supportsFaceDetection ?: false
240 faceManager?.addLockoutResetCallback(faceLockoutResetCallback) in <lambda>()
313 faceManager?.scheduleWatchdog() in listenForSchedulingWatchdog()
608 faceManager?.authenticate( in authenticate()
644 faceAuthLogger.detectionNotSupported(faceManager, faceManager?.sensorPropertiesInternal) in detect()
657 faceManager?.detectFace( in detect()
719 pw.println(" faceManager: $faceManager") in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFaceAuthModule.kt58 faceManager: FaceManager?, in deviceEntryFaceAuthRepository()
63 return if (faceManager != null) { in deviceEntryFaceAuthRepository()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepository.kt99 private val faceManager: FaceManager?, constant
124 faceManager?.addAuthenticatorsRegisteredCallback(callback) in <lambda>()
273 if (sensorInfo.value == null || faceManager == null) { in getLockoutMode()
276 return faceManager.getLockoutModeForUser(sensorInfo.value!!.id, userId).toLockoutMode() in getLockoutMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java57 FaceManager faceManager, PackageManager packageManager) { in MockLockSettingsContext() argument
68 mFaceManager = faceManager; in MockLockSettingsContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationDialogFactory.java55 @Nullable FaceManager faceManager) { in BiometricNotificationDialogFactory() argument
59 mFaceManager = faceManager; in BiometricNotificationDialogFactory()
DBiometricNotificationService.java155 @Nullable FaceManager faceManager) { in BiometricNotificationService() argument
165 mFaceManager = faceManager; in BiometricNotificationService()
DAuthController.java727 @Nullable FaceManager faceManager, in AuthController() argument
753 mFaceManager = faceManager; in AuthController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DFaceAuthenticationLogger.kt62 faceManager: FaceManager?, in detectionNotSupported()
69 bool1 = faceManager == null in detectionNotSupported()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapter.java329 FaceManager faceManager = mContext.getSystemService(FaceManager.class); in getFaceId() local
330 List<Face> faces = faceManager.getEnrolledFaces(mUserId); in getFaceId()
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java1404 FaceManager faceManager = null; in collectBiometricProperties() local
1409 faceManager = mContext.getSystemService(FaceManager.class); in collectBiometricProperties()
1436 if (faceManager != null) { in collectBiometricProperties()
1439 faceManager.addAuthenticatorsRegisteredCallback( in collectBiometricProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java337 @Nullable FaceManager faceManager, @Nullable FingerprintManager fingerprintManager) { in providesBiometricManager() argument
338 return faceManager == null && fingerprintManager == null ? null : in providesBiometricManager()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3076 FaceManager faceManager = null;
3082 faceManager = mContext.getSystemService(FaceManager.class);
3088 if (modality == BiometricsProtoEnums.MODALITY_FACE && faceManager == null) {
3104 numEnrolled = faceManager.getEnrolledFaces(userId).size();