Home
last modified time | relevance | path

Searched refs:BatchParams (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDevice.h143 struct BatchParams { struct
145 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() function
146 BatchParams(nsecs_t tSample, nsecs_t tBatch) : mTSample(tSample), mTBatch(tBatch) {} in BatchParams() argument
147 bool operator!=(const BatchParams& other) {
153 void merge(const BatchParams& other) { in merge() argument
166 BatchParams bestBatchParams;
169 KeyedVector<void*, BatchParams> batchParams;
DSensorDevice.cpp249 const BatchParams& batchParams = info.batchParams[j]; in reactivateSensors()
288 const BatchParams& params = info.batchParams[j]; in dump()
298 const BatchParams& params = info.batchParams[j]; in dump()
337 const BatchParams& params = info.batchParams[j]; in dump()
599 BatchParams params(samplingPeriodNs, maxBatchReportLatencyNs); in batchLocked()
617 BatchParams prevBestBatchParams = info.bestBatchParams; in updateBatchParamsLocked()
729 BatchParams& params = info.batchParams.editValueAt(index); in onMicSensorAccessChanged()
880 BatchParams& params = batchParams.editValueAt(index); in setBatchParamsForIdent()
887 BatchParams bestParams; // default to max Tsample and max Tbatch in selectBatchParams()