Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DUtilsTest.java48 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
61 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
93 int authenticators = 0; in testIsDeviceCredentialAllowed_withIntegerFlags() local
108 int authenticators = 0; in testIsDeviceCredentialAllowed_withBundle() local
109 promptInfo.setAuthenticators(authenticators); in testIsDeviceCredentialAllowed_withBundle()
113 promptInfo.setAuthenticators(authenticators); in testIsDeviceCredentialAllowed_withBundle()
117 promptInfo.setAuthenticators(authenticators); in testIsDeviceCredentialAllowed_withBundle()
126 int authenticators = Integer.MAX_VALUE; in testGetBiometricStrength_removeUnrelatedBits() local
141 int authenticators = 1 << i; in testIsBiometricAllowed() local
148 int authenticators = 1 << i; in testIsBiometricAllowed() local
[all …]
H A DBiometricServiceTest.java1078 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() local
1083 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators()
1092 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() local
1096 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators()
1553 authenticators = Authenticators.BIOMETRIC_WEAK; in testWithDowngradedAuthenticator()
1558 authenticators); in testWithDowngradedAuthenticator()
1603 authenticators = Authenticators.BIOMETRIC_STRONG; in testWithDowngradedAuthenticator()
1843 Integer authenticators) throws Exception { in invokeAuthenticateAndStart() argument
1903 Integer authenticators, in createTestPromptInfo() argument
1911 if (authenticators != null) { in createTestPromptInfo()
[all …]
H A DAuthServiceTest.java363 final int authenticators = 0; in testCanAuthenticate_callsBiometricServiceCanAuthenticate() local
368 .canAuthenticate(TEST_OP_PACKAGE_NAME, userId, authenticators); in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
376 eq(authenticators)); in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
H A DAuthSessionTest.java619 boolean checkDevicePolicyManager, @Authenticators.Types int authenticators, in createAuthSession() argument
622 final PromptInfo promptInfo = createPromptInfo(authenticators); in createAuthSession()
632 private PromptInfo createPromptInfo(@Authenticators.Types int authenticators) { in createPromptInfo() argument
634 promptInfo.setAuthenticators(authenticators); in createPromptInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DUtils.java108 final @Authenticators.Types int authenticators; in combineAuthenticatorBundles() local
111 authenticators = promptInfo.getAuthenticators(); in combineAuthenticatorBundles()
114 authenticators = deviceCredentialAllowed in combineAuthenticatorBundles()
119 promptInfo.setAuthenticators(authenticators); in combineAuthenticatorBundles()
147 return authenticators & Authenticators.BIOMETRIC_WEAK; in getPublicBiometricStrength()
216 return isValidAuthenticatorConfig(authenticators); in isValidAuthenticatorConfig()
226 if (authenticators == 0) { in isValidAuthenticatorConfig()
234 if ((authenticators & testBits) != 0) { in isValidAuthenticatorConfig()
236 + " Authenticators: " + authenticators); in isValidAuthenticatorConfig()
244 && isCredentialRequested(authenticators)) { in isValidAuthenticatorConfig()
[all …]
H A DAuthService.java309 @Authenticators.Types int authenticators) throws RemoteException { in canAuthenticate() argument
323 opPackageName, userId, callingUserId, authenticators); in canAuthenticate()
327 + ", authenticators: " + authenticators in canAuthenticate()
432 @Authenticators.Types int authenticators) throws RemoteException { in getButtonLabel() argument
447 opPackageName, userId, callingUserId, authenticators); in getButtonLabel()
478 @Authenticators.Types int authenticators) throws RemoteException { in getPromptMessage() argument
493 opPackageName, userId, callingUserId, authenticators); in getPromptMessage()
495 final boolean isCredentialAllowed = Utils.isCredentialRequested(authenticators); in getPromptMessage()
548 @Authenticators.Types int authenticators) throws RemoteException { in getSettingName() argument
562 mBiometricService.getSupportedModalities(authenticators); in getSettingName()
H A DBiometricService.java596 @Authenticators.Types int authenticators) {
602 + ", Authenticators=" + authenticators);
604 if (!Utils.isValidAuthenticatorConfig(authenticators)) {
822 @Authenticators.Types int authenticators) {
829 + ", Authenticators=" + authenticators);
831 if (!Utils.isValidAuthenticatorConfig(authenticators)) {
853 if (!Utils.isValidAuthenticatorConfig(authenticators)) {
858 Utils.isCredentialRequested(authenticators)
862 if (Utils.isBiometricRequested(authenticators)) {
864 Utils.getPublicBiometricStrength(authenticators);
[all …]
H A DAuthSession.java468 @BiometricManager.Authenticators.Types int authenticators = in onErrorReceived() local
471 authenticators = Utils.removeBiometricBits(authenticators); in onErrorReceived()
472 mPromptInfo.setAuthenticators(authenticators); in onErrorReceived()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DBiometricTestExtensions.kt65 var authenticators = Authenticators.BIOMETRIC_WEAK regex
67 authenticators = authenticators or Authenticators.DEVICE_CREDENTIAL
71 promptInfo.authenticators = authenticators
154 var authenticators = Authenticators.EMPTY_SET regex
157 authenticators =
158 authenticators or
167 return authenticators
H A DAuthContainerViewTest.kt294 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK
324 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK or
339 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK or
361 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL
377 authenticators = BiometricManager.Authenticators.DEVICE_CREDENTIAL
469 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
473 authenticators = authenticators,
480 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
484 authenticators = authenticators,
505 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK,
[all …]
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DIAuthService.aidl58 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument
87 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument
91 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument
95 CharSequence getSettingName(int userId, String opPackageName, int authenticators); in getSettingName() argument
H A DBiometricManager.java226 @Authenticators.Types int authenticators) { in Strings() argument
229 mAuthenticators = authenticators; in Strings()
460 public int canAuthenticate(@Authenticators.Types int authenticators) { in canAuthenticate() argument
461 @BiometricError final int result = canAuthenticate(mContext.getUserId(), authenticators); in canAuthenticate()
464 true /* isAllowedAuthenticatorsSet */, authenticators, result); in canAuthenticate()
474 public int canAuthenticate(int userId, @Authenticators.Types int authenticators) { in canAuthenticate() argument
478 return mService.canAuthenticate(opPackageName, userId, authenticators); in canAuthenticate()
498 public Strings getStrings(@Authenticators.Types int authenticators) { in getStrings() argument
499 return new Strings(mContext, mService, authenticators); in getStrings()
H A DIBiometricService.aidl54 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate() argument
102 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality() argument
106 int getSupportedModalities(int authenticators); in getSupportedModalities() argument
H A DBiometricPrompt.java368 public Builder setAllowedAuthenticators(@Authenticators.Types int authenticators) { in setAllowedAuthenticators() argument
369 mPromptInfo.setAuthenticators(authenticators); in setAllowedAuthenticators()
482 final @Authenticators.Types int authenticators = mPromptInfo.getAuthenticators(); in build() local
484 || isCredentialAllowed(authenticators); in build()
1062 @Authenticators.Types int authenticators = mPromptInfo.getAuthenticators(); in authenticate() local
1063 if (authenticators == Authenticators.EMPTY_SET) { in authenticate()
1064 authenticators = Authenticators.BIOMETRIC_STRONG; in authenticate()
1066 final int biometricStrength = authenticators & Authenticators.BIOMETRIC_WEAK; in authenticate()
H A DPromptInfo.java200 public void setAuthenticators(int authenticators) { in setAuthenticators() argument
201 mAuthenticators = authenticators; in setAuthenticators()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUtils.kt89 (promptInfo.authenticators and Authenticators.DEVICE_CREDENTIAL) != 0
93 (promptInfo.authenticators and Authenticators.BIOMETRIC_WEAK) != 0
H A DAuthController.java939 @Authenticators.Types final int authenticators = promptInfo.getAuthenticators(); in showAuthenticationDialog() local
946 Log.d(TAG, "showAuthenticationDialog, authenticators: " + authenticators in showAuthenticationDialog()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptSelectorInteractorImplTest.kt95 authenticators =
161 authenticators = Authenticators.DEVICE_CREDENTIAL
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
H A DPromptViewModelTest.kt873 authenticators = listOf(face, fingerprint).extractAuthenticatorTypes()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...