Home
last modified time | relevance | path

Searched refs:BIOMETRIC_STRONG (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DMultiBiometricLockoutStateTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
52 lockoutState.clearPermanentLockOut(userId, BIOMETRIC_STRONG); in unlockAllBiometrics()
53 assertThat(lockoutState.getLockoutState(userId, BIOMETRIC_STRONG)).isEqualTo( in unlockAllBiometrics()
62 lockoutState.setPermanentLockOut(userId, BIOMETRIC_STRONG); in lockoutAllBiometrics()
63 assertThat(lockoutState.getLockoutState(userId, BIOMETRIC_STRONG)).isEqualTo( in lockoutAllBiometrics()
125 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_STRONG); in testStrongLockout()
162 mLockoutState.clearPermanentLockOut(PRIMARY_USER, BIOMETRIC_STRONG); in testStrongUnlock()
180 assertThat(lockoutState.getLockoutState(userOne, BIOMETRIC_STRONG)).isEqualTo( in multiUser_userOneDoesNotAffectUserTwo()
204 mLockoutState.setTimedLockout(PRIMARY_USER, BIOMETRIC_STRONG); in testTimedLockout()
223 mLockoutState.setTimedLockout(PRIMARY_USER, BIOMETRIC_STRONG); in testTimedLockoutAfterDuration()
[all …]
H A DAuthSessionCoordinatorTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
58 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testUserUnlockedWithWeak()
65 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testUserUnlockedWithWeak()
76 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testUserUnlockedWithWeak()
84 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testUserLocked()
93 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testUserLocked()
111 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testWeakAndConvenientCannotResetLockout()
139 mCoordinator.resetLockoutFor(PRIMARY_USER, BIOMETRIC_STRONG, 0 /* requestId */); in testUserLockedDuringLockoutOfSameSession()
164 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testMultiUserAuth()
168 mCoordinator.lockedOutFor(SECONDARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testMultiUserAuth()
[all …]
H A DAuthResultCoordinatorTest.java45 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testDefaultMessage()
60 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testSingleMessageCoordinator()
75 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testConvenientLockout()
90 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testConvenientLockoutTimed()
105 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testConvenientUnlock()
120 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testWeakLockout()
161 BiometricManager.Authenticators.BIOMETRIC_STRONG); in testStrongLockout()
176 BiometricManager.Authenticators.BIOMETRIC_STRONG); in testStrongLockoutTimed()
191 BiometricManager.Authenticators.BIOMETRIC_STRONG); in testStrongUnlock()
226 BiometricManager.Authenticators.BIOMETRIC_STRONG); in testLockoutAndAuth()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DMultiBiometricLockoutState.java21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
52 lockOutMap.put(BIOMETRIC_STRONG, in createUnlockedMap()
53 new AuthenticatorState(BIOMETRIC_STRONG, false, false)); in createUnlockedMap()
71 case Authenticators.BIOMETRIC_STRONG: in setPermanentLockOut()
72 authMap.get(BIOMETRIC_STRONG).mPermanentlyLockedOut = true; in setPermanentLockOut()
88 case Authenticators.BIOMETRIC_STRONG: in clearPermanentLockOut()
89 authMap.get(BIOMETRIC_STRONG).mPermanentlyLockedOut = false; in clearPermanentLockOut()
105 case Authenticators.BIOMETRIC_STRONG: in setTimedLockout()
106 authMap.get(BIOMETRIC_STRONG).mTimedLockout = true; in setTimedLockout()
122 case Authenticators.BIOMETRIC_STRONG: in clearTimedLockout()
[all …]
H A DAuthResultCoordinator.java56 mAuthenticatorState.put(Authenticators.BIOMETRIC_STRONG, AUTHENTICATOR_DEFAULT); in AuthResultCoordinator()
63 case Authenticators.BIOMETRIC_STRONG: in updateState()
64 mAuthenticatorState.put(Authenticators.BIOMETRIC_STRONG, in updateState()
65 mapper.apply(mAuthenticatorState.get(Authenticators.BIOMETRIC_STRONG))); in updateState()
83 if (strength == Authenticators.BIOMETRIC_STRONG) { in authenticatedFor()
H A DAuthSessionCoordinator.java86 Authenticators.BIOMETRIC_WEAK, Authenticators.BIOMETRIC_STRONG)) { in endAuthSession()
184 if (biometricStrength == Authenticators.BIOMETRIC_STRONG) { in resetLockoutFor()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DBiometricServiceTest.java403 Authenticators.BIOMETRIC_STRONG, in testAuthenticate_picksStrongIfAvailable()
498 Authenticators.BIOMETRIC_STRONG, in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle()
1026 Authenticators.BIOMETRIC_STRONG, in testMultiBiometricAuth_whenLockout()
1027 Authenticators.BIOMETRIC_STRONG, in testMultiBiometricAuth_whenLockout()
1344 int authenticators = Authenticators.BIOMETRIC_STRONG; in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength()
1382 int authenticators = Authenticators.BIOMETRIC_STRONG; in testCanAuthenticate_whenNoBiometricsEnrolled()
1400 int authenticators = Authenticators.BIOMETRIC_STRONG; in testCanAuthenticate_whenBiometricsNotEnabledForApps()
1603 authenticators = Authenticators.BIOMETRIC_STRONG; in testWithDowngradedAuthenticator()
1667 Authenticators.BIOMETRIC_STRONG); in testWorkAuthentication_fingerprintWorksIfNotDisabledByDevicePolicyManager()
1695 Authenticators.BIOMETRIC_STRONG); in testWorkAuthentication_faceWorksIfNotDisabledByDevicePolicyManager()
[all …]
H A DPreAuthInfoTest.java91 BiometricManager.Authenticators.BIOMETRIC_STRONG, mFaceAuthenticator) { in testFaceAuthentication_whenCameraPrivacyIsEnabled()
104 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsEnabled()
118 BiometricManager.Authenticators.BIOMETRIC_STRONG, mFaceAuthenticator) { in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()
131 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()
145 BiometricManager.Authenticators.BIOMETRIC_STRONG, mFaceAuthenticator) { in testFaceAuthentication_whenCameraIsUnavailable()
158 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraIsUnavailable()
H A DUtilsTest.java158 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.BIOMETRIC_STRONG)); in testIsValidAuthenticatorConfig()
165 | Authenticators.BIOMETRIC_STRONG)); in testIsValidAuthenticatorConfig()
191 int sensorStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength()
195 requestedStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength()
199 requestedStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength()
208 sensorStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength()
H A DAuthSessionTest.java139 Authenticators.BIOMETRIC_STRONG, in testNewAuthSession_eligibleSensorsSetToStateUnknown()
161 Authenticators.BIOMETRIC_STRONG, in testStartNewAuthSession()
223 Authenticators.BIOMETRIC_STRONG, in testOnErrorReceived_lockoutError()
258 Authenticators.BIOMETRIC_STRONG, in testCancelReducesAppetiteForCookies()
319 Authenticators.BIOMETRIC_STRONG, in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
374 Authenticators.BIOMETRIC_STRONG, in testOnDialogAnimatedInDoesNothingDuringInvalidState()
428 Authenticators.BIOMETRIC_STRONG, in testCallbackOnAcquired()
454 Authenticators.BIOMETRIC_STRONG, in testLogOnDialogDismissed_authenticatedWithConfirmation()
482 Authenticators.BIOMETRIC_STRONG, in testLogOnDialogDismissed_authenticatedWithoutConfirmation()
505 Authenticators.BIOMETRIC_STRONG, in testLogOnDialogDismissed_error()
[all …]
H A DInvalidationTrackerTest.java63 BiometricAuthenticator.TYPE_FINGERPRINT, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
69 BiometricAuthenticator.TYPE_FINGERPRINT, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
75 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_STRONG, in testCallbackReceived_whenAllStrongSensorsInvalidated()
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricManager.java115 BIOMETRIC_STRONG,
150 int BIOMETRIC_STRONG = 0x000F; field
203 case Authenticators.BIOMETRIC_STRONG: in authenticatorToStr()
H A DBiometricPrompt.java1064 authenticators = Authenticators.BIOMETRIC_STRONG; in authenticate()
1067 if ((biometricStrength & ~Authenticators.BIOMETRIC_STRONG) != 0) { in authenticate()
1187 promptInfo.setAuthenticators(Authenticators.BIOMETRIC_STRONG); in authenticateInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DUtils.java246 } else if (biometricBits == Authenticators.BIOMETRIC_STRONG) { in isValidAuthenticatorConfig()
427 Authenticators.BIOMETRIC_STRONG); in isStrongBiometric()
545 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
560 return Authenticators.BIOMETRIC_STRONG; in propertyStrengthToAuthenticatorStrength()
H A DBiometricService.java159 if (!Utils.isAtLeastStrength(sensor.oemStrength, Authenticators.BIOMETRIC_STRONG)) { in InvalidationTracker()
659 if (strength != Authenticators.BIOMETRIC_STRONG
729 Authenticators.BIOMETRIC_STRONG)) {
757 Authenticators.BIOMETRIC_STRONG)) {
798 .resetLockoutFor(userId, Authenticators.BIOMETRIC_STRONG, -1);
1083 Authenticators.BIOMETRIC_STRONG);
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintServiceRegistryTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
109 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
H A DFaceServiceRegistryTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
113 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptSelectorInteractorImplTest.kt97 Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL
99 Authenticators.BIOMETRIC_STRONG
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/biometrics/
H A DBiometricPromptTest.java69 .setAllowedAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG in setUp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DBiometricTestExtensions.kt163 SensorProperties.STRENGTH_STRONG -> Authenticators.BIOMETRIC_STRONG
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt18300 field public static final int BIOMETRIC_STRONG = 15; // 0xf