Searched refs:sensorManager (Results 1 – 5 of 5) sorted by relevance
77 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument237 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()240 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation()243 sensorManager.unregisterListener(); in createOperation()265 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()268 sensorManager.registerListener(listener); in createOperation()272 CountDownLatch flushLatch1 = sensorManager.requestFlush(); in createOperation()301 CountDownLatch flushLatch2 = sensorManager.requestFlush(); in createOperation()320 CountDownLatch flushLatch3 = sensorManager.requestFlush(); in createOperation()333 sensorManager.unregisterListener(); in createOperation()[all …]
383 SensorManager sensorManager = in getSensor() local385 if (sensorManager == null) { in getSensor()389 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor()
58 SensorManager sensorManager = (SensorManager) in collectDeviceInfo() local60 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in collectDeviceInfo()
586 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument590 CountDownLatch eventLatch = sensorManager.registerListener(listener, mEventCount); in execute()594 CountDownLatch flushLatch = sensorManager.requestFlush(); in execute()597 sensorManager.unregisterListener(); in execute()
120 SensorManager sensorManager = in testSensorProperties() local122 assertNotNull("SensorManager not present in the system.", sensorManager); in testSensorProperties()124 Sensor sensor = sensorManager.getDefaultSensor(entry.getKey()); in testSensorProperties()