Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricManagerTest.java66 private BiometricManager mBiometricManager; field in BiometricManagerTest
71 mBiometricManager = mContext.getSystemService(BiometricManager.class); in setUp()
78 mBiometricManager.canAuthenticate(), BiometricManager.BIOMETRIC_SUCCESS); in test_canAuthenticate()
81 mBiometricManager.canAuthenticate(DEVICE_CREDENTIAL | BIOMETRIC_WEAK), in test_canAuthenticate()
88 final CharSequence biometricLabel = mBiometricManager.getStrings(BIOMETRIC_WEAK) in test_getButtonLabel_isDifferentForDistinctAuthTypes()
90 final CharSequence credentialLabel = mBiometricManager.getStrings(DEVICE_CREDENTIAL) in test_getButtonLabel_isDifferentForDistinctAuthTypes()
102 final CharSequence biometricOrCredentialLabel = mBiometricManager.getStrings( in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
105 mBiometricManager.getStrings(BIOMETRIC_WEAK).getButtonLabel(); in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
106 final CharSequence credentialLabel = mBiometricManager.getStrings( in test_getButtonLabel_isNonEmptyIfPresentForSubAuthType()
123 final CharSequence biometricMessage = mBiometricManager.getStrings(BIOMETRIC_WEAK) in test_getPromptMessage_isDifferentForDistinctAuthTypes()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java88 mBiometricManager.createTestSession(prop.getSensorId())) { in testEnroll()
154 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_WEAK)); in testCanAuthenticate_whenNoSensors()
156 mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG)); in testCanAuthenticate_whenNoSensors()
179 mBiometricManager.createTestSession(props.getSensorId())) { in testIsConfirmationRequired()
283 () -> mBiometricManager.canAuthenticate(authenticator)); in testInvalidInputs()
312 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialNotEnrolled()
382 final int result = mBiometricManager.canAuthenticate(BiometricManager in testWhenCredentialEnrolled()
436 mBiometricManager.createTestSession(props.getSensorId())) { in testSimpleBiometricAuth_convenience()
444 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()
451 mBiometricManager.canAuthenticate(authenticatorStrength)); in testSimpleBiometricAuth_convenience()
[all …]
DBiometricServiceTests.java81 mBiometricManager.createTestSession(sensorId); in testAuthenticatorIdsInvalidated_forSensor()
106 final BiometricTestSession session = mBiometricManager.createTestSession(id); in testAuthenticatorIdsInvalidated_forSensor()
135 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetRequestedAfterCredentialUnlock()
189 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
286 BiometricTestSession session = mBiometricManager.createTestSession( in testLockoutResetNotRequestedAfterBiometricUnlock_whenNotStrong()
344 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricsRemovedWhenCredentialRemoved()
362 BiometricTestSession session = mBiometricManager.createTestSession( in testRemoveBiometricEnrollments()
DBiometricSecurityTests.java212 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrength_forSensor_authAllowed()
221 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authAllowed()
253 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrength_forSensor_authDisallowed()
261 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrength_forSensor_authDisallowed()
386 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrengthDowngraded_forSensor()
407 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()
423 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthDowngraded_forSensor()
546 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId); in testBiometricStrengthUpgraded_forSensor()
561 int errCode = mBiometricManager.canAuthenticate(requestedStrength); in testBiometricStrengthUpgraded_forSensor()
DBiometricActivityTests.java74 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity()
126 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
199 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenAuthenticate()
270 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_negativeButtonInvoked()
329 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
354 BiometricTestSession session = mBiometricManager.createTestSession( in testBiometricOrCredential_credentialButtonInvoked_biometricNotEnrolled()
DBiometricTestBase.java123 @NonNull protected BiometricManager mBiometricManager; field in BiometricTestBase
163 return mDevice.findObject(By.res(mBiometricManager.getUiPackage(), id)); in findView()
175 return mDevice.wait(Until.findObject(By.res(mBiometricManager.getUiPackage(), id)), in waitForView()
246 mBiometricManager.canAuthenticate(authenticatorStrength)).isEqualTo( in setUpNonConvenienceSensorEnrollment()
253 mBiometricManager.canAuthenticate(authenticatorStrength)).isEqualTo( in setUpNonConvenienceSensorEnrollment()
573 mBiometricManager = mInstrumentation.getContext().getSystemService(BiometricManager.class); in setUp()
577 mSensorProperties = mBiometricManager.getSensorProperties(); in setUp()
DBiometricPromptContentViewTest.java118 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_simpleBiometricAuth_nonConvenience()
174 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_clickButton()
218 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_withoutPermissionException()
266 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_withoutSettingListenerException()
374 mBiometricManager.createTestSession(props.getSensorId())) { in testVerticalList_simpleBiometricAuth_nonConvenience()
DBiometricPromptLogoTests.java170 mBiometricManager.createTestSession(props.getSensorId())) { in test_setLogoResAndBitmap_throwsException()
202 mBiometricManager.createTestSession(props.getSensorId())) { in test_setLogo()
DBiometricCryptoTests.java106 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.java106 private BiometricManager mBiometricManager; field in AbstractUserAuthenticationTest
126 mBiometricManager = getSystemService(BiometricManager.class); in onCreate()
277 final int canAuthenticate = mBiometricManager.canAuthenticate(allowedAuthenticators); in testCredentialBoundEncryption()
285 if (mBiometricManager.canAuthenticate(allowedAuthenticators) in testCredentialBoundEncryption()
399 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/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/
DBiometricsAtomsHostSideTests.java74 private BiometricManager mBiometricManager; field in BiometricsAtomsHostSideTests
85 mBiometricManager = mInstrumentation.getContext().getSystemService(BiometricManager.class); in setup()
87 mSensorProperties = filterSensorProperties(mBiometricManager.getSensorProperties()); in setup()
88 mUiPackage = mBiometricManager.getUiPackage(); in setup()
139 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId)) { in testEnroll()
160 try (BiometricTestSession session = mBiometricManager.createTestSession(sensorId)) { in testAuthenticateWithBiometricPrompt()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintManagerTest.java120 @Nullable private BiometricManager mBiometricManager; field in FingerprintManagerTest
130 mBiometricManager = mInstrumentation.getContext() in setUp()
135 assumeTrue(mBiometricManager != null); in setUp()
139 mSensorProperties = mBiometricManager.getSensorProperties().stream() in setUp()
195 try (BiometricTestSession session = mBiometricManager.createTestSession( in testEnroll()
/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()
DIdentityCredentialAuthenticationMultiDocument.java67 private BiometricManager mBiometricManager; field in IdentityCredentialAuthenticationMultiDocument
118 mBiometricManager = getSystemService(BiometricManager.class); in onRequestPermissionsResult()
200 final int result = mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG); in startTest()
DUnlockedDeviceRequiredKeysTest.java349 private BiometricManager mBiometricManager; field in UnlockedDeviceRequiredKeysTest.TestController
356 mBiometricManager = activity.getSystemService(BiometricManager.class); in TestController()
568 int biometricResponse = mBiometricManager.canAuthenticate( in verifyTestRequirements()
DFingerprintBoundKeysTest.java75 private BiometricManager mBiometricManager; field in FingerprintBoundKeysTest
100 mBiometricManager = getSystemService(BiometricManager.class); in onCreate()
163 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java76 private BiometricManager mBiometricManager; field in AuthenticationBoundKeyTestActivity
98 mBiometricManager = (BiometricManager) getSystemService(BIOMETRIC_SERVICE); in onCreate()
199 return mBiometricManager.canAuthenticate(Authenticators.BIOMETRIC_STRONG) in hasStrongBiometrics()