Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/include/sensor/
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, int64_t maxBatchReportLatencyUs,
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp125 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { in enableSensor() function in android::SensorEventQueue
126 return enableSensor(sensor, SENSOR_DELAY_NORMAL); in enableSensor()
129 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor() function in android::SensorEventQueue
138 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() function in android::SensorEventQueue
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, in enableSensor() function in android::frameworks::sensorservice::V1_0::implementation::EventQueue
78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs, in enableSensor()
DEventQueue.h48 …Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReport…
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp43 Return<Result> ret = mQueueImpl->enableSensor( in registerSensor()
55 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor() function in ASensorEventQueue
DASensorEventQueue.h52 int enableSensor(ASensorRef sensor);
DASensorManager.cpp319 return queue->enableSensor(sensor); in ASensorEventQueue_enableSensor()
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal26 * max batch report latency. If enableSensor is called multiple times on the
39 enableSensor(int32_t sensorHandle,
DREADME124 if (q->enableSensor(sensorHandle,
/frameworks/native/services/sensorservice/
DBatteryService.h55 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
DSensorService.cpp1497 BatteryService::enableSensor(connection->getUid(), handle); in enable()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp80 q->enableSensor(accelerometer); in main()
/frameworks/base/native/android/
Dsensor.cpp218 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor()
227 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java672 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor()
675 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor()
743 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp449 return receiver->getSensorEventQueue()->enableSensor(handle, rate_us, maxBatchReportLatency, in nativeEnableSensor()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt26770 Landroid/hardware/SystemSensorManager$BaseEventQueue;->enableSensor(Landroid/hardware/Sensor;II)I