Home
last modified time | relevance | path

Searched refs:MonitoredSensor (Results 1 – 3 of 3) sorted by relevance

/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java58 private final List<MonitoredSensor> mSensors = new ArrayList<MonitoredSensor>();
97 MonitoredSensor to_add = new MonitoredSensor(def_sens); in SensorChannel()
114 public List<MonitoredSensor> getSensors() { in getSensors()
182 for (MonitoredSensor sensor : mSensors) { in onEmulatorQuery()
247 for (MonitoredSensor sensor : mSensors) { in onEnableSensor()
252 final MonitoredSensor sensor = getSensorByEFN(name); in onEnableSensor()
268 for (MonitoredSensor sensor : mSensors) { in onDisableSensor()
273 MonitoredSensor sensor = getSensorByEFN(name); in onDisableSensor()
284 for (MonitoredSensor sensor : mSensors) { in startSensors()
293 for (MonitoredSensor sensor : mSensors) { in stopSensors()
[all …]
/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java36 private List<MonitoredSensor> mSensors;
43 private class MonitoredSensor implements SensorEventListener { class in TestSensorsActivity
58 MonitoredSensor(Sensor sensor) { in MonitoredSensor() method in TestSensorsActivity.MonitoredSensor
210 mSensors = new ArrayList<MonitoredSensor>(); in onCreate()
223 MonitoredSensor to_add = new MonitoredSensor(def_sens); in onCreate()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DSensorActivity.java39 import com.android.tools.sdkcontroller.handlers.SensorChannel.MonitoredSensor;
66 private final Map<MonitoredSensor, DisplayInfo> mDisplayedSensors =
67 new HashMap<SensorChannel.MonitoredSensor, SensorActivity.DisplayInfo>();
182 List<MonitoredSensor> sensors = mSensorHandler.getSensors(); in createSensorUi()
183 for (MonitoredSensor sensor : sensors) { in createSensorUi()
206 private MonitoredSensor mSensor;
210 public DisplayInfo(MonitoredSensor sensor, TableRow row) { in DisplayInfo()