Home
last modified time | relevance | path

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

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceTests.java55 strongSensors.add(prop.getSensorId()); in testAuthenticatorIdsInvalidated()
125 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
126 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
145 prop.getSensorId(), BiometricsProto.CM_RESET_LOCKOUT); in testLockoutResetRequestedAfterCredentialUnlock()
146 Log.d(TAG, "Sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterCredentialUnlock()
174 BiometricTestSession session = mBiometricManager.createTestSession(prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
175 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
176 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
190 Log.d(TAG, "Skipping sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
195 prop.getSensorId(), biometricSessions.get(prop.getSensorId())); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
[all …]
DBiometricSimpleTests.java69 mBiometricManager.createTestSession(prop.getSensorId())){ in testEnroll()
70 enrollForSensor(session, prop.getSensorId()); in testEnroll()
86 assertTrue(state.mSensorStates.sensorStates.containsKey(prop.getSensorId())); in testSensorPropertiesAndDumpsysMatch()
246 Log.d(TAG, "testSimpleBiometricAuth_convenience, sensor: " + props.getSensorId()); in testSimpleBiometricAuth_convenience()
249 mBiometricManager.createTestSession(props.getSensorId())) { in testSimpleBiometricAuth_convenience()
254 assertNotEquals("Sensor: " + props.getSensorId() in testSimpleBiometricAuth_convenience()
259 enrollForSensor(session, props.getSensorId()); in testSimpleBiometricAuth_convenience()
261 assertNotEquals("Sensor: " + props.getSensorId() in testSimpleBiometricAuth_convenience()
269 showDefaultBiometricPrompt(props.getSensorId(), 0 /* userId */, in testSimpleBiometricAuth_convenience()
292 Log.d(TAG, "testSimpleBiometricAuth, sensor: " + props.getSensorId()); in testSimpleBiometricAuth_nonConvenience()
[all …]
DBiometricActivityTests.java61 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity()
65 session, prop.getSensorId(), activitySession); in testBiometricOnly_authenticateFromForegroundActivity()
114 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
118 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
181 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenAuthenticate()
185 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenAuthenticate()
249 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_negativeButtonInvoked()
253 session, prop.getSensorId(), activitySession); in testBiometricOnly_negativeButtonInvoked()
301 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
305 session, prop.getSensorId(), true /* shouldEnrollBiometric */, in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
[all …]
DBiometricCryptoTests.java82 final String keyPrefix = "key" + prop.getSensorId(); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
86 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
88 enrollForSensor(session, prop.getSensorId()); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
DBiometricTestBase.java446 sensors.add(prop.getSensorId()); in getSensorsOfTargetStrength()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDynamicSensorDiscoveryTestActivity.java93 mSensorId = mCallback.getSensorId(); in test0_OnConnect()
149 Integer sensorId = mCallback.getSensorId(); in test4_OnReconnect()
261 public Integer getSensorId() { in getSensorId() method in DynamicSensorDiscoveryTestActivity.Callback
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintServiceTest.java150 = mFingerprintManager.createTestSession(prop.getSensorId())){ in testEnroll()
151 testEnrollForSensor(session, prop.getSensorId()); in testEnroll()
188 mFingerprintManager.createTestSession(prop.getSensorId()); in testAuthenticateFromForegroundActivity()
248 mFingerprintManager.createTestSession(prop.getSensorId()); in testRejectThenErrorFromForegroundActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java213 final int sensorId = getSensorId(sensor); in processClientRequest()
327 int sensorId = getSensorId(sensorName); in handleSensorSwitchCommand()
343 private static int getSensorId(String sensorName) { in getSensorId() method in PowerTestHostLink
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dtest-current.txt1098 method public int getSensorId();