/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricAuthenticator.java | 64 int TYPE_FACE = 1 << 3; field 69 int TYPE_ANY_BIOMETRIC = TYPE_FINGERPRINT | TYPE_IRIS | TYPE_FACE; 76 TYPE_FACE
|
D | ParentalControlsUtilsInternal.java | 89 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 261 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenPaused() 288 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenAuthenticating() 429 TYPE_FACE, in testAuthenticate_picksStrongIfAvailable() 484 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFace_shouldShowSubtitleForFace() 524 TYPE_FACE, in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle() 545 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFace_respectsUserSetting() 689 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_noBiometrics_credentialAllowed() 717 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_happyPathWithConfirmation_strongBiometric() 723 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithConfirmation_weakBiometric() [all …]
|
D | InvalidationTrackerTest.java | 75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated() 81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
|
D | PreAuthInfoTest.java | 20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 206 BiometricSensor sensor = new BiometricSensor(mContext, SENSOR_ID_FACE, TYPE_FACE, in getFaceSensor()
|
D | AuthSessionTest.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 224 if (sensor.modality == TYPE_FACE) { in testStartNewAuthSession() 698 verify(mStatusBarService).onBiometricAuthenticated(TYPE_FACE); in onAuthReceivedWhileWaitingForConfirmation_SFPS() 915 TYPE_FACE /* modality */, in setupFace()
|
D | UtilsTest.java | 261 assertTrue(Utils.isConfirmationSupported(BiometricAuthenticator.TYPE_FACE)); in testConfirmationSupported()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/ |
D | FaceServiceRegistry.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 59 service.registerAuthenticator(props.sensorId, TYPE_FACE, strength, in registerService()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | PreAuthInfo.java | 20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 177 if (sensor.modality == TYPE_FACE && biometricCameraManager.isAnyCameraUnavailable()) { in getStatusForBiometricAuthenticator() 202 if (biometricCameraManager != null && sensor.modality == TYPE_FACE) { in getStatusForBiometricAuthenticator() 265 case TYPE_FACE: in mapModalityToDevicePolicyType() 335 } else if (modality == TYPE_FACE && cameraPrivacyEnabled) { in getInternalStatus() 361 if (modality == TYPE_FACE && cameraPrivacyEnabled) { in getInternalStatus()
|
D | AuthService.java | 567 case BiometricAuthenticator.TYPE_FACE: in getButtonLabel() 625 case BiometricAuthenticator.TYPE_FACE: in getPromptMessage() 686 case BiometricAuthenticator.TYPE_FACE: in getSettingName() 702 } else if (biometricModality == BiometricAuthenticator.TYPE_FACE) { in getSettingName() 928 modalities.add(String.valueOf(BiometricAuthenticator.TYPE_FACE)); in generateRSdkCompatibleConfiguration()
|
D | AuthSession.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 716 if (sensorIdToModality(sensorId) == TYPE_FACE && !isSensorCancelling) { in pauseSensorIfSupported() 987 if ((sensor.modality & BiometricAuthenticator.TYPE_FACE) != 0) { in statsModality() 1031 case BiometricAuthenticator.TYPE_FACE: in getAcquiredMessageForSensor()
|
D | BiometricService.java | 20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 384 case TYPE_FACE: in getConfirmationAlwaysRequired() 1386 final boolean hasEligibleFaceSensor = (eligible & TYPE_FACE) == TYPE_FACE;
|
D | Utils.java | 377 case BiometricAuthenticator.TYPE_FACE: in isConfirmationSupported()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/ |
D | FaceServiceTest.java | 157 eq(BiometricAuthenticator.TYPE_FACE), in registerAuthenticators_defaultOnly() 173 eq(BiometricAuthenticator.TYPE_FACE), in registerAuthenticatorsLegacy_virtualOnly() 188 eq(BiometricAuthenticator.TYPE_FACE), in registerAuthenticators_virtualFaceOnly() 202 eq(BiometricAuthenticator.TYPE_FACE), in registerAuthenticators_virtualAlwaysWhenNoOther()
|
D | FaceServiceRegistryTest.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 110 mIdCaptor.capture(), eq(TYPE_FACE), mStrengthCaptor.capture(), any()); in registersAllProviders()
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/ |
D | BiometricModality.kt | 33 BiometricAuthenticator.TYPE_FACE -> BiometricModality.Face in asBiometricModality()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceSensorConfigurations.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 98 if (hidlFaceSensorConfig.getModality() == TYPE_FACE) { in addHidlConfigs()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | AuthControllerTest.java | 486 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnAuthenticationFailedInvoked_whenBiometricReEnrollRequired() 512 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnAuthenticationFailedInvoked_coex_whenFaceAuthRejected() 551 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnAuthenticationFailedInvoked_whenBiometricTimedOut() 579 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnErrorInvoked_whenSystemRequested() 599 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockout_whenCredentialAllowed_AnimatesToCredentialUI() 612 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockoutPermanent_whenCredentialAllowed_AnimatesToCredentialUI() 620 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockout_whenCredentialNotAllowed_sendsOnError() 635 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 344 TYPE_FACE, userId, sensorId, hasEnrollments)); in handleAllFaceAuthenticatorsRegistered() 349 cb.onAllAuthenticatorsRegistered(TYPE_FACE); in handleAllFaceAuthenticatorsRegistered() 1034 messageRes = modality == TYPE_FACE in getNotRecognizedString() 1045 case TYPE_FACE: in getErrorString()
|
D | AuthContainerView.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 837 if (mFailedModalities.contains(TYPE_FACE)) { 839 mFailedModalities.remove(TYPE_FACE);
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | ClientMonitorCallbackConverter.java | 73 return BiometricAuthenticator.TYPE_FACE; in getModality()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 17 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 504 final int modality = TYPE_FACE; in testOnBiometricHelp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | OperationContextExtTest.java | 186 BiometricAuthenticator.TYPE_FACE); in hasFaceOperationState()
|
/frameworks/base/services/core/java/com/android/server/biometrics/log/ |
D | OperationContextExt.java | 72 } else if (modality == BiometricAuthenticator.TYPE_FACE) { in OperationContextExt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthContainerViewTest.kt | 577 container.onAuthenticationFailed(BiometricAuthenticator.TYPE_FACE, "failed") in <lambda>()
|