Lines Matching refs:batch
156 // Log error. Every activate call should be preceded by a batch() call.
157 ALOGE("\t >>>ERROR: activate called without batch");
169 // Call batch for this sensor with the previously calculated best effort
171 // events, and the best effort batch parameters might have changed.
173 "\t>>> actuating h/w batch %d %d %" PRId64 " %" PRId64, handle,
176 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
199 // On older devices which do not support batch, call setDelay().
210 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
220 // Batch is not supported on older devices return invalid operation.
225 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64,
235 // A batch has already been called with this ident. Update the batch parameters.
250 // If the min period or min timeout has changed since the last batch call, call batch.
253 ALOGD_IF(DEBUG_CONNECTIONS, "\t>>> actuating h/w BATCH %d %d %" PRId64 " %" PRId64, handle,
256 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags,
260 // For older devices which do not support batch, call setDelay() after activate() is
265 ALOGE("sensor batch failed %p %d %d %" PRId64 " %" PRId64 " err=%s",
284 // Calling setDelay() in batch mode is an invalid operation.