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 39 mutable Mutex mLock; // protect mActivationCount[].batchParams
44 struct BatchParams {
47 BatchParams() : flags(0), batchDelay(0), batchTimeout(0) {}
48 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay),
50 bool operator != (const BatchParams& other) {
57 // bestBatchParams. For every batch() call corresponding params are stored in batchParams
63 BatchParams bestBatchParams;
66 KeyedVector<void*, BatchParams> batchParams;
75 // Removes batchParams for an ident and re-computes bestBatchParams. Returns the index o
    [all...]
SensorDevice.cpp 82 info.batchParams.size());
83 for (size_t j = 0; j < info.batchParams.size(); j++) {
84 BatchParams params = info.batchParams.valueAt(j);
86 j < info.batchParams.size() - 1 ? ", " : "");
91 info.batchParams.size());
92 for (size_t j = 0; j < info.batchParams.size(); j++) {
93 BatchParams params = info.batchParams.valueAt(j);
95 j < info.batchParams.size() - 1 ? ", " : "")
    [all...]

Completed in 49 milliseconds