Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h141 nsecs_t mTSample, mTBatch; member
142 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams()
143 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams()
145 return !(mTSample == other.mTSample && mTBatch == other.mTBatch);
152 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
DSensorDevice.cpp339 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors()
385 result.appendFormat("%.1f%s", params.mTBatch / 1e6f, in dump()
388 result.appendFormat("}, selected = %.2f ms\n", info.bestBatchParams.mTBatch / 1e6f); in dump()
616 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked()
618 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activateLocked()
698 prevBestBatchParams.mTBatch, info.bestBatchParams.mTBatch); in batchLocked()
704 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in batchLocked()
706 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in batchLocked()
710 info.bestBatchParams.mTBatch, strerror(-err)); in batchLocked()
766 info.bestBatchParams.mTBatch)); in enableAllSensors()
[all …]