Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.h117 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);
127 mTSample = std::min(mTSample, other.mTSample); in merge()
128 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
DSensorDevice.cpp146 result.appendFormat("%.1f%s", params.mTSample / 1e6f, in dump()
149 result.appendFormat("}, selected = %.2f ms; ", info.bestBatchParams.mTSample / 1e6f); in dump()
287 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activate()
289 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch)); in activate()
358 prevBestBatchParams.mTSample, info.bestBatchParams.mTSample, in batch()
365 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in batch()
368 handle, info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch))); in batch()
371 mSensors.get(), handle, info.bestBatchParams.mTSample, in batch()
419 info.bestBatchParams.mTSample, in enableAllSensors()
588 params.mTSample = samplingPeriodNs; in setBatchParamsForIdent()
[all …]