Home
last modified time | relevance | path

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

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceTests.java60 strongSensors.add(prop.getSensorId()); in testAuthenticatorIdsInvalidated()
136 prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
137 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterCredentialUnlock()
158 prop.getSensorId(), BiometricsProto.CM_RESET_LOCKOUT); in testLockoutResetRequestedAfterCredentialUnlock()
159 Log.d(TAG, "Sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterCredentialUnlock()
190 prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
191 enrollForSensor(session, prop.getSensorId()); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
192 biometricSessions.put(prop.getSensorId(), session); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
206 Log.d(TAG, "Skipping sensor: " + prop.getSensorId() in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
211 prop.getSensorId(), biometricSessions.find(prop.getSensorId())); in testLockoutResetRequestedAfterBiometricUnlock_whenStrong()
[all …]
DBiometricPromptLogoTests.java167 "test_setLogoResAndBitmap_throwsException, sensor: " + props.getSensorId()); in test_setLogoResAndBitmap_throwsException()
170 mBiometricManager.createTestSession(props.getSensorId())) { in test_setLogoResAndBitmap_throwsException()
178 () -> showDefaultBiometricPromptWithLogo(props.getSensorId(), callback, in test_setLogoResAndBitmap_throwsException()
199 Log.d(TAG, "test_setLogo, sensor: " + props.getSensorId()); in test_setLogo()
202 mBiometricManager.createTestSession(props.getSensorId())) { in test_setLogo()
209 showBiometricPromptWithLogo(testLogoRes, props.getSensorId(), callback); in test_setLogo()
220 () -> showBiometricPromptWithLogo(testLogoRes, props.getSensorId(), in test_setLogo()
DBiometricSimpleTests.java88 mBiometricManager.createTestSession(prop.getSensorId())) { in testEnroll()
89 enrollForSensor(session, prop.getSensorId()); in testEnroll()
108 assertTrue(state.mSensorStates.sensorStates.containsKey(prop.getSensorId())); in testSensorPropertiesAndDumpsysMatch()
176 Log.d(TAG, "testIsConfirmationRequired, sensor: " + props.getSensorId()); in testIsConfirmationRequired()
179 mBiometricManager.createTestSession(props.getSensorId())) { in testIsConfirmationRequired()
185 BiometricPrompt prompt = showDefaultBiometricPrompt(props.getSensorId(), callback, in testIsConfirmationRequired()
433 Log.d(TAG, "testSimpleBiometricAuth_convenience, sensor: " + props.getSensorId()); in testSimpleBiometricAuth_convenience()
436 mBiometricManager.createTestSession(props.getSensorId())) { in testSimpleBiometricAuth_convenience()
441 assertNotEquals("Sensor: " + props.getSensorId() in testSimpleBiometricAuth_convenience()
446 enrollForSensor(session, props.getSensorId()); in testSimpleBiometricAuth_convenience()
[all …]
DBiometricPromptContentViewTest.java115 + props.getSensorId()); in testMoreOptionsButton_simpleBiometricAuth_nonConvenience()
118 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_simpleBiometricAuth_nonConvenience()
137 showDefaultBiometricPromptWithContents(props.getSensorId(), 0 /* userId */, in testMoreOptionsButton_simpleBiometricAuth_nonConvenience()
171 + props.getSensorId()); in testMoreOptionsButton_clickButton()
174 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_clickButton()
183 showDefaultBiometricPromptWithContents(props.getSensorId(), 0 /* userId */, in testMoreOptionsButton_clickButton()
215 + props.getSensorId()); in testMoreOptionsButton_withoutPermissionException()
218 mBiometricManager.createTestSession(props.getSensorId())) { in testMoreOptionsButton_withoutPermissionException()
226 () -> showDefaultBiometricPromptWithContents(props.getSensorId(), in testMoreOptionsButton_withoutPermissionException()
263 + props.getSensorId()); in testMoreOptionsButton_withoutSettingListenerException()
[all …]
DBiometricActivityTests.java74 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_authenticateFromForegroundActivity()
78 session, prop.getSensorId(), activitySession); in testBiometricOnly_authenticateFromForegroundActivity()
126 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
130 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenErrorFromForegroundActivity()
199 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_rejectThenAuthenticate()
203 session, prop.getSensorId(), activitySession); in testBiometricOnly_rejectThenAuthenticate()
270 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOnly_negativeButtonInvoked()
274 session, prop.getSensorId(), activitySession); in testBiometricOnly_negativeButtonInvoked()
329 mBiometricManager.createTestSession(prop.getSensorId()); in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
333 session, prop.getSensorId(), true /* shouldEnrollBiometric */, in testBiometricOrCredential_credentialButtonInvoked_biometricEnrolled()
[all …]
DBiometricCryptoTests.java102 final String keyPrefix = "key" + prop.getSensorId(); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
106 mBiometricManager.createTestSession(prop.getSensorId())) { in testGenerateKeyWhenCredentialAndBiometricEnrolled()
108 enrollForSensor(session, prop.getSensorId()); in testGenerateKeyWhenCredentialAndBiometricEnrolled()
DBiometricTestBase.java244 assertWithMessage("Sensor: " + props.getSensorId() in setUpNonConvenienceSensorEnrollment()
249 enrollForSensor(session, props.getSensorId()); in setUpNonConvenienceSensorEnrollment()
251 assertWithMessage("Sensor: " + props.getSensorId() in setUpNonConvenienceSensorEnrollment()
546 sensors.add(prop.getSensorId()); in getSensorsOfTargetStrength()
/cts/tests/sensor/src/android/hardware/cts/
DSensorHeadTrackerTest.java207 mSensorId = mCallback.getSensorId(); in testDisconnectionReconnection()
218 Integer sensorId = mCallback.getSensorId(); in testDisconnectionReconnection()
256 secondCallback.getSensorId(), in testAddSecondSensor()
257 mCallback.getSensorId()); in testAddSecondSensor()
483 public Integer getSensorId() { in getSensorId() method in SensorHeadTrackerTest.Callback
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDynamicSensorDiscoveryTestActivity.java100 mSensorId = mCallback.getSensorId(); in test0_OnConnect()
160 Integer sensorId = mCallback.getSensorId(); in test4_OnReconnect()
272 public Integer getSensorId() { in getSensorId() method in DynamicSensorDiscoveryTestActivity.Callback
/cts/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/
DBiometricsAtomsHostSideTests.java102 final int id = p.getSensorId(); in filterSensorProperties()
138 final int sensorId = prop.getSensorId(); in testEnroll()
159 final int sensorId = prop.getSensorId(); in testAuthenticateWithBiometricPrompt()
/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/
DSensorInfo.java59 mSensors.put(sensorStateProto.getSensorId(), new Info(sensorStateProto)); in SensorInfo()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintManagerTest.java196 prop.getSensorId())) { in testEnroll()
197 testEnrollForSensor(session, prop.getSensorId()); in testEnroll()
384 final int sensorId = prop.getSensorId(); in createTestSessionsWithEnrollments()
386 testSessions.put(prop.getSensorId(), session); in createTestSessionsWithEnrollments()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DBiometricsDeviceInfo.java133 final SensorInfo sensorInfo = sensors.getOrDefault(props.getSensorId(), null); in collectDeviceInfo()
135 store.addResult(SENSOR_ID, props.getSensorId()); in collectDeviceInfo()
/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/java/apis/
Dtest-current.txt1579 method public int getSensorId();