/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricSimpleTests.java | 69 mBiometricManager.createTestSession(prop.getSensorId())){ in testEnroll() 121 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK)); in testCanAuthenticate_whenNoSensors() 123 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG)); in testCanAuthenticate_whenNoSensors() 141 () -> mBiometricManager.canAuthenticate(authenticator)); in testInvalidInputs() 161 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialNotEnrolled() 202 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialEnrolled() 249 mBiometricManager.createTestSession(props.getSensorId())) { in testSimpleBiometricAuth_convenience() 257 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience() 264 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience() 295 mBiometricManager.createTestSession(props.getSensorId())) { in testSimpleBiometricAuth_nonConvenience() [all …]
|
D | BiometricServiceTests.java | 77 mBiometricManager.createTestSession(sensorId); in testAuthenticatorIdsInvalidated_forSensor() 96 final BiometricTestSession session = mBiometricManager.createTestSession(id); in testAuthenticatorIdsInvalidated_forSensor() 125 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock() 174 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong() 269 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong() 332 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricsRemovedWhenCredentialRemoved()
|
D | BiometricSecurityTests.java | 186 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrength_forSensor_authAllowed() 195 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authAllowed() 233 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrength_forSensor_authDisallowed() 241 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authDisallowed() 366 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrengthDowngraded_forSensor() 388 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor() 411 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor() 534 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrengthUpgraded_forSensor() 549 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthUpgraded_forSensor()
|
D | BiometricActivityTests.java | 61 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity() 114 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity() 181 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenAuthenticate() 249 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_negativeButtonInvoked() 301 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled() 321 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOrCredential_credentialButtonInvoked_biometricNotEnrolled()
|
D | BiometricTestBase.java | 98 @NonNull protected BiometricManager mBiometricManager; field in BiometricTestBase 129 return mDevice.findObject(By.res(mBiometricManager.getUiPackage(), id)); in findView() 473 mBiometricManager = mInstrumentation.getContext().getSystemService(BiometricManager.class); in setUp() 477 mSensorProperties = mBiometricManager.getSensorProperties(); in setUp() 516 BiometricTestSession session = mBiometricManager.createTestSession( in cleanup()
|
D | BiometricCryptoTests.java | 86 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | AbstractBaseTest.java | 49 BiometricManager mBiometricManager; field in AbstractBaseTest 54 mBiometricManager = getSystemService(BiometricManager.class); in onCreate() 96 int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in checkAndEnroll() 103 result = mBiometricManager.canAuthenticate(requestedStrength); in checkAndEnroll()
|
D | AbstractUserAuthenticationTest.java | 104 private BiometricManager mBiometricManager; field in AbstractUserAuthenticationTest 124 mBiometricManager = getSystemService(BiometricManager.class); in onCreate() 275 final int canAuthenticate = mBiometricManager.canAuthenticate(allowedAuthenticators); in testCredentialBoundEncryption() 283 if (mBiometricManager.canAuthenticate(allowedAuthenticators) in testCredentialBoundEncryption() 390 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
|
D | BiometricWeakTests.java | 92 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in onBiometricEnrollFinished()
|
D | BiometricStrongTests.java | 87 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in onBiometricEnrollFinished()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | IdentityCredentialAuthentication.java | 65 private BiometricManager mBiometricManager; field in IdentityCredentialAuthentication 91 mBiometricManager = getSystemService(BiometricManager.class); in onRequestPermissionsResult() 178 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
|
D | UnlockedDeviceRequiredTest.java | 345 private BiometricManager mBiometricManager; field in UnlockedDeviceRequiredTest.TestController 352 mBiometricManager = activity.getSystemService(BiometricManager.class); in TestController() 526 int biometricResponse = mBiometricManager.canAuthenticate( in verifyTestRequirements()
|