Searched refs:enableSensor (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 82 status_t enableSensor(Sensor const* sensor) const; 83 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const; 88 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 128 return enableSensor(sensor, SENSOR_DELAY_NORMAL); in enableSensor() 131 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor() function in android::SensorEventQueue 140 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() function in android::SensorEventQueue
|
/frameworks/base/native/android/ |
D | sensor.cpp | 111 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor() 118 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.h | 54 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
|
D | SensorService.cpp | 1044 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 | 538 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor() 541 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor() 609 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 399 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, in nativeEnableSensor()
|