Home
last modified time | relevance | path

Searched refs:isCredentialRequested (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java94 assertFalse(Utils.isCredentialRequested(authenticators)); in testIsDeviceCredentialAllowed_withIntegerFlags()
97 assertTrue(Utils.isCredentialRequested(authenticators)); in testIsDeviceCredentialAllowed_withIntegerFlags()
100 assertTrue(Utils.isCredentialRequested(authenticators)); in testIsDeviceCredentialAllowed_withIntegerFlags()
106 assertFalse(Utils.isCredentialRequested(promptInfo)); in testIsDeviceCredentialAllowed_withBundle()
110 assertFalse(Utils.isCredentialRequested(promptInfo)); in testIsDeviceCredentialAllowed_withBundle()
114 assertTrue(Utils.isCredentialRequested(promptInfo)); in testIsDeviceCredentialAllowed_withBundle()
118 assertTrue(Utils.isCredentialRequested(promptInfo)); in testIsDeviceCredentialAllowed_withBundle()
DBiometricServiceTest.java1636 assertTrue(Utils.isCredentialRequested(mBiometricService.mAuthSession.mPromptInfo)); in testWithDowngradedAuthenticator()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java138 static boolean isCredentialRequested(@Authenticators.Types int authenticators) { in isCredentialRequested() method in Utils
147 static boolean isCredentialRequested(PromptInfo promptInfo) { in isCredentialRequested() method in Utils
148 return isCredentialRequested(promptInfo.getAuthenticators()); in isCredentialRequested()
256 && isCredentialRequested(authenticators)) { in isValidAuthenticatorConfig()
DPreAuthInfo.java108 final boolean credentialRequested = Utils.isCredentialRequested(promptInfo); in create()
DAuthSession.java959 return Utils.isCredentialRequested(mPromptInfo); in isAllowDeviceCredential()
DAuthService.java602 final boolean isCredentialAllowed = Utils.isCredentialRequested(authenticators); in getPromptMessage()
DBiometricService.java916 Utils.isCredentialRequested(authenticators)