Home
last modified time | relevance | path

Searched refs:sensorId (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java213 final int sensorId = getSensorId(sensor); in processClientRequest() local
214 if (mSensorManager.getDefaultSensor(sensorId) == null) { in processClientRequest()
327 int sensorId = getSensorId(sensorName); in handleSensorSwitchCommand() local
328 if (sensorId >= 0) { in handleSensorSwitchCommand()
329 response = switchSensor(sensorId, switchOn, requestRate); in handleSensorSwitchCommand()
344 int sensorId = -1; in getSensorId() local
347 sensorId = Sensor.TYPE_ACCELEROMETER; in getSensorId()
349 sensorId = Sensor.TYPE_AMBIENT_TEMPERATURE; in getSensorId()
351 sensorId = Sensor.TYPE_GAME_ROTATION_VECTOR; in getSensorId()
353 sensorId = Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR; in getSensorId()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDynamicSensorDiscoveryTestActivity.java148 Integer sensorId = mCallback.getSensorId(); in test4_OnReconnect() local
149 boolean match = mSensorId != null && sensorId != null && in test4_OnReconnect()
150 sensorId.intValue() == mSensorId.intValue(); in test4_OnReconnect()