Home
last modified time | relevance | path

Searched refs:samplingPeriodUs (Results 1 – 12 of 12) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp45 int32_t samplingPeriodUs, in registerSensor() argument
49 samplingPeriodUs, in registerSensor()
67 ASensorRef sensor, int32_t samplingPeriodUs) { in setEventRate() argument
71 sensor, samplingPeriodUs, 0 /* maxBatchReportLatencyUs */); in setEventRate()
DASensorEventQueue.h47 int32_t samplingPeriodUs,
53 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
DASensorManager.cpp307 int32_t samplingPeriodUs, in ASensorEventQueue_registerSensor() argument
312 sensor, samplingPeriodUs, maxBatchReportLatencyUs); in ASensorEventQueue_registerSensor()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp128 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor()
130 us2ns(samplingPeriodUs), 0, 0); in enableSensor()
137 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() argument
139 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, in enableSensor() argument
78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs, in enableSensor()
DEventQueue.h48 …Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReport…
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h82 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const;
87 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
/frameworks/base/core/java/android/hardware/
DSensorManager.java727 int samplingPeriodUs) { in registerListener() argument
728 return registerListener(listener, sensor, samplingPeriodUs, null); in registerListener()
784 int samplingPeriodUs, int maxReportLatencyUs) { in registerListener() argument
785 int delay = getDelay(samplingPeriodUs); in registerListener()
819 int samplingPeriodUs, Handler handler) { in registerListener() argument
820 int delay = getDelay(samplingPeriodUs); in registerListener()
850 int samplingPeriodUs, int maxReportLatencyUs, Handler handler) { in registerListener() argument
851 int delayUs = getDelay(samplingPeriodUs); in registerListener()
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal31 * @param samplingPeriodUs
40 int32_t samplingPeriodUs,
/frameworks/base/native/android/
Dsensor.cpp209 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) { in ASensorEventQueue_registerSensor() argument
212 if (samplingPeriodUs < 0 || maxBatchReportLatencyUs < 0) { in ASensorEventQueue_registerSensor()
218 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()
/frameworks/native/include_sensor/android/
Dsensor.h635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/native/include/android/
Dsensor.h635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);