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.h49 int32_t samplingPeriodUs,
55 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.cpp129 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor()
131 us2ns(samplingPeriodUs), 0, 0); in enableSensor()
138 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() argument
140 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.h83 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const;
88 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
/frameworks/base/core/java/android/hardware/
DSensorManager.java729 int samplingPeriodUs) { in registerListener() argument
730 return registerListener(listener, sensor, samplingPeriodUs, null); in registerListener()
786 int samplingPeriodUs, int maxReportLatencyUs) { in registerListener() argument
787 int delay = getDelay(samplingPeriodUs); in registerListener()
821 int samplingPeriodUs, Handler handler) { in registerListener() argument
822 int delay = getDelay(samplingPeriodUs); in registerListener()
852 int samplingPeriodUs, int maxReportLatencyUs, Handler handler) { in registerListener() argument
853 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.cpp210 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) { in ASensorEventQueue_registerSensor() argument
213 if (samplingPeriodUs < 0 || maxBatchReportLatencyUs < 0) { in ASensorEventQueue_registerSensor()
219 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()
/frameworks/native/include/android/
Dsensor.h723 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/native/include_sensor/android/
Dsensor.h723 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);