Home
last modified time | relevance | path

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

/frameworks/native/include/gui/
DSensorEventQueue.h82 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/
DSensorEventQueue.cpp127 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/
Dsensor.cpp111 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor()
118 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
/frameworks/native/services/sensorservice/
DBatteryService.h54 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
DSensorService.cpp1044 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.java538 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/
Dandroid_hardware_SensorManager.cpp399 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, in nativeEnableSensor()