Home
last modified time | relevance | path

Searched refs:DEVICE_CREDENTIAL (Results 1 – 14 of 14) 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()
96 authenticators |= Authenticators.DEVICE_CREDENTIAL; in testIsDeviceCredentialAllowed_withIntegerFlags()
112 authenticators |= Authenticators.DEVICE_CREDENTIAL; in testIsDeviceCredentialAllowed_withBundle()
162 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.DEVICE_CREDENTIAL)); in testIsValidAuthenticatorConfig()
164 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.DEVICE_CREDENTIAL in testIsValidAuthenticatorConfig()
167 assertTrue(Utils.isValidAuthenticatorConfig(Authenticators.DEVICE_CREDENTIAL in testIsValidAuthenticatorConfig()
173 | Authenticators.DEVICE_CREDENTIAL)); in testIsValidAuthenticatorConfig()
182 if (authenticator == Authenticators.DEVICE_CREDENTIAL) { in testIsValidAuthenticatorConfig()
[all …]
DBiometricServiceTest.java331 Authenticators.DEVICE_CREDENTIAL, false /* useDefaultSubtitle */, in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
352 Authenticators.DEVICE_CREDENTIAL, false /* useDefaultSubtitle */, in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
509 setupAuthForOnly(TYPE_CREDENTIAL, Authenticators.DEVICE_CREDENTIAL); in testAuthenticateFingerprint_shouldShowSubtitleForCredential()
695 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK, in testAuthenticate_noBiometrics_credentialAllowed()
701 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testAuthenticate_noBiometrics_credentialAllowed()
766 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_STRONG, in testAuthenticate_no_Biometrics_noCredential()
953 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK, in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
969 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
1084 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_STRONG, in testBiometricOrCredentialAuth_whenBiometricLockout_showsCredential()
1092 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testBiometricOrCredentialAuth_whenBiometricLockout_showsCredential()
[all …]
/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>()
296 authenticators = Authenticators.DEVICE_CREDENTIAL in <lambda>()
317 authenticators = Authenticators.DEVICE_CREDENTIAL in <lambda>()
343 authenticators = Authenticators.DEVICE_CREDENTIAL in <lambda>()
388 authenticators = Authenticators.DEVICE_CREDENTIAL in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt362 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
377 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
398 BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
462 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
476 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL, in <lambda>()
502 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL, in <lambda>()
519 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL in <lambda>()
600 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL, in <lambda>()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java100 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_STRONG;
139 DEVICE_CREDENTIAL,
215 int DEVICE_CREDENTIAL = 1 << 15; field
231 case Authenticators.DEVICE_CREDENTIAL: in authenticatorToStr()
DBiometricPrompt.java1532 return (allowedAuthenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in isCredentialAllowed()
/frameworks/base/core/java/com/android/internal/app/
DSetScreenLockDialogActivity.java22 import static android.hardware.biometrics.BiometricManager.Authenticators.DEVICE_CREDENTIAL;
126 setNewLockIntent.putExtra(EXTRA_BIOMETRIC_AUTHENTICATORS_ALLOWED, DEVICE_CREDENTIAL); in onClick()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt264 if (allowedAuthenticators == BiometricManager.Authenticators.DEVICE_CREDENTIAL) { in canCallBiometricPrompt()
295 Authenticators.BIOMETRIC_WEAK or Authenticators.DEVICE_CREDENTIAL) || in containsBiometricAuthenticatorWithDeviceCredentials()
297 Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL) in containsBiometricAuthenticatorWithDeviceCredentials()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java127 ? Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK in combineAuthenticatorBundles()
139 return (authenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in isCredentialRequested()
244 final int testBits = ~(Authenticators.DEVICE_CREDENTIAL in isValidAuthenticatorConfig()
DBiometricService.java656 if ((authenticators & Authenticators.DEVICE_CREDENTIAL) != 0) {
1420 promptInfo.setAuthenticators(Authenticators.DEVICE_CREDENTIAL);
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt85 (promptInfo.authenticators and Authenticators.DEVICE_CREDENTIAL) != 0 in isDeviceCredentialAllowed()
/frameworks/base/core/tests/coretests/src/android/hardware/biometrics/
DBiometricPromptTest.java78 | BiometricManager.Authenticators.DEVICE_CREDENTIAL) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java244 mConfig.mPromptInfo.setAuthenticators(Authenticators.DEVICE_CREDENTIAL); in onUseDeviceCredential()
/frameworks/base/core/api/
Dcurrent.txt18896 field public static final int DEVICE_CREDENTIAL = 32768; // 0x8000