Home
last modified time | relevance | path

Searched refs:mBiometricManager (Results 1 – 12 of 12) sorted by relevance

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java69 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 …]
DBiometricServiceTests.java77 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()
DBiometricSecurityTests.java186 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()
DBiometricActivityTests.java61 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()
DBiometricTestBase.java98 @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()
DBiometricCryptoTests.java86 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractBaseTest.java49 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()
DAbstractUserAuthenticationTest.java104 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()
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.java65 private BiometricManager mBiometricManager; field in IdentityCredentialAuthentication
91 mBiometricManager = getSystemService(BiometricManager.class); in onRequestPermissionsResult()
178 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
DUnlockedDeviceRequiredTest.java345 private BiometricManager mBiometricManager; field in UnlockedDeviceRequiredTest.TestController
352 mBiometricManager = activity.getSystemService(BiometricManager.class); in TestController()
526 int biometricResponse = mBiometricManager.canAuthenticate( in verifyTestRequirements()