Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h144 nsecs_t mTSample, mTBatch; member
145 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams()
146 BatchParams(nsecs_t tSample, nsecs_t tBatch) : mTSample(tSample), mTBatch(tBatch) {} in BatchParams()
148 return !(mTSample == other.mTSample && mTBatch == other.mTBatch);
154 mTSample = std::min(mTSample, other.mTSample); in merge()
155 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
DSensorDevice.cpp251 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors()
289 result.appendFormat("%.1f%s%s", params.mTSample / 1e6f, in dump()
294 result.appendFormat("}, selected = %.2f ms; ", info.bestBatchParams.mTSample / 1e6f); in dump()
338 proto->write(SensorProto::SAMPLING_PERIOD_MS, params.mTSample / 1e6f); in dump()
341 proto->write(SensorProto::SAMPLING_PERIOD_SELECTED, info.bestBatchParams.mTSample / 1e6f); in dump()
530 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked()
531 mHalWrapper->batch(handle, info.bestBatchParams.mTSample, in activateLocked()
609 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch, strerror(-err)); in batchLocked()
624 prevBestBatchParams.mTSample, info.bestBatchParams.mTSample, in updateBatchParamsLocked()
631 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in updateBatchParamsLocked()
[all …]