Home
last modified time | relevance | path

Searched refs:samplingPeriodUs (Results 1 – 16 of 16) 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.java738 int samplingPeriodUs) { in registerListener() argument
739 return registerListener(listener, sensor, samplingPeriodUs, null); in registerListener()
795 int samplingPeriodUs, int maxReportLatencyUs) { in registerListener() argument
796 int delay = getDelay(samplingPeriodUs); in registerListener()
830 int samplingPeriodUs, Handler handler) { in registerListener() argument
831 int delay = getDelay(samplingPeriodUs); in registerListener()
861 int samplingPeriodUs, int maxReportLatencyUs, Handler handler) { in registerListener() argument
862 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/base/core/java/android/hardware/input/
DIInputManager.aidl131 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument
DInputManager.java1194 public boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument
1197 return mIm.enableSensor(deviceId, sensorType, samplingPeriodUs, in enableSensor()
/frameworks/native/include_sensor/android/
Dsensor.h741 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/native/include/android/
Dsensor.h741 int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs);
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java355 int samplingPeriodUs, int maxBatchReportLatencyUs); in nativeEnableSensor() argument
2420 public boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument
2423 return nativeEnableSensor(mPtr, deviceId, sensorType, samplingPeriodUs, in enableSensor()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2243 jint sensorType, jint samplingPeriodUs, in nativeEnableSensor() argument
2250 std::chrono::microseconds(samplingPeriodUs), in nativeEnableSensor()