Home
last modified time | relevance | path

Searched refs:canAuthenticate (Results 1 – 9 of 9) sorted by relevance

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java121 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()
257 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()
264 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()
303 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_nonConvenience()
310 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_nonConvenience()
DBiometricSecurityTests.java195 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authAllowed()
241 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authDisallowed()
388 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()
411 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()
549 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthUpgraded_forSensor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractUserAuthenticationTest.java275 final int canAuthenticate = mBiometricManager.canAuthenticate(allowedAuthenticators); in testCredentialBoundEncryption() local
276 if (canAuthenticate != BiometricManager.BIOMETRIC_SUCCESS) { in testCredentialBoundEncryption()
278 + allowedAuthenticators + " Result: " + canAuthenticate); in testCredentialBoundEncryption()
283 if (mBiometricManager.canAuthenticate(allowedAuthenticators) in testCredentialBoundEncryption()
390 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
DAbstractBaseTest.java96 int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in checkAndEnroll()
103 result = mBiometricManager.canAuthenticate(requestedStrength); in checkAndEnroll()
DCredentialCryptoTests.java92 final int result = biometricManager.canAuthenticate(Authenticators.DEVICE_CREDENTIAL); in onCreate()
104 final int result = biometricManager.canAuthenticate(Authenticators.DEVICE_CREDENTIAL); in onCreate()
DBiometricWeakTests.java92 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in onBiometricEnrollFinished()
DBiometricStrongTests.java87 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in onBiometricEnrollFinished()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthentication.java178 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
DUnlockedDeviceRequiredTest.java526 int biometricResponse = mBiometricManager.canAuthenticate( in verifyTestRequirements()