Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h67 struct BatchParams { struct
71 BatchParams() : flags(0), batchDelay(0), batchTimeout(0) {} in BatchParams() argument
72 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay), in BatchParams() argument
74 bool operator != (const BatchParams& other) {
87 BatchParams bestBatchParams;
90 KeyedVector<void*, BatchParams> batchParams;
DSensorDevice.cpp108 const BatchParams& params = info.batchParams.valueAt(j); in dump()
116 BatchParams params = info.batchParams.valueAt(j); in dump()
257 BatchParams params(flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
264 BatchParams prevBestBatchParams = info.bestBatchParams; in batch()
317 BatchParams& params = info.batchParams.editValueAt(index); in setDelay()
446 BatchParams& params = batchParams.editValueAt(index); in setBatchParamsForIdent()
454 BatchParams bestParams(0, -1, -1); in selectBatchParams()
459 BatchParams params = batchParams.valueAt(i); in selectBatchParams()