Searched defs:enableSensor (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/services/sensorservice/
H A DBatteryService.h55 static void enableSensor(uid_t uid, int handle) { function in class:android::BatteryService
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.cpp47 Return<Result> ret = mQueueImpl->enableSensor(
59 int ASensorEventQueue::enableSensor(ASensorRef sensor) { function in class:ASensorEventQueue
/frameworks/native/services/sensorservice/hidl/
H A DEventQueue.cpp76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, function in class:android::frameworks::sensorservice::V1_0::implementation::EventQueue
78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs,
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp124 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { function in class:android::SensorEventQueue
125 return enableSensor(sensor, SENSOR_DELAY_NORMAL);
128 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { function in class:android::SensorEventQueue
137 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, function in class:android::SensorEventQueue
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java671 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) {
674 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) {
742 private int enableSensor( method in class:SystemSensorManager.BaseEventQueue

Completed in 11 milliseconds