Home
last modified time | relevance | path

Searched refs:BIOMETRIC_WEAK (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java44 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
58 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
77 assertEquals(Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK, in testCombineAuthenticatorBundles_withKeyDeviceCredential_andNoKeyAuthenticators()
88 assertEquals(Authenticators.BIOMETRIC_WEAK, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andNoKeyAuthenticators()
99 authenticators |= Authenticators.BIOMETRIC_WEAK; in testIsDeviceCredentialAllowed_withIntegerFlags()
116 authenticators |= Authenticators.BIOMETRIC_WEAK; in testIsDeviceCredentialAllowed_withBundle()
127 assertEquals(Authenticators.BIOMETRIC_WEAK, in testGetBiometricStrength_removeUnrelatedBits()
132 assertEquals(Authenticators.BIOMETRIC_WEAK, Utils.getPublicBiometricStrength(promptInfo)); in testGetBiometricStrength_removeUnrelatedBits()
160 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.BIOMETRIC_WEAK)); in testIsValidAuthenticatorConfig()
168 | Authenticators.BIOMETRIC_WEAK)); in testIsValidAuthenticatorConfig()
[all …]
DBiometricServiceTest.java316 setupAuthForOnly(BiometricAuthenticator.TYPE_FINGERPRINT, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
338 Authenticators.BIOMETRIC_WEAK, in testAuthenticate_picksStrongIfAvailable()
446 setupAuthForOnly(BiometricAuthenticator.TYPE_FINGERPRINT, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithoutConfirmation_weakBiometric()
532 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK); in testAuthenticate_noBiometrics_credentialAllowed()
559 setupAuthForOnly(BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithConfirmation_weakBiometric()
784 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK); in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
897 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
911 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
930 assertEquals(Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK, in testCombineAuthenticatorBundles_withKeyDeviceCredential_andNoKeyAuthenticators()
941 assertEquals(Authenticators.BIOMETRIC_WEAK, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andNoKeyAuthenticators()
[all …]
DInvalidationTrackerTest.java81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.java86 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testActionAuthenticated_sendsDismissedAuthenticated()
97 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testActionUserCanceled_sendsDismissedUserCanceled()
110 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testActionButtonNegative_sendsDismissedButtonNegative()
121 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testActionTryAgain_sendsTryAgain()
130 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testActionError_sendsDismissedError()
142 Authenticators.BIOMETRIC_WEAK | Authenticators.DEVICE_CREDENTIAL); in testActionUseDeviceCredential_sendsOnDeviceCredentialPressed()
157 Authenticators.BIOMETRIC_WEAK | Authenticators.DEVICE_CREDENTIAL); in testAnimateToCredentialUI_invokesStartTransitionToCredentialUI()
166 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testShowBiometricUI()
215 initializeContainer(Authenticators.BIOMETRIC_WEAK); in testOnDialogAnimatedIn_sendsCancelReason_whenPendingDismiss()
DAuthBiometricViewTest.java360 int authenticators = Authenticators.BIOMETRIC_WEAK; in buildPromptInfo()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java107 ? Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK in combineAuthenticatorBundles()
108 : Authenticators.BIOMETRIC_WEAK; in combineAuthenticatorBundles()
139 return authenticators & Authenticators.BIOMETRIC_WEAK; in getPublicBiometricStrength()
240 } else if (biometricBits == Authenticators.BIOMETRIC_WEAK) { in isValidAuthenticatorConfig()
522 case BiometricManager.Authenticators.BIOMETRIC_WEAK: in authenticatorStrengthToPropertyStrength()
537 return Authenticators.BIOMETRIC_WEAK; in propertyStrengthToAuthenticatorStrength()
DBiometricService.java788 && strength != Authenticators.BIOMETRIC_WEAK in registerAuthenticator()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java137 BIOMETRIC_WEAK,
181 int BIOMETRIC_WEAK = 0x00FF; field
422 Authenticators.BIOMETRIC_WEAK); in canAuthenticate()
DBiometricPrompt.java946 final int biometricStrength = authenticators & Authenticators.BIOMETRIC_WEAK; in authenticate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUtils.java81 return (authenticators & Authenticators.BIOMETRIC_WEAK) != 0; in isBiometricAllowed()
/frameworks/base/core/api/
Dcurrent.txt17771 field public static final int BIOMETRIC_WEAK = 255; // 0xff