Home
last modified time | relevance | path

Searched refs:enableSensor (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/include/gui/
DSensorEventQueue.h70 status_t enableSensor(Sensor const* sensor) const;
75 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int maxBatchReportLatencyUs,
/frameworks/native/libs/gui/
DSensorEventQueue.cpp127 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/
DBatteryService.h54 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
DSensorService.cpp892 BatteryService::enableSensor(connection->getUid(), handle); in enable()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp80 q->enableSensor(accelerometer); in main()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java330 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/
Dsensor.cpp114 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp313 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, in nativeEnableSensor()