Searched refs:sensorManager (Results 1 – 9 of 9) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 78 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument 239 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation() 242 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation() 245 sensorManager.unregisterListener(); in createOperation() 267 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation() 270 sensorManager.registerListener(listener); in createOperation() 274 CountDownLatch flushLatch1 = sensorManager.requestFlush(); in createOperation() 303 CountDownLatch flushLatch2 = sensorManager.requestFlush(); in createOperation() 322 CountDownLatch flushLatch3 = sensorManager.requestFlush(); in createOperation() 335 sensorManager.unregisterListener(); in createOperation() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | EventSanitizationTestActivity.java | 61 final SensorManager sensorManager = getApplicationContext() in testNoTriggerEventsWhileUidIdle() local 63 final Sensor sensor = sensorManager.getDefaultSensor( in testNoTriggerEventsWhileUidIdle() 82 sensorManager.requestTriggerSensor(listener, sensor); in testNoTriggerEventsWhileUidIdle() 93 sensorManager.cancelTriggerSensor(listener, sensor); in testNoTriggerEventsWhileUidIdle() 105 final SensorManager sensorManager = getApplicationContext() in testNoOnChangeEventsWhileUidIdle() local 107 final Sensor sensor = sensorManager.getDefaultSensor( in testNoOnChangeEventsWhileUidIdle() 131 sensorManager.registerListener(listener, sensor, in testNoOnChangeEventsWhileUidIdle() 143 sensorManager.unregisterListener(listener, sensor); in testNoOnChangeEventsWhileUidIdle()
|
D | StepSensorPermissionTestActivity.java | 212 public AccelRecorder(SensorManager sensorManager) { in AccelRecorder() argument 213 mSensorManager = sensorManager; in AccelRecorder()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | TestSensorEnvironment.java | 383 SensorManager sensorManager = in getSensor() local 385 if (sensorManager == null) { in getSensor() 389 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | StartActivity.java | 61 SensorManager sensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); in onCreate() local 62 if (sensorManager.getDefaultSensor(Sensor.TYPE_POSE_6DOF) == null) { in onCreate()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | SensorDeviceInfo.java | 67 SensorManager sensorManager = (SensorManager) in collectDeviceInfo() local 69 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in collectDeviceInfo()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorIntegrationTests.java | 239 SensorManager sensorManager = in verifySensorReconfigureWhileActive() local 241 assertNotNull("SensorService is not present in the system", sensorManager); in verifySensorReconfigureWhileActive() 243 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in verifySensorReconfigureWhileActive()
|
D | SingleSensorTests.java | 120 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()
|
D | SensorTest.java | 723 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument 727 CountDownLatch eventLatch = sensorManager.registerListener(listener, mEventCount); in execute() 734 CountDownLatch flushLatch = sensorManager.requestFlush(); in execute() 737 sensorManager.unregisterListener(); in execute()
|