Searched refs:sampling_period_ns (Results 1 - 7 of 7) sorted by relevance

/device/google/cuttlefish_common/guest/hals/sensors/
H A Dvsoc_sensors.h107 int SetDelay(int handle, int64_t sampling_period_ns);
129 int Batch(int sensor_handle, int flags, int64_t sampling_period_ns, argument
132 return SetDelay(sensor_handle, sampling_period_ns);
H A Dvsoc_sensors.cpp183 int GceSensors::SetDelay(int handle, int64_t sampling_period_ns) { argument
189 if (sampling_period_ns < min_delay_ns) {
190 sampling_period_ns = min_delay_ns;
197 sensor_states_[handle]->sampling_period_ = Nanoseconds(sampling_period_ns);
211 Milliseconds(Nanoseconds(sampling_period_ns)).count());
/device/google/contexthub/sensorhal/
H A 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,
H A Dsensors.cpp113 int64_t sampling_period_ns,
119 return h->batch(handle, sampling_period_ns, max_report_latency_ns);
182 int64_t sampling_period_ns,
186 handle, sampling_period_ns, max_report_latency_ns);
287 int handle, int64_t sampling_period_ns,
290 int64_t sampling_period_ns_clamped = sampling_period_ns;
298 if ((sampling_period_ns/1000) < sensor.minDelay) {
300 } else if ((sampling_period_ns/1000) > sensor.maxDelay) {
351 int SensorContext::DynamicSensorManagerOperation::batch(int handle, int64_t sampling_period_ns, argument
353 return mDynamicSensorManager->batch(handle, sampling_period_ns, max_report_latency_n
111 batch( int handle, int64_t sampling_period_ns, int64_t max_report_latency_ns) argument
178 BatchWrapper( struct sensors_poll_device_1 *dev, int handle, int flags, int64_t sampling_period_ns, int64_t max_report_latency_ns) argument
286 batch( int handle, int64_t sampling_period_ns, int64_t max_report_latency_ns) argument
[all...]
H A Dhubconnection.cpp1717 void HubConnection::queueSetDelay(int handle, nsecs_t sampling_period_ns) argument
1725 if (sampling_period_ns > 0 &&
1728 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns);
1736 cmd.sensorType, handle, sampling_period_ns);
1739 cmd.sensorType, handle, sampling_period_ns);
1741 ALOGV("queueSetDelay: unhandled handle=%d, period=%" PRId64, handle, sampling_period_ns);
1747 nsecs_t sampling_period_ns,
1756 if (sampling_period_ns > 0 &&
1759 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns);
1769 cmd.sensorType, handle, sampling_period_ns, max_report_latency_n
1745 queueBatch( int handle, nsecs_t sampling_period_ns, nsecs_t max_report_latency_ns) argument
[all...]
H A Dhubconnection.h72 void queueBatch(int handle, nsecs_t sampling_period_ns,
/device/generic/goldfish/sensors/
H A Dsensors_qemu.c682 int64_t sampling_period_ns,
684 return sensor_device_set_delay(dev, sensor_handle, sampling_period_ns);
678 sensor_device_default_batch( struct sensors_poll_device_1* dev, int sensor_handle, int flags, int64_t sampling_period_ns, int64_t max_report_latency_ns) argument

Completed in 117 milliseconds