Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java146 int delayUs, Handler handler, int maxBatchReportLatencyUs, int reservedFlags) { in registerListenerImpl() argument
156 if (maxBatchReportLatencyUs < 0 || delayUs < 0) { in registerListenerImpl()
179 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs)) { in registerListenerImpl()
186 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs); in registerListenerImpl()
634 int maxBatchReportLatencyUs); in nativeEnableSensor() argument
664 Sensor sensor, int delayUs, int maxBatchReportLatencyUs) { in addSensor() argument
672 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor()
674 if (maxBatchReportLatencyUs == 0 in addSensor()
675 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor()
744 Sensor sensor, int rateUs, int maxBatchReportLatencyUs) { in enableSensor() argument
[all …]
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp77 int64_t maxBatchReportLatencyUs) { in enableSensor() argument
79 maxBatchReportLatencyUs, 0 /* reserved flags */)); in enableSensor()
DEventQueue.h48 …leSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) override;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp42 int64_t maxBatchReportLatencyUs) { in registerSensor() argument
46 maxBatchReportLatencyUs); in registerSensor()
DASensorEventQueue.h50 int64_t maxBatchReportLatencyUs);
DASensorManager.cpp308 int64_t maxBatchReportLatencyUs) { in ASensorEventQueue_registerSensor() argument
312 sensor, samplingPeriodUs, maxBatchReportLatencyUs); in ASensorEventQueue_registerSensor()
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal33 * @param maxBatchReportLatencyUs
41 int64_t maxBatchReportLatencyUs)
/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()
220 maxBatchReportLatencyUs, 0); in ASensorEventQueue_registerSensor()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp139 int64_t maxBatchReportLatencyUs, int reservedFlags) const { in enableSensor() argument
141 us2ns(maxBatchReportLatencyUs), reservedFlags); in enableSensor()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h88 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
/frameworks/native/include_sensor/android/
Dsensor.h727 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/native/include/android/
Dsensor.h727 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);