Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h44 struct BatchParams { struct
48 BatchParams() : flags(0), batchDelay(0), batchTimeout(0) {} in BatchParams() argument
49 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay), in BatchParams() argument
51 bool operator != (const BatchParams& other) {
64 BatchParams bestBatchParams;
67 KeyedVector<void*, BatchParams> batchParams;
DSensorDevice.cpp92 const BatchParams& params = info.batchParams.valueAt(j); in dump()
101 BatchParams params = info.batchParams.valueAt(j); in dump()
242 BatchParams params(flags, samplingPeriodNs, maxBatchReportLatencyNs); in batch()
249 BatchParams prevBestBatchParams = info.bestBatchParams; in batch()
303 BatchParams& params = info.batchParams.editValueAt(index); in setDelay()
432 BatchParams& params = batchParams.editValueAt(index); in setBatchParamsForIdent()
440 BatchParams bestParams(0, -1, -1); in selectBatchParams()
445 BatchParams params = batchParams.valueAt(i); in selectBatchParams()