Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DAuthSessionCoordinatorTest.java21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
63 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testUserUnlockedWithWeak()
69 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 1 /* sensorId */, in testUserUnlockedWithWeak()
74 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testUserUnlockedWithWeak()
86 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 2 /* sensorId */, in testUserLocked()
91 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testUserLocked()
97 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 1 /* sensorId */, in testUserLocked()
102 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testUserLocked()
120 mCoordinator.resetLockoutFor(PRIMARY_USER, BIOMETRIC_WEAK, 0 /* requestId */); in testWeakAndConvenientCannotResetLockout()
150 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_WEAK, 2 /* sensorId */, in testUserLockedDuringLockoutOfSameSession()
[all …]
H A DMultiBiometricLockoutStateTest.java21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
55 assertThat(lockoutState.getLockoutState(userId, BIOMETRIC_WEAK)).isEqualTo( in unlockAllBiometrics()
65 assertThat(lockoutState.getLockoutState(userId, BIOMETRIC_WEAK)).isEqualTo( in lockoutAllBiometrics()
90 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testInitialStateLockedOut()
102 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testConvenienceLockout()
112 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_WEAK); in testWeakLockout()
115 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_WEAK)).isEqualTo( in testWeakLockout()
150 mLockoutState.clearPermanentLockOut(PRIMARY_USER, BIOMETRIC_WEAK); in testWeakUnlock()
179 lockoutState.clearPermanentLockOut(userOne, BIOMETRIC_WEAK); in multiUser_userOneDoesNotAffectUserTwo()
182 assertThat(lockoutState.getLockoutState(userOne, BIOMETRIC_WEAK)).isEqualTo( in multiUser_userOneDoesNotAffectUserTwo()
[all …]
H A DAuthResultCoordinatorTest.java47 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testDefaultMessage()
62 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testSingleMessageCoordinator()
77 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testConvenientLockout()
92 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_WEAK)).isEqualTo( in testConvenientLockoutTimed()
116 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testWeakLockout()
131 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testWeakLockoutTimed()
146 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testWeakUnlock()
206 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testAuthAndLockout()
208 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testAuthAndLockout()
224 BiometricManager.Authenticators.BIOMETRIC_WEAK); in testLockoutAndAuth()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DMultiBiometricLockoutState.java22 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
54 lockOutMap.put(BIOMETRIC_WEAK, in createUnlockedMap()
55 new AuthenticatorState(BIOMETRIC_WEAK, false, false)); in createUnlockedMap()
74 case Authenticators.BIOMETRIC_WEAK: in setPermanentLockOut()
75 authMap.get(BIOMETRIC_WEAK).mPermanentlyLockedOut = true; in setPermanentLockOut()
91 case Authenticators.BIOMETRIC_WEAK: in clearPermanentLockOut()
92 authMap.get(BIOMETRIC_WEAK).mPermanentlyLockedOut = false; in clearPermanentLockOut()
108 case Authenticators.BIOMETRIC_WEAK: in setTimedLockout()
109 authMap.get(BIOMETRIC_WEAK).mTimedLockout = true; in setTimedLockout()
125 case Authenticators.BIOMETRIC_WEAK: in clearTimedLockout()
[all …]
H A DAuthResultCoordinator.java57 mAuthenticatorState.put(Authenticators.BIOMETRIC_WEAK, AUTHENTICATOR_DEFAULT); in AuthResultCoordinator()
67 case Authenticators.BIOMETRIC_WEAK: in updateState()
68 mAuthenticatorState.put(Authenticators.BIOMETRIC_WEAK, in updateState()
69 mapper.apply(mAuthenticatorState.get(Authenticators.BIOMETRIC_WEAK))); in updateState()
H A DAuthSessionCoordinator.java86 Authenticators.BIOMETRIC_WEAK, Authenticators.BIOMETRIC_STRONG)) { in endAuthSession()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DUtilsTest.java44 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
58 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
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()
160 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.BIOMETRIC_WEAK)); in testIsValidAuthenticatorConfig()
168 | Authenticators.BIOMETRIC_WEAK)); in testIsValidAuthenticatorConfig()
192 int requestedStrength = Authenticators.BIOMETRIC_WEAK; in testIsAtLeastStrength()
198 sensorStrength = Authenticators.BIOMETRIC_WEAK; in testIsAtLeastStrength()
[all …]
H A DBiometricServiceTest.java379 setupAuthForOnly(TYPE_FINGERPRINT, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
402 Authenticators.BIOMETRIC_WEAK, in testAuthenticate_picksStrongIfAvailable()
497 Authenticators.BIOMETRIC_WEAK, in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle()
574 setupAuthForOnly(TYPE_FINGERPRINT, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithoutConfirmation_weakBiometric()
692 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_WEAK); in testAuthenticate_happyPathWithConfirmation_weakBiometric()
1461 Authenticators.BIOMETRIC_WEAK}, in testAuthenticatorActualStrength()
1465 Authenticators.BIOMETRIC_WEAK}, in testAuthenticatorActualStrength()
1472 {Authenticators.BIOMETRIC_WEAK, Authenticators.EMPTY_SET, in testAuthenticatorActualStrength()
1473 Authenticators.BIOMETRIC_WEAK}, in testAuthenticatorActualStrength()
1534 sensor.updateStrength(Authenticators.BIOMETRIC_WEAK); in testWithDowngradedAuthenticator()
[all …]
H A DInvalidationTrackerTest.java81 BiometricAuthenticator.TYPE_FACE, Authenticators.BIOMETRIC_WEAK, in testCallbackReceived_whenAllStrongSensorsInvalidated()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DUtils.java115 ? Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK in combineAuthenticatorBundles()
116 : Authenticators.BIOMETRIC_WEAK; in combineAuthenticatorBundles()
147 return authenticators & Authenticators.BIOMETRIC_WEAK; in getPublicBiometricStrength()
248 } else if (biometricBits == Authenticators.BIOMETRIC_WEAK) { in isValidAuthenticatorConfig()
543 case BiometricManager.Authenticators.BIOMETRIC_WEAK: in authenticatorStrengthToPropertyStrength()
558 return Authenticators.BIOMETRIC_WEAK; in propertyStrengthToAuthenticatorStrength()
H A DBiometricService.java660 && strength != Authenticators.BIOMETRIC_WEAK
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricManager.java116 BIOMETRIC_WEAK,
160 int BIOMETRIC_WEAK = 0x00FF; field
205 case Authenticators.BIOMETRIC_WEAK: in authenticatorToStr()
421 Authenticators.BIOMETRIC_WEAK); in canAuthenticate()
H A DBiometricPrompt.java1066 final int biometricStrength = authenticators & Authenticators.BIOMETRIC_WEAK; in authenticate()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthContainerViewTest.kt294 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK
324 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK or
339 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK or
469 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
480 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
505 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
H A DBiometricTestExtensions.kt65 var authenticators = Authenticators.BIOMETRIC_WEAK
162 SensorProperties.STRENGTH_WEAK -> Authenticators.BIOMETRIC_WEAK
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintServiceRegistryTest.java21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
109 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
H A DFaceServiceRegistryTest.java21 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_WEAK;
113 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUtils.kt93 (promptInfo.authenticators and Authenticators.BIOMETRIC_WEAK) != 0
/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.txt18301 field public static final int BIOMETRIC_WEAK = 255; // 0xff