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

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

Completed in 2190 milliseconds