/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | UtilsTest.java | 43 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() local 48 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() 52 assertEquals(authenticators, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() 57 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() local 61 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() 65 assertEquals(authenticators, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() 93 int authenticators = 0; in testIsDeviceCredentialAllowed_withIntegerFlags() local 94 assertFalse(Utils.isCredentialRequested(authenticators)); in testIsDeviceCredentialAllowed_withIntegerFlags() 96 authenticators |= Authenticators.DEVICE_CREDENTIAL; in testIsDeviceCredentialAllowed_withIntegerFlags() 97 assertTrue(Utils.isCredentialRequested(authenticators)); in testIsDeviceCredentialAllowed_withIntegerFlags() [all …]
|
D | BiometricServiceTest.java | 1109 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() local 1114 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() 1118 assertEquals(authenticators, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withKeyDeviceCredential_andKeyAuthenticators() 1123 final @Authenticators.Types int authenticators = in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() local 1127 promptInfo.setAuthenticators(authenticators); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() 1131 assertEquals(authenticators, promptInfo.getAuthenticators()); in testCombineAuthenticatorBundles_withNoKeyDeviceCredential_andKeyAuthenticators() 1397 int authenticators = Authenticators.BIOMETRIC_STRONG; in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() local 1399 invokeCanAuthenticate(mBiometricService, authenticators)); in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() 1404 authenticators = Authenticators.BIOMETRIC_STRONG | Authenticators.DEVICE_CREDENTIAL; in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() 1406 invokeCanAuthenticate(mBiometricService, authenticators)); in testCanAuthenticate_whenDeviceDoesNotHaveRequestedBiometricStrength() [all …]
|
D | AuthServiceTest.java | 419 final int authenticators = 0; in testCanAuthenticate_callsBiometricServiceCanAuthenticate() local 424 .canAuthenticate(TEST_OP_PACKAGE_NAME, userId, authenticators); in testCanAuthenticate_callsBiometricServiceCanAuthenticate() 432 eq(authenticators)); in testCanAuthenticate_callsBiometricServiceCanAuthenticate() 532 final int authenticators = BiometricManager.Authenticators.BIOMETRIC_STRONG; in testGetLastAuthenticationTime_flaggedOn_callsBiometricService() local 534 mAuthService.mImpl.getLastAuthenticationTime(userId, authenticators); in testGetLastAuthenticationTime_flaggedOn_callsBiometricService() 537 verify(mBiometricService).getLastAuthenticationTime(eq(userId), eq(authenticators)); in testGetLastAuthenticationTime_flaggedOn_callsBiometricService()
|
D | AuthSessionTest.java | 852 boolean checkDevicePolicyManager, @Authenticators.Types int authenticators, in createAuthSession() argument 855 final PromptInfo promptInfo = createPromptInfo(authenticators); in createAuthSession() 866 private PromptInfo createPromptInfo(@Authenticators.Types int authenticators) { in createPromptInfo() argument 868 promptInfo.setAuthenticators(authenticators); in createPromptInfo()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | Utils.java | 120 final @Authenticators.Types int authenticators; in combineAuthenticatorBundles() local 123 authenticators = promptInfo.getAuthenticators(); in combineAuthenticatorBundles() 126 authenticators = deviceCredentialAllowed in combineAuthenticatorBundles() 131 promptInfo.setAuthenticators(authenticators); in combineAuthenticatorBundles() 138 static boolean isCredentialRequested(@Authenticators.Types int authenticators) { in isCredentialRequested() argument 139 return (authenticators & Authenticators.DEVICE_CREDENTIAL) != 0; in isCredentialRequested() 157 static int getPublicBiometricStrength(@Authenticators.Types int authenticators) { in getPublicBiometricStrength() argument 159 return authenticators & Authenticators.BIOMETRIC_WEAK; in getPublicBiometricStrength() 179 static boolean isBiometricRequested(@Authenticators.Types int authenticators) { in isBiometricRequested() argument 180 return getPublicBiometricStrength(authenticators) != 0; in isBiometricRequested() [all …]
|
D | BiometricService.java | 606 @Authenticators.Types int authenticators) { 612 + ", Authenticators=" + authenticators); 614 if (!Utils.isValidAuthenticatorConfig(authenticators)) { 620 createPreAuthInfo(opPackageName, userId, authenticators); 631 int userId, @Authenticators.Types int authenticators) { 639 userId, authenticators); 656 if ((authenticators & Authenticators.DEVICE_CREDENTIAL) != 0) { 660 if ((authenticators & Authenticators.BIOMETRIC_STRONG) != 0) { 880 @Authenticators.Types int authenticators) { 887 + ", Authenticators=" + authenticators); [all …]
|
D | AuthService.java | 361 @Authenticators.Types int authenticators) throws RemoteException { in canAuthenticate() argument 375 opPackageName, userId, callingUserId, authenticators); in canAuthenticate() 379 + ", authenticators: " + authenticators in canAuthenticate() 389 @Authenticators.Types int authenticators) throws RemoteException { in getLastAuthenticationTime() argument 408 return mBiometricService.getLastAuthenticationTime(userId, authenticators); in getLastAuthenticationTime() 539 @Authenticators.Types int authenticators) throws RemoteException { in getButtonLabel() argument 554 opPackageName, userId, callingUserId, authenticators); in getButtonLabel() 585 @Authenticators.Types int authenticators) throws RemoteException { in getPromptMessage() argument 600 opPackageName, userId, callingUserId, authenticators); in getPromptMessage() 602 final boolean isCredentialAllowed = Utils.isCredentialRequested(authenticators); in getPromptMessage() [all …]
|
D | AuthSession.java | 477 @BiometricManager.Authenticators.Types int authenticators = in onErrorReceived() local 480 authenticators = Utils.removeBiometricBits(authenticators); in onErrorReceived() 481 mPromptInfo.setAuthenticators(authenticators); in onErrorReceived()
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | BiometricManager.java | 248 @Authenticators.Types int authenticators) { in Strings() argument 251 mAuthenticators = authenticators; in Strings() 482 public int canAuthenticate(@Authenticators.Types int authenticators) { in canAuthenticate() argument 483 @BiometricError final int result = canAuthenticate(mContext.getUserId(), authenticators); in canAuthenticate() 486 true /* isAllowedAuthenticatorsSet */, authenticators, result); in canAuthenticate() 496 public int canAuthenticate(int userId, @Authenticators.Types int authenticators) { in canAuthenticate() argument 500 return mService.canAuthenticate(opPackageName, userId, authenticators); in canAuthenticate() 520 public Strings getStrings(@Authenticators.Types int authenticators) { in getStrings() argument 521 return new Strings(mContext, mService, authenticators); in getStrings() 736 @BiometricManager.Authenticators.Types int authenticators) { in getLastAuthenticationTime() [all …]
|
D | IAuthService.aidl | 59 int canAuthenticate(String opPackageName, int userId, int authenticators); in canAuthenticate() argument 62 long getLastAuthenticationTime(int userId, int authenticators); in getLastAuthenticationTime() argument 97 CharSequence getButtonLabel(int userId, String opPackageName, int authenticators); in getButtonLabel() argument 101 CharSequence getPromptMessage(int userId, String opPackageName, int authenticators); in getPromptMessage() argument 105 CharSequence getSettingName(int userId, String opPackageName, int authenticators); in getSettingName() argument
|
D | IBiometricService.aidl | 54 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate() argument 58 long getLastAuthenticationTime(int userId, int authenticators); in getLastAuthenticationTime() argument 106 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality() argument 110 int getSupportedModalities(int authenticators); in getSupportedModalities() argument
|
D | BiometricPrompt.java | 502 public Builder setAllowedAuthenticators(@Authenticators.Types int authenticators) { in setAllowedAuthenticators() argument 503 mPromptInfo.setAuthenticators(authenticators); in setAllowedAuthenticators() 671 final @Authenticators.Types int authenticators = mPromptInfo.getAuthenticators(); in build() local 673 || isCredentialAllowed(authenticators); in build() 1385 @Authenticators.Types int authenticators = mPromptInfo.getAuthenticators(); in authenticate() local 1386 if (authenticators == Authenticators.EMPTY_SET) { in authenticate() 1387 authenticators = Authenticators.BIOMETRIC_STRONG; in authenticate() 1389 final int biometricStrength = authenticators & Authenticators.BIOMETRIC_WEAK; in authenticate()
|
D | PromptInfo.java | 285 public void setAuthenticators(int authenticators) { in setAuthenticators() argument 286 mAuthenticators = authenticators; in setAuthenticators()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthContainerViewTest.kt | 332 authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK in <lambda>() 360 authenticators = in <lambda>() 375 authenticators = in <lambda>() 396 authenticators = 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>() 610 authenticators: Int = BiometricManager.Authenticators.BIOMETRIC_WEAK, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | BiometricTestExtensions.kt | 104 var authenticators = Authenticators.EMPTY_SET in extractAuthenticatorTypes() variable 107 authenticators = in extractAuthenticatorTypes() 108 authenticators or in extractAuthenticatorTypes() 117 return authenticators in extractAuthenticatorTypes()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptSelectorInteractorImplTest.kt | 115 authenticators = Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL in <lambda>() 151 authenticators = 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/shared/biometrics/src/com/android/systemui/biometrics/ |
D | Utils.kt | 85 (promptInfo.authenticators and Authenticators.DEVICE_CREDENTIAL) != 0 in isDeviceCredentialAllowed() 89 (promptInfo.authenticators and Authenticators.BIOMETRIC_WEAK) != 0 in isDeviceCredentialAllowed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthController.java | 918 @Authenticators.Types final int authenticators = promptInfo.getAuthenticators(); in showAuthenticationDialog() local 925 Log.d(TAG, "showAuthenticationDialog, authenticators: " + authenticators in showAuthenticationDialog()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 1858 authenticators = listOf(face, fingerprint).extractAuthenticatorTypes() in initializePrompt()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |