Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:mTBatch

117       nsecs_t mTSample, mTBatch;
118 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {}
119 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {}
121 return !(mTSample == other.mTSample && mTBatch == other.mTBatch);
124 // The update mTBatch will be the min of original mTBatch and the apparent batch period
125 // of the other. the apparent batch is the maximum of mTBatch and mTSample,
128 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample));