/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricFaceToFingerprintView.java | 19 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()
|
D | AuthController.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 574 case TYPE_FACE: in getErrorString()
|
/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 | 77 } else if (containsFlag(modality, BiometricAuthenticator.TYPE_FACE) && dpmFaceDisabled) { in parentConsentRequired()
|
D | BiometricPrompt.java | 482 case TYPE_FACE:
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthBiometricFaceToFingerprintViewTest.java | 19 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()
|
D | AuthControllerTest.java | 282 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()
|
D | AuthBiometricViewTest.java | 19 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/ |
D | KeyguardListenModel.kt | 5 import android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE 49 override val modality: Int = TYPE_FACE
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 173 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 …]
|
D | InvalidationTrackerTest.java | 75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated() 81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
|
D | AuthSessionTest.java | 19 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 178 if (sensor.modality == TYPE_FACE) { in testStartNewAuthSession() 366 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/ |
D | AuthService.java | 27 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()
|
D | AuthSession.java | 19 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()
|
D | PreAuthInfo.java | 20 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 230 case TYPE_FACE: in mapModalityToDevicePolicyType()
|
D | Utils.java | 353 case BiometricAuthenticator.TYPE_FACE: in isConfirmationSupported()
|
D | BiometricService.java | 495 case BiometricAuthenticator.TYPE_FACE: in getConfirmationAlwaysRequired()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 17 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/ |
D | FaceService.java | 22 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_FACE; 684 biometricService.registerAuthenticator(sensorId, TYPE_FACE, strength, in registerAuthenticators()
|