Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricFaceToFingerprintView.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
99 @Modality private int mActiveSensorType = TYPE_FACE;
165 if (mActiveSensorType == TYPE_FACE) { in checkErrorForFallback()
178 if (mActiveSensorType == TYPE_FACE) { in getStateForAfterError()
187 if (mActiveSensorType == TYPE_FACE) { in updateState()
196 mModalityListener.onModalitySwitched(TYPE_FACE, mActiveSensorType); in updateState()
240 mActiveSensorType = savedState.getInt(AuthDialog.KEY_BIOMETRIC_SENSOR_TYPE, TYPE_FACE); in restoreState()
H A DAuthController.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
647 case TYPE_FACE: in getErrorString()
/aosp12/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricAuthenticator.java64 int TYPE_FACE = 1 << 3; field
69 int TYPE_ANY_BIOMETRIC = TYPE_FINGERPRINT | TYPE_IRIS | TYPE_FACE;
76 TYPE_FACE
H A DParentalControlsUtilsInternal.java77 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthBiometricFaceToFingerprintViewTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
152 assertEquals(TYPE_FACE, oldModality); in testStateUpdated_whenSwitchToFingerprint_invokesCallbacks()
173 mFaceToFpView.onAuthenticationFailed(TYPE_FACE, "no face"); in testModeUpdated_onSoftError_whenSwitchToFingerprint()
190 mFaceToFpView.onError(TYPE_FACE, "oh no!"); in testModeUpdated_onHardError_whenSwitchToFingerprint()
215 mFaceToFpView.onError(TYPE_FACE, "oh no!"); in testFingerprintOnlyStartsOnFirstError()
216 mFaceToFpView.onAuthenticationFailed(TYPE_FACE, "no face"); in testFingerprintOnlyStartsOnFirstError()
H A DAuthControllerTest.java351 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnAuthenticationFailedInvoked_whenBiometricTimedOut()
383 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnErrorInvoked_whenSystemRequested()
405 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockout_whenCredentialAllowed_AnimatesToCredentialUI()
418 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockoutPermanent_whenCredentialAllowed_AnimatesToCredentialUI()
426 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockout_whenCredentialNotAllowed_sendsOnError()
441 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
H A DAuthBiometricViewTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
207 mBiometricView.onError(TYPE_FACE, testError); in testError_sendsActionError()
289 mBiometricView.onAuthenticationFailed(TYPE_FACE, failureMessage); in testRestoresState()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DBiometricServiceTest.java176 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenPaused()
203 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenAuthenticating()
337 BiometricAuthenticator.TYPE_FACE, in testAuthenticate_picksStrongIfAvailable()
393 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFace_respectsUserSetting()
566 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithConfirmation_weakBiometric()
663 eq(BiometricAuthenticator.TYPE_FACE), in testRequestAuthentication_whenAlreadyAuthenticating()
686 eq(BiometricAuthenticator.TYPE_FACE), in testErrorHalTimeout_whenAuthenticating_entersPausedState()
741 eq(BiometricAuthenticator.TYPE_FACE), in testErrorFromHal_whenPaused_notifiesSystemUIAndClient()
1102 eq(BiometricAuthenticator.TYPE_FACE), in testDismissedReasonUserCancel_whenPendingConfirmation()
1579 if ((modality & BiometricAuthenticator.TYPE_FACE) != 0) { in setupAuthForOnly()
[all …]
H A DInvalidationTrackerTest.java75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
H A DAuthSessionTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
182 if (sensor.modality == TYPE_FACE) { in testStartNewAuthSession()
460 TYPE_FACE /* modality */, in setupFace()
H A DUtilsTest.java261 assertTrue(Utils.isConfirmationSupported(BiometricAuthenticator.TYPE_FACE)); in testConfirmationSupported()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/
H A DPreAuthInfo.java20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
195 if (sensorPrivacyManager != null && sensor.modality == TYPE_FACE) { in getStatusForBiometricAuthenticator()
259 case TYPE_FACE: in mapModalityToDevicePolicyType()
329 } else if (modality == TYPE_FACE && cameraPrivacyEnabled) { in getInternalStatus()
355 if (modality == TYPE_FACE && cameraPrivacyEnabled) { in getInternalStatus()
H A DAuthService.java27 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
434 case BiometricAuthenticator.TYPE_FACE: in getButtonLabel()
492 case BiometricAuthenticator.TYPE_FACE: in getPromptMessage()
553 case BiometricAuthenticator.TYPE_FACE: in getSettingName()
569 } else if (biometricModality == BiometricAuthenticator.TYPE_FACE) { in getSettingName()
666 case TYPE_FACE: in registerAuthenticators()
H A DAuthSession.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
848 if (sensor.modality == TYPE_FACE) { in hasPausableBiometric()
873 if ((sensor.modality & BiometricAuthenticator.TYPE_FACE) != 0) { in statsModality()
896 case BiometricAuthenticator.TYPE_FACE: in getAcquiredMessageForSensor()
909 if (sensor.modality == TYPE_FACE) { in getMultiSensorModeForNewSession()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardListenModel.kt5 import android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE
48 override val modality: Int = TYPE_FACE
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/face/
H A DFaceEnrollParentalConsent.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
80 result.putExtra(EXTRA_KEY_MODALITY, TYPE_FACE); in onConsentResult()
H A DFaceStatusPreferenceController.java98 mContext, BiometricAuthenticator.TYPE_FACE)); in updateStateInternal()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
H A DParentalControlsUtilsTest.java32 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
87 {TYPE_FACE, DevicePolicyManager.KEYGUARD_DISABLE_FACE}, in testEnforcedAdmin_whenDpmDisablesBiometricsAndSupervisionComponentExists()
H A DParentalConsentHelperTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
217 return TYPE_FACE; in getStartedModality()
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/
H A DParentalConsentHelper.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
104 case TYPE_FACE: in launchNext()
H A DBiometricEnrollActivity.java255 BiometricAuthenticator.TYPE_FACE | BiometricAuthenticator.TYPE_FINGERPRINT) in onCreate()
349 .parentConsentRequired(this, BiometricAuthenticator.TYPE_FACE) != null;
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockPassword.java350 public static final int TYPE_FACE = 2; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
381 } else if (type == TYPE_FACE) { in getHint()
391 } else if (type == TYPE_FACE) { in getHint()
404 case TYPE_FACE: in getMessage()
596 return Stage.TYPE_FACE; in getStageType()
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/combination/
H A DCombinedBiometricStatusPreferenceController.java109 .parentConsentRequired(mContext, BiometricAuthenticator.TYPE_FACE); in updateStateInternal()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DCommandQueueTest.java17 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
458 final int modality = TYPE_FACE; in testOnBiometricHelp()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
H A DFaceService.java22 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
687 biometricService.registerAuthenticator(sensorId, TYPE_FACE, strength, in registerAuthenticators()

12