Searched refs:sensor (Results 1 – 4 of 4) sorted by relevance
182 for (MonitoredSensor sensor : mSensors) { in onEmulatorQuery()186 final byte[] name = sensor.getEmulatorFriendlyName().getBytes(); in onEmulatorQuery()189 resp.putInt(sensor.getType()); in onEmulatorQuery()247 for (MonitoredSensor sensor : mSensors) { in onEnableSensor()248 sensor.enableSensor(); in onEnableSensor()252 final MonitoredSensor sensor = getSensorByEFN(name); in onEnableSensor() local253 if (sensor != null) { in onEnableSensor()254 sensor.enableSensor(); in onEnableSensor()268 for (MonitoredSensor sensor : mSensors) { in onDisableSensor()269 sensor.disableSensor(); in onDisableSensor()[all …]
183 for (MonitoredSensor sensor : sensors) { in createSensorUi()188 mDisplayedSensors.put(sensor, new DisplayInfo(sensor, row)); in createSensorUi()210 public DisplayInfo(MonitoredSensor sensor, TableRow row) { in DisplayInfo() argument211 mSensor = sensor; in DisplayInfo()216 mChk.setText(sensor.getUiName()); in DisplayInfo()217 mChk.setEnabled(sensor.isEnabledByEmulator()); in DisplayInfo()218 mChk.setChecked(sensor.isEnabledByUser()); in DisplayInfo()223 mVal.setText(sensor.getValue()); in DisplayInfo()
58 MonitoredSensor(Sensor sensor) { in MonitoredSensor() argument59 mSensor = sensor; in MonitoredSensor()80 switch (sensor.getType()) { in MonitoredSensor()197 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
16 sending sensor data, sending multi-touch events, receiving screen updates,21 will run in the background (e.g. sending sensor data) whereas other might