Searched refs:sensorManager (Results 1 – 4 of 4) sorted by relevance
74 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument231 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()234 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation()237 sensorManager.unregisterListener(); in createOperation()256 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()259 sensorManager.registerListener(listener); in createOperation()263 CountDownLatch flushLatch1 = sensorManager.requestFlush(); in createOperation()288 CountDownLatch flushLatch2 = sensorManager.requestFlush(); in createOperation()307 CountDownLatch flushLatch3 = sensorManager.requestFlush(); in createOperation()320 sensorManager.unregisterListener(); in createOperation()[all …]
306 SensorManager sensorManager = in getSensor() local308 if (sensorManager == null) { in getSensor()312 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor()
583 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument587 CountDownLatch eventLatch = sensorManager.registerListener(listener, mEventCount); in execute()591 CountDownLatch flushLatch = sensorManager.requestFlush(); in execute()594 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()