Home
last modified time | relevance | path

Searched refs:sensorName (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java319 String sensorName = tokenizer.nextToken(); in handleSensorSwitchCommand() local
324 if (sensorName.equals("ALL")) { in handleSensorSwitchCommand()
327 int sensorId = getSensorId(sensorName); in handleSensorSwitchCommand()
331 Log.e(TAG, "Unknown sensor in request: " + sensorName); in handleSensorSwitchCommand()
343 private static int getSensorId(String sensorName) { in getSensorId() argument
346 if (sensorName.compareToIgnoreCase("ACCELEROMETER") == 0) { in getSensorId()
348 } else if (sensorName.compareToIgnoreCase("AMBIENT_TEMPERATURE") == 0) { in getSensorId()
350 } else if (sensorName.compareToIgnoreCase("GAME_ROTATION_VECTOR") == 0) { in getSensorId()
352 } else if (sensorName.compareToIgnoreCase("GEOMAGNETIC_ROTATION_VECTOR") == 0) { in getSensorId()
354 } else if (sensorName.compareToIgnoreCase("GRAVITY") == 0) { in getSensorId()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java215 String sensorName = counterEvent.sensor.getName(); in verifyStepCounterMeasurements() local
224 sensorName); in verifyStepCounterMeasurements()
294 String sensorName = detectorEvent.sensor.getName(); in verifyStepDetectorMeasurements() local
303 sensorName); in verifyStepDetectorMeasurements()
309 getString(R.string.snsr_event_value, expectedValue, value0, sensorName); in verifyStepDetectorMeasurements()
DSignificantMotionTestActivity.java375 String sensorName = event.sensor.getName();
381 sensorName);
389 sensorName);
398 sensorName);
DOffBodySensorTestActivity.java189 String sensorName = registry.event.sensor.getName(); in verifyEvent() local
200 sensorName); in verifyEvent()
207 sensorName); in verifyEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java480 String sensorName) { in assertTimestampSynchronization() argument
488 sensorName); in assertTimestampSynchronization()