Searched refs:mTSample (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDevice.h | 149 nsecs_t mTSample, mTBatch; member 150 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() 151 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams() 153 return !(mTSample == other.mTSample && mTBatch == other.mTBatch); 159 mTSample = std::min(mTSample, other.mTSample); in merge() 160 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
|
D | SensorDevice.cpp | 408 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors() 446 result.appendFormat("%.1f%s%s", params.mTSample / 1e6f, in dump() 450 result.appendFormat("}, selected = %.2f ms; ", info.bestBatchParams.mTSample / 1e6f); in dump() 493 proto->write(SensorProto::SAMPLING_PERIOD_MS , params.mTSample / 1e6f); in dump() 496 proto->write(SensorProto::SAMPLING_PERIOD_SELECTED , info.bestBatchParams.mTSample / 1e6f); in dump() 727 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked() 729 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activateLocked() 809 mSensors.get(), handle, info.bestBatchParams.mTSample, in batchLocked() 825 prevBestBatchParams.mTSample, info.bestBatchParams.mTSample, in updateBatchParamsLocked() 832 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in updateBatchParamsLocked() [all …]
|