Lines Matching refs:samplingPeriodNs
235 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() argument
239 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) { in batch()
240 samplingPeriodNs = MINIMUM_EVENTS_PERIOD; in batch()
251 ident, handle, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
257 BatchParams params(flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
261 info.setBatchParamsForIdent(ident, flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
300 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) { in setDelay() argument
302 if (samplingPeriodNs < MINIMUM_EVENTS_PERIOD) { in setDelay()
303 samplingPeriodNs = MINIMUM_EVENTS_PERIOD; in setDelay()
318 params.batchDelay = samplingPeriodNs; in setDelay()
438 int64_t samplingPeriodNs, in setBatchParamsForIdent() argument
443 ident, samplingPeriodNs, maxBatchReportLatencyNs, strerror(-index)); in setBatchParamsForIdent()
448 params.batchDelay = samplingPeriodNs; in setBatchParamsForIdent()