Searched refs:sensorId (Results 1 – 2 of 2) sorted by relevance
213 final int sensorId = getSensorId(sensor); in processClientRequest() local214 if (mSensorManager.getDefaultSensor(sensorId) == null) { in processClientRequest()327 int sensorId = getSensorId(sensorName); in handleSensorSwitchCommand() local328 if (sensorId >= 0) { in handleSensorSwitchCommand()329 response = switchSensor(sensorId, switchOn, requestRate); in handleSensorSwitchCommand()344 int sensorId = -1; in getSensorId() local347 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 …]
148 Integer sensorId = mCallback.getSensorId(); in test4_OnReconnect() local149 boolean match = mSensorId != null && sensorId != null && in test4_OnReconnect()150 sensorId.intValue() == mSensorId.intValue(); in test4_OnReconnect()