Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h116 struct BatchParams { struct
118 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() function
119 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams() function
120 bool operator != (const BatchParams& other) {
126 void merge(const BatchParams &other) { in merge() argument
139 BatchParams bestBatchParams;
142 KeyedVector<void*, BatchParams> batchParams;
DSensorDevice.cpp145 const BatchParams& params = info.batchParams[j]; in dump()
153 const BatchParams& params = info.batchParams[j]; in dump()
344 BatchParams params(samplingPeriodNs, maxBatchReportLatencyNs); in batch()
351 BatchParams prevBestBatchParams = info.bestBatchParams; in batch()
587 BatchParams& params = batchParams.editValueAt(index); in setBatchParamsForIdent()
594 BatchParams bestParams; // default to max Tsample and max Tbatch in selectBatchParams()