HomeSort by relevance Sort by last modified time
    Searched full:batchparams (Results 1 - 2 of 2) sorted by null

  /frameworks/native/services/sensorservice/
SensorDevice.h 113 mutable Mutex mLock; // protect mActivationCount[].batchParams
118 struct BatchParams {
120 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {}
121 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {}
122 bool operator != (const BatchParams& other) {
128 void merge(const BatchParams &other) {
135 // bestBatchParams. For every batch() call corresponding params are stored in batchParams
141 BatchParams bestBatchParams;
144 KeyedVector<void*, BatchParams> batchParams;
    [all...]
SensorDevice.cpp 145 if (info.batchParams.isEmpty()) continue;
147 result.appendFormat("0x%08x) active-count = %zu; ", handle, info.batchParams.size());
150 for (size_t j = 0; j < info.batchParams.size(); j++) {
151 const BatchParams& params = info.batchParams[j];
153 j < info.batchParams.size() - 1 ? ", " : "");
158 for (size_t j = 0; j < info.batchParams.size(); j++) {
159 const BatchParams& params = info.batchParams[j];
161 j < info.batchParams.size() - 1 ? ", " : "")
    [all...]

Completed in 1987 milliseconds