Searched refs:sensorName (Results 1 – 5 of 5) sorted by relevance
319 String sensorName = tokenizer.nextToken(); in handleSensorSwitchCommand() local324 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() argument346 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 …]
215 String sensorName = counterEvent.sensor.getName(); in verifyStepCounterMeasurements() local224 sensorName); in verifyStepCounterMeasurements()294 String sensorName = detectorEvent.sensor.getName(); in verifyStepDetectorMeasurements() local303 sensorName); in verifyStepDetectorMeasurements()309 getString(R.string.snsr_event_value, expectedValue, value0, sensorName); in verifyStepDetectorMeasurements()
375 String sensorName = event.sensor.getName();381 sensorName);389 sensorName);398 sensorName);
189 String sensorName = registry.event.sensor.getName(); in verifyEvent() local200 sensorName); in verifyEvent()207 sensorName); in verifyEvent()
480 String sensorName) { in assertTimestampSynchronization() argument488 sensorName); in assertTimestampSynchronization()