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

/frameworks/native/include/gui/
H A DSensorEventQueue.h69 status_t enableSensor(Sensor const* sensor) const;
74 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int maxBatchReportLatencyUs,
/frameworks/native/services/sensorservice/
H A DBatteryService.h54 static void enableSensor(uid_t uid, int handle) { function in class:android::BatteryService
H A DSensorService.cpp759 BatteryService::enableSensor(connection->getUid(), handle);
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp123 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { function in class:SensorEventQueue
131 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, function in class:SensorEventQueue
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp79 q->enableSensor(accelerometer);
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java259 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags) != 0) {
262 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0, 0) != 0) {
330 private int enableSensor( method in class:SystemSensorManager.BaseEventQueue
/frameworks/base/native/android/
H A Dsensor.cpp101 return static_cast<SensorEventQueue*>(queue)->enableSensor(
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp239 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency,

Completed in 1845 milliseconds