Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
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()
88 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testInitialStateLockedOut()
100 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testConvenienceLockout()
113 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testWeakLockout()
125 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_STRONG); in testStrongLockout()
126 assertThat(mLockoutState.getLockoutState(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testStrongLockout()
[all …]
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()
104 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testUserLocked()
111 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testWeakAndConvenientCannotResetLockout()
117 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testWeakAndConvenientCannotResetLockout()
125 assertThat(mCoordinator.getLockoutStateFor(PRIMARY_USER, BIOMETRIC_STRONG)).isEqualTo( in testWeakAndConvenientCannotResetLockout()
[all …]
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()
135 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testWeakLockoutTimed()
150 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testWeakUnlock()
161 BiometricManager.Authenticators.BIOMETRIC_STRONG); in testStrongLockout()
165 assertThat(authMap.get(BiometricManager.Authenticators.BIOMETRIC_STRONG)).isEqualTo( in testStrongLockout()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
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 …]
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()
DAuthSessionCoordinator.java86 Authenticators.BIOMETRIC_WEAK, Authenticators.BIOMETRIC_STRONG)) { in endAuthSession()
184 if (biometricStrength == Authenticators.BIOMETRIC_STRONG) { in resetLockoutFor()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java261 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenPaused()
288 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testClientBinderDied_whenAuthenticating()
395 TYPE_FINGERPRINT, Authenticators.BIOMETRIC_STRONG, in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
413 Authenticators.BIOMETRIC_STRONG, false /* useDefaultSubtitle */, in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
434 Authenticators.BIOMETRIC_STRONG, in testAuthenticate_picksStrongIfAvailable()
440 false /* requireConfirmation */, Authenticators.BIOMETRIC_STRONG); in testAuthenticate_picksStrongIfAvailable()
469 TYPE_FINGERPRINT, Authenticators.BIOMETRIC_STRONG, in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable()
484 setupAuthForOnly(TYPE_FACE, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFace_shouldShowSubtitleForFace()
496 setupAuthForOnly(TYPE_FINGERPRINT, Authenticators.BIOMETRIC_STRONG); in testAuthenticateFingerprint_shouldShowSubtitleForFingerprint()
529 Authenticators.BIOMETRIC_STRONG, in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle()
[all …]
DPreAuthInfoTest.java103 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsEnabled()
119 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()
136 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFaceAuthentication_whenCameraIsUnavailable()
156 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()
176 promptInfo.setAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG); in testFingerprintAuthentication_whenCameraIsUnavailable()
189 TYPE_FINGERPRINT, BiometricManager.Authenticators.BIOMETRIC_STRONG, in getFingerprintSensor()
207 BiometricManager.Authenticators.BIOMETRIC_STRONG, mFaceAuthenticator) { in getFaceSensor()
DAuthSessionTest.java156 Authenticators.BIOMETRIC_STRONG, in testNewAuthSession_eligibleSensorsSetToStateUnknown()
178 Authenticators.BIOMETRIC_STRONG, in testStartNewAuthSession()
240 Authenticators.BIOMETRIC_STRONG, in testOnErrorReceived_lockoutError()
276 Authenticators.BIOMETRIC_STRONG, in testOnErrorReceivedBeforeOnDialogAnimatedIn()
315 Authenticators.BIOMETRIC_STRONG, in testOnRejectionReceivedBeforeOnDialogAnimatedIn()
352 Authenticators.BIOMETRIC_STRONG, in testCancelReducesAppetiteForCookies()
413 Authenticators.BIOMETRIC_STRONG, in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
468 Authenticators.BIOMETRIC_STRONG, in testOnDialogAnimatedInDoesNothingDuringInvalidState()
520 Authenticators.BIOMETRIC_STRONG, in testCallbackOnAcquired()
543 Authenticators.BIOMETRIC_STRONG, in testLogOnDialogDismissed_authenticatedWithConfirmation()
[all …]
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()
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceResetLockoutClientTest.java19 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
85 mLockoutResetDispatcher, BIOMETRIC_STRONG); in setUp()
100 verify(mAuthSessionCoordinator).resetLockoutFor(USER_ID, BIOMETRIC_STRONG, -1); in testResetLockout_onLockoutCleared()
116 BIOMETRIC_STRONG, -1); in testResetLockout_onError()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintResetLockoutClientTest.java87 BiometricManager.Authenticators.BIOMETRIC_STRONG); in setUp()
103 eq(BiometricManager.Authenticators.BIOMETRIC_STRONG), anyLong()); in resetLockout_onLockoutCleared()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java100 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_STRONG;
136 BIOMETRIC_STRONG,
172 int BIOMETRIC_STRONG = 0x000F; field
225 case Authenticators.BIOMETRIC_STRONG: in authenticatorToStr()
DBiometricPrompt.java1387 authenticators = Authenticators.BIOMETRIC_STRONG; in authenticate()
1390 if ((biometricStrength & ~Authenticators.BIOMETRIC_STRONG) != 0) { in authenticate()
1510 promptInfo.setAuthenticators(Authenticators.BIOMETRIC_STRONG); in authenticateInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
DFingerprintServiceRegistryTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
109 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
DFaceServiceRegistryTest.java20 import static android.hardware.biometrics.BiometricManager.Authenticators.BIOMETRIC_STRONG;
113 .containsExactly(BIOMETRIC_WEAK, BIOMETRIC_STRONG); in registersAllProviders()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java258 } else if (biometricBits == Authenticators.BIOMETRIC_STRONG) { in isValidAuthenticatorConfig()
439 Authenticators.BIOMETRIC_STRONG); in isStrongBiometric()
557 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
572 return Authenticators.BIOMETRIC_STRONG; in propertyStrengthToAuthenticatorStrength()
DBiometricService.java169 if (!Utils.isAtLeastStrength(sensor.oemStrength, Authenticators.BIOMETRIC_STRONG)) { in InvalidationTracker()
660 if ((authenticators & Authenticators.BIOMETRIC_STRONG) != 0) {
715 if (strength != Authenticators.BIOMETRIC_STRONG
785 Authenticators.BIOMETRIC_STRONG)) {
813 Authenticators.BIOMETRIC_STRONG)) {
855 .resetLockoutFor(userId, Authenticators.BIOMETRIC_STRONG, -1);
1167 Authenticators.BIOMETRIC_STRONG);
/frameworks/base/core/java/android/hardware/face/
DHidlFaceSensorConfig.java79 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractorImplTest.kt115 authenticators = Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL in <lambda>()
153 Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL in <lambda>()
155 Authenticators.BIOMETRIC_STRONG in <lambda>()
/frameworks/base/core/java/android/hardware/fingerprint/
DHidlFingerprintSensorConfig.java113 case BiometricManager.Authenticators.BIOMETRIC_STRONG: in authenticatorStrengthToPropertyStrength()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DBiometricTestExtensions.kt113 SensorProperties.STRENGTH_STRONG -> Authenticators.BIOMETRIC_STRONG in extractAuthenticatorTypes()
/frameworks/base/core/tests/coretests/src/android/hardware/biometrics/
DBiometricPromptTest.java75 .setAllowedAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG in setUp()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt283 biometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) != in onlySupportsAtMostDeviceCredentials()
297 Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL) in containsBiometricAuthenticatorWithDeviceCredentials()

12