Searched refs:mTBatch (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDevice.h | 145 nsecs_t mTSample, mTBatch; member 146 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() 147 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams() 149 return !(mTSample == other.mTSample && mTBatch == other.mTBatch); 156 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
|
D | SensorDevice.cpp | 401 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors() 448 result.appendFormat("%.1f%s%s", params.mTBatch / 1e6f, in dump() 452 result.appendFormat("}, selected = %.2f ms\n", info.bestBatchParams.mTBatch / 1e6f); in dump() 487 proto->write(SensorProto::BATCHING_PERIOD_MS , params.mTBatch / 1e6f); in dump() 490 proto->write(SensorProto::BATCHING_PERIOD_SELECTED , info.bestBatchParams.mTBatch / 1e6f); in dump() 720 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked() 722 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activateLocked() 803 info.bestBatchParams.mTBatch, strerror(-err)); in batchLocked() 819 prevBestBatchParams.mTBatch, info.bestBatchParams.mTBatch); in updateBatchParamsLocked() 825 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in updateBatchParamsLocked() [all …]
|