Home
last modified time | relevance | path

Searched refs:mTSample (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);
151 mTSample = std::min(mTSample, other.mTSample); in merge()
152 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
DSensorDevice.cpp339 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors()
377 result.appendFormat("%.1f%s", params.mTSample / 1e6f, in dump()
380 result.appendFormat("}, selected = %.2f ms; ", info.bestBatchParams.mTSample / 1e6f); in dump()
616 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked()
618 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activateLocked()
697 prevBestBatchParams.mTSample, info.bestBatchParams.mTSample, in batchLocked()
704 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in batchLocked()
706 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in batchLocked()
709 mSensors.get(), handle, info.bestBatchParams.mTSample, in batchLocked()
765 info.bestBatchParams.mTSample, in enableAllSensors()
[all …]