Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
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()
DAuthController.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
574 case TYPE_FACE: in getErrorString()
/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.java77 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
DBiometricPrompt.java482 case TYPE_FACE:
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFaceToFingerprintViewTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
150 assertEquals(TYPE_FACE, oldModality); in testStateUpdated_whenSwitchToFingerprint_invokesCallbacks()
170 mFaceToFpView.onAuthenticationFailed(TYPE_FACE, "no face"); in testModeUpdated_onSoftError_whenSwitchToFingerprint()
186 mFaceToFpView.onError(TYPE_FACE, "oh no!"); in testModeUpdated_onHardError_whenSwitchToFingerprint()
211 mFaceToFpView.onError(TYPE_FACE, "oh no!"); in testFingerprintOnlyStartsOnFirstError()
212 mFaceToFpView.onAuthenticationFailed(TYPE_FACE, "no face"); in testFingerprintOnlyStartsOnFirstError()
DAuthControllerTest.java282 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnAuthenticationFailedInvoked_whenBiometricTimedOut()
314 final int modality = BiometricAuthenticator.TYPE_FACE; in testOnErrorInvoked_whenSystemRequested()
336 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockout_whenCredentialAllowed_AnimatesToCredentialUI()
349 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_FACE, error, vendorCode); in testErrorLockoutPermanent_whenCredentialAllowed_AnimatesToCredentialUI()
357 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockout_whenCredentialNotAllowed_sendsOnError()
372 final int modality = BiometricAuthenticator.TYPE_FACE; in testErrorLockoutPermanent_whenCredentialNotAllowed_sendsOnError()
DAuthBiometricViewTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
205 mBiometricView.onError(TYPE_FACE, testError); in testError_sendsActionError()
287 mBiometricView.onAuthenticationFailed(TYPE_FACE, failureMessage); in testRestoresState()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardListenModel.kt5 import android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE
49 override val modality: Int = TYPE_FACE
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java173 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenPaused()
200 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenAuthenticating()
334 BiometricAuthenticator.TYPE_FACE, in testAuthenticate_picksStrongIfAvailable()
389 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFace_respectsUserSetting()
527 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_noBiometrics_credentialAllowed()
553 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_happyPathWithConfirmation_strongBiometric()
559 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithConfirmation_weakBiometric()
595 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_no_Biometrics_noCredential()
612 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testRejectFace_whenAuthenticating_notifiesSystemUIAndClient_thenPaused()
647 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testRequestAuthentication_whenAlreadyAuthenticating()
[all …]
DInvalidationTrackerTest.java75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
DAuthSessionTest.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
178 if (sensor.modality == TYPE_FACE) { in testStartNewAuthSession()
366 TYPE_FACE /* modality */, in setupFace()
DUtilsTest.java261 assertTrue(Utils.isConfirmationSupported(BiometricAuthenticator.TYPE_FACE)); in testConfirmationSupported()
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java27 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
433 case BiometricAuthenticator.TYPE_FACE: in getButtonLabel()
491 case BiometricAuthenticator.TYPE_FACE: in getPromptMessage()
552 case BiometricAuthenticator.TYPE_FACE: in getSettingName()
568 } else if (biometricModality == BiometricAuthenticator.TYPE_FACE) { in getSettingName()
665 case TYPE_FACE: in registerAuthenticators()
DAuthSession.java19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
831 if (sensor.modality == TYPE_FACE) { in hasPausableBiometric()
852 if ((sensor.modality & BiometricAuthenticator.TYPE_FACE) != 0) { in statsModality()
875 case BiometricAuthenticator.TYPE_FACE: in getAcquiredMessageForSensor()
888 if (sensor.modality == TYPE_FACE) { in getMultiSensorModeForNewSession()
DPreAuthInfo.java20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
230 case TYPE_FACE: in mapModalityToDevicePolicyType()
DUtils.java353 case BiometricAuthenticator.TYPE_FACE: in isConfirmationSupported()
DBiometricService.java495 case BiometricAuthenticator.TYPE_FACE: in getConfirmationAlwaysRequired()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java17 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
448 final int modality = TYPE_FACE; in testOnBiometricHelp()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceService.java22 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE;
684 biometricService.registerAuthenticator(sensorId, TYPE_FACE, strength, in registerAuthenticators()