Home
last modified time | relevance | path

Searched refs:delayNs (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/sensorhal/
Dsensors.cpp91 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay() argument
96 return h->setDelay(handle, delayNs); in setDelay()
167 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper() argument
168 return reinterpret_cast<SensorContext *>(dev)->setDelay(handle, delayNs); in SetDelayWrapper()
262 int SensorContext::HubConnectionOperation::setDelay(int handle, int64_t delayNs) { in setDelay() argument
264 int64_t delayNsClamped = delayNs; in setDelay()
272 if ((delayNs/1000) < sensor.minDelay) { in setDelay()
274 } else if ((delayNs/1000) > sensor.maxDelay) { in setDelay()
347 int SensorContext::DynamicSensorManagerOperation::setDelay(int handle, int64_t delayNs) { in setDelay() argument
348 return mDynamicSensorManager->setDelay(handle, delayNs); in setDelay()
Dsensors.h62 int setDelay(int handle, int64_t delayNs);
87 struct sensors_poll_device_t *dev, int handle, int64_t delayNs);
111 virtual int setDelay(int handle, int64_t delayNs) = 0;
124 virtual int setDelay(int handle, int64_t delayNs) override;
147 virtual int setDelay(int handle, int64_t delayNs) override;
Dhubconnection.h70 void queueSetDelay(int handle, nsecs_t delayNs);