Home
last modified time | relevance | path

Searched refs:DEVICE_CREDENTIAL (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java43 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
57 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
77 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.java228 Authenticators.DEVICE_CREDENTIAL); in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
247 Authenticators.DEVICE_CREDENTIAL); in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
523 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK); in testAuthenticate_noBiometrics_credentialAllowed()
528 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testAuthenticate_noBiometrics_credentialAllowed()
594 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_STRONG); in testAuthenticate_no_Biometrics_noCredential()
763 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK); in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
779 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
817 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
831 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK; in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
851 Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andNoKeyAuthenticators()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.java135 Authenticators.BIOMETRIC_WEAK | Authenticators.DEVICE_CREDENTIAL); in testActionUseDeviceCredential_sendsOnDeviceCredentialPressed()
150 Authenticators.BIOMETRIC_WEAK | Authenticators.DEVICE_CREDENTIAL); in testAnimateToCredentialUI_invokesStartTransitionToCredentialUI()
171 initializeContainer(Authenticators.DEVICE_CREDENTIAL); in testShowCredentialUI_doesNotInflateBiometricUI()
185 initializeContainer(Authenticators.DEVICE_CREDENTIAL); in testCredentialViewUsesEffectiveUserId()
197 initializeContainer(Authenticators.DEVICE_CREDENTIAL); in testCredentialUI_disablesClickingOnBackground()
DAuthControllerTest.java327 showDialog(Authenticators.DEVICE_CREDENTIAL, BiometricPrompt.TYPE_NONE); in testCancelAuthentication_whenCredentialConfirmed_doesntCrash()
387 showDialog(Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK, in testConfigurationPersists_whenBiometricFallbackToCredential()
406 assertEquals(Authenticators.DEVICE_CREDENTIAL, in testConfigurationPersists_whenBiometricFallbackToCredential()
DAuthBiometricViewTest.java298 authenticators |= Authenticators.DEVICE_CREDENTIAL; in buildBiometricPromptBundle()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java67 ? Authenticators.DEVICE_CREDENTIAL | Authenticators.BIOMETRIC_WEAK in combineAuthenticatorBundles()
79 return (authenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in isCredentialRequested()
171 final int testBits = ~(Authenticators.DEVICE_CREDENTIAL in isValidAuthenticatorConfig()
DBiometricService.java1216 Authenticators.DEVICE_CREDENTIAL); in checkAndGetAuthenticators()
1813 if ((authenticators & ~Authenticators.DEVICE_CREDENTIAL) != 0) { in authenticateInternal()
1821 if (authenticators == Authenticators.DEVICE_CREDENTIAL) { in authenticateInternal()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricManager.java99 DEVICE_CREDENTIAL,
174 int DEVICE_CREDENTIAL = 1 << 15; field
DBiometricPrompt.java437 || (authenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUtils.java72 return (authenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in isDeviceCredentialAllowed()
DAuthController.java457 Authenticators.DEVICE_CREDENTIAL); in onConfigurationChanged()
/frameworks/base/api/
Dcurrent.txt17070 field public static final int DEVICE_CREDENTIAL = 32768; // 0x8000