/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 78 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument 247 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation() 250 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation() 253 sensorManager.unregisterListener(); in createOperation() 275 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation() 278 sensorManager.registerListener(listener); in createOperation() 282 CountDownLatch flushLatch1 = sensorManager.requestFlush(); in createOperation() 311 CountDownLatch flushLatch2 = sensorManager.requestFlush(); in createOperation() 330 CountDownLatch flushLatch3 = sensorManager.requestFlush(); in createOperation() 343 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 | 416 SensorManager sensorManager = in getSensor() local 418 if (sensorManager == null) { in getSensor() 422 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/tests/sensor/sensorratepermission/EventConnectionAPI31/src/android/sensorratepermission/cts/eventconnectionapi31/ |
D | EventConnectionAPI31Test.java | 73 SensorManager sensorManager = context.getSystemService(SensorManager.class); in setUp() local 74 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in setUp()
|
/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 | SensorTest.java | 760 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute() argument 764 CountDownLatch eventLatch = sensorManager.registerListener(listener, mEventCount); in execute() 770 sensorManager.assertFlushFail(); in execute() 772 CountDownLatch flushLatch = sensorManager.requestFlush(); in execute() 776 sensorManager.unregisterListener(); in execute()
|
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()
|
/cts/tests/sensor/sensorratepermission/EventConnectionAPI30/src/android/sensorratepermission/cts/eventconnectionapi30/ |
D | EventConnectionAPI30Test.java | 79 SensorManager sensorManager = context.getSystemService(SensorManager.class); in setUp() local 80 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in setUp()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceSensorManagerTest.java | 219 SensorManager sensorManager = inputDevice.getSensorManager(); in getSensorManager() local 220 assertNotNull("getSensorManager returns null", sensorManager); in getSensorManager() 223 return sensorManager; in getSensorManager()
|