Searched refs:samplingPeriodUs (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 131 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor() 133 us2ns(samplingPeriodUs), 0, 0); in enableSensor() 140 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() argument 142 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()
|
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 83 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const; 88 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int maxBatchReportLatencyUs,
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 722 int samplingPeriodUs) { in registerListener() argument 723 return registerListener(listener, sensor, samplingPeriodUs, null); in registerListener() 779 int samplingPeriodUs, int maxReportLatencyUs) { in registerListener() argument 780 int delay = getDelay(samplingPeriodUs); in registerListener() 814 int samplingPeriodUs, Handler handler) { in registerListener() argument 815 int delay = getDelay(samplingPeriodUs); in registerListener() 844 … public boolean registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, in registerListener() argument 846 int delayUs = getDelay(samplingPeriodUs); in registerListener()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 109 int32_t samplingPeriodUs, int maxBatchReportLatencyUs) in ASensorEventQueue_registerSensor() argument 112 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs, in ASensorEventQueue_registerSensor()
|
/frameworks/native/include/android/ |
D | sensor.h | 400 int32_t samplingPeriodUs, int maxBatchReportLatencyUs);
|