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

/frameworks/hardware/interfaces/sensorservice/1.0/
H A DIEventQueue.hal31 * @param samplingPeriodUs
40 int32_t samplingPeriodUs,
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.cpp45 int32_t samplingPeriodUs,
49 samplingPeriodUs,
67 ASensorRef sensor, int32_t samplingPeriodUs) {
71 sensor, samplingPeriodUs, 0 /* maxBatchReportLatencyUs */);
43 registerSensor( ASensorRef sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument
66 setEventRate( ASensorRef sensor, int32_t samplingPeriodUs) argument
H A DASensorEventQueue.h47 int32_t samplingPeriodUs,
53 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
H A DASensorManager.cpp307 int32_t samplingPeriodUs,
312 sensor, samplingPeriodUs, maxBatchReportLatencyUs);
304 ASensorEventQueue_registerSensor( ASensorEventQueue* queue, ASensor const* sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument
/frameworks/native/services/sensorservice/hidl/
H A DEventQueue.cpp76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, argument
78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs,
H A DEventQueue.h48 Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) override;
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp128 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const {
130 us2ns(samplingPeriodUs), 0, 0);
137 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, argument
139 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs),
/frameworks/native/libs/sensor/include/sensor/
H A 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/native/android/
H A Dsensor.cpp209 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) {
212 if (samplingPeriodUs < 0 || maxBatchReportLatencyUs < 0) {
213 ERROR_INVALID_PARAMETER("samplingPeriodUs and maxBatchReportLatencyUs cannot be negative");
218 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs,
208 ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs) argument
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java713 * @param samplingPeriodUs The rate {@link android.hardware.SensorEvent sensor events} are
727 int samplingPeriodUs) {
728 return registerListener(listener, sensor, samplingPeriodUs, null);
767 * @param samplingPeriodUs The desired delay between two consecutive events in microseconds.
784 int samplingPeriodUs, int maxReportLatencyUs) {
785 int delay = getDelay(samplingPeriodUs);
803 * @param samplingPeriodUs The rate {@link android.hardware.SensorEvent sensor events} are
819 int samplingPeriodUs, Handler handler) {
820 int delay = getDelay(samplingPeriodUs);
833 * @param samplingPeriodUs Th
726 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs) argument
783 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs) argument
818 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, Handler handler) argument
849 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs, Handler handler) argument
[all...]
/frameworks/native/include/android/
H A Dsensor.h629 * \param samplingPeriodUs sampling period of sensor in microseconds.
635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/native/include_sensor/android/
H A Dsensor.h629 * \param samplingPeriodUs sampling period of sensor in microseconds.
635 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);

Completed in 295 milliseconds