Searched refs:canAuthenticate (Results 1 – 15 of 15) sorted by relevance
277 final int canAuthenticate = mBiometricManager.canAuthenticate(allowedAuthenticators); in testCredentialBoundEncryption() local278 if (canAuthenticate != BiometricManager.BIOMETRIC_SUCCESS) { in testCredentialBoundEncryption()280 + allowedAuthenticators + " Result: " + canAuthenticate); in testCredentialBoundEncryption()285 if (mBiometricManager.canAuthenticate(allowedAuthenticators) in testCredentialBoundEncryption()399 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
96 int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in checkAndEnroll()103 result = mBiometricManager.canAuthenticate(requestedStrength); in checkAndEnroll()
92 final int result = biometricManager.canAuthenticate(Authenticators.DEVICE_CREDENTIAL); in onCreate()104 final int result = biometricManager.canAuthenticate(Authenticators.DEVICE_CREDENTIAL); in onCreate()
92 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK); in onBiometricEnrollFinished()
87 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in onBiometricEnrollFinished()
154 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK)); in testCanAuthenticate_whenNoSensors()156 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG)); in testCanAuthenticate_whenNoSensors()283 () -> mBiometricManager.canAuthenticate(authenticator)); in testInvalidInputs()312 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialNotEnrolled()382 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialEnrolled()444 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()451 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()
221 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authAllowed()261 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authDisallowed()407 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()423 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()561 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthUpgraded_forSensor()
246 mBiometricManager.canAuthenticate(authenticatorStrength)).isEqualTo( in setUpNonConvenienceSensorEnrollment()253 mBiometricManager.canAuthenticate(authenticatorStrength)).isEqualTo( in setUpNonConvenienceSensorEnrollment()
78 mBiometricManager.canAuthenticate(), BiometricManager.BIOMETRIC_SUCCESS); in test_canAuthenticate()81 mBiometricManager.canAuthenticate(DEVICE_CREDENTIAL | BIOMETRIC_WEAK), in test_canAuthenticate()165 return mBiometricManager.canAuthenticate(BIOMETRIC_WEAK) in hasOnlyConvenienceSensors()
178 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
200 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
568 int biometricResponse = mBiometricManager.canAuthenticate( in verifyTestRequirements()
163 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
199 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
18874 …ecated @RequiresPermission(android.Manifest.permission.USE_BIOMETRIC) public int canAuthenticate();18875 …hod @RequiresPermission(android.Manifest.permission.USE_BIOMETRIC) public int canAuthenticate(int);