Home
last modified time | relevance | path

Searched refs:TYPE_FACE (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java64 int TYPE_FACE = 1 << 3; field
69 int TYPE_ANY_BIOMETRIC = TYPE_FINGERPRINT | TYPE_IRIS | TYPE_FACE;
76 TYPE_FACE
DParentalControlsUtilsInternal.java89 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java20 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 …]
DInvalidationTrackerTest.java75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
DPreAuthInfoTest.java20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
206 BiometricSensor sensor = new BiometricSensor(mContext, SENSOR_ID_FACE, TYPE_FACE, in getFaceSensor()
DAuthSessionTest.java19 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()
DUtilsTest.java261 assertTrue(Utils.isConfirmationSupported(BiometricAuthenticator.TYPE_FACE)); in testConfirmationSupported()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceServiceRegistry.java19 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/
DPreAuthInfo.java20 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()
DAuthService.java567 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()
DAuthSession.java19 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()
DBiometricService.java20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
384 case TYPE_FACE: in getConfirmationAlwaysRequired()
1386 final boolean hasEligibleFaceSensor = (eligible & TYPE_FACE) == TYPE_FACE;
DUtils.java377 case BiometricAuthenticator.TYPE_FACE: in isConfirmationSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
DFaceServiceTest.java157 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()
DFaceServiceRegistryTest.java19 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/
DBiometricModality.kt33 BiometricAuthenticator.TYPE_FACE -> BiometricModality.Face in asBiometricModality()
/frameworks/base/core/java/android/hardware/face/
DFaceSensorConfigurations.java19 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/
DAuthControllerTest.java486 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/
DAuthController.java19 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()
DAuthContainerView.java19 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/
DClientMonitorCallbackConverter.java73 return BiometricAuthenticator.TYPE_FACE; in getModality()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java17 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/
DOperationContextExtTest.java186 BiometricAuthenticator.TYPE_FACE); in hasFaceOperationState()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DOperationContextExt.java72 } else if (modality == BiometricAuthenticator.TYPE_FACE) { in OperationContextExt()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt577 container.onAuthenticationFailed(BiometricAuthenticator.TYPE_FACE, "failed") in <lambda>()

12