Searched refs:mTBatch (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDevice.h | 117 nsecs_t mTSample, mTBatch; member 118 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() 119 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams() 121 return !(mTSample == other.mTSample && mTBatch == other.mTBatch); 128 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
|
D | SensorDevice.cpp | 154 result.appendFormat("%.1f%s", params.mTBatch / 1e6f, in dump() 157 result.appendFormat("}, selected = %.2f ms\n", info.bestBatchParams.mTBatch / 1e6f); in dump() 287 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activate() 289 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activate() 359 prevBestBatchParams.mTBatch, info.bestBatchParams.mTBatch); in batch() 365 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in batch() 368 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch))); in batch() 372 info.bestBatchParams.mTBatch, strerror(-err)); in batch() 420 info.bestBatchParams.mTBatch))); in enableAllSensors() 589 params.mTBatch = maxBatchReportLatencyNs; in setBatchParamsForIdent() [all …]
|