Home
last modified time | relevance | path

Searched refs:sensorManager (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java74 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument
231 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 …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorEnvironment.java306 SensorManager sensorManager = in getSensor() local
308 if (sensorManager == null) { in getSensor()
312 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorTest.java583 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument
587 CountDownLatch eventLatch = sensorManager.registerListener(listener, mEventCount); in execute()
591 CountDownLatch flushLatch = sensorManager.requestFlush(); in execute()
594 sensorManager.unregisterListener(); in execute()
DSingleSensorTests.java120 SensorManager sensorManager = in testSensorProperties() local
122 assertNotNull("SensorManager not present in the system.", sensorManager); in testSensorProperties()
124 Sensor sensor = sensorManager.getDefaultSensor(entry.getKey()); in testSensorProperties()