Searched refs:enableSensor (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 70 status_t enableSensor(Sensor const* sensor) const; 75 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int maxBatchReportLatencyUs,
|
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 127 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { in enableSensor() function in android::SensorEventQueue 135 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() function in android::SensorEventQueue
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.h | 54 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
|
D | SensorService.cpp | 892 BatteryService::enableSensor(connection->getUid(), handle); in enable()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 80 q->enableSensor(accelerometer); in main()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 330 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor() 333 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor() 401 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue
|
/frameworks/base/native/android/ |
D | sensor.cpp | 114 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 313 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, in nativeEnableSensor()
|