Home
last modified time | relevance | path

Searched refs:sampling_period_ns (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/sensorhal/
Dsensors.cpp113 int64_t sampling_period_ns, in batch() argument
119 return h->batch(handle, sampling_period_ns, max_report_latency_ns); in batch()
182 int64_t sampling_period_ns, in BatchWrapper() argument
186 handle, sampling_period_ns, max_report_latency_ns); in BatchWrapper()
287 int handle, int64_t sampling_period_ns, in batch() argument
290 int64_t sampling_period_ns_clamped = sampling_period_ns; in batch()
298 if ((sampling_period_ns/1000) < sensor.minDelay) { in batch()
300 } else if ((sampling_period_ns/1000) > sensor.maxDelay) { in batch()
351 int SensorContext::DynamicSensorManagerOperation::batch(int handle, int64_t sampling_period_ns, in batch() argument
353 return mDynamicSensorManager->batch(handle, sampling_period_ns, max_report_latency_ns); in batch()
Dsensors.h65 int batch(int handle, int64_t sampling_period_ns,
96 int64_t sampling_period_ns,
113 int handle, int64_t sampling_period_ns,
126 int handle, int64_t sampling_period_ns,
149 int handle, int64_t sampling_period_ns,
Dhubconnection.cpp1622 void HubConnection::queueSetDelay(int handle, nsecs_t sampling_period_ns) in queueSetDelay() argument
1630 if (sampling_period_ns > 0 && in queueSetDelay()
1633 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueSetDelay()
1641 cmd.sensorType, handle, sampling_period_ns); in queueSetDelay()
1644 cmd.sensorType, handle, sampling_period_ns); in queueSetDelay()
1646 ALOGV("queueSetDelay: unhandled handle=%d, period=%" PRId64, handle, sampling_period_ns); in queueSetDelay()
1652 nsecs_t sampling_period_ns, in queueBatch() argument
1661 if (sampling_period_ns > 0 && in queueBatch()
1664 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueBatch()
1674 cmd.sensorType, handle, sampling_period_ns, max_report_latency_ns); in queueBatch()
[all …]
Dhubconnection.h71 void queueBatch(int handle, nsecs_t sampling_period_ns,