Searched refs:mTSample (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.h | 157 nsecs_t mTSample, mTBatch; member 158 BatchParams() : mTSample(INT64_MAX), mTBatch(INT64_MAX) {} in BatchParams() 159 BatchParams(nsecs_t tSample, nsecs_t tBatch): mTSample(tSample), mTBatch(tBatch) {} in BatchParams() 161 return !(mTSample == other.mTSample && mTBatch == other.mTBatch); 167 mTSample = std::min(mTSample, other.mTSample); in merge() 168 mTBatch = std::min(mTBatch, std::max(other.mTBatch, other.mTSample)); in merge()
|
H A D | SensorDevice.cpp | 408 batchParams.mTSample, batchParams.mTBatch); in reactivateSensors() 446 result.appendFormat("%.1f%s%s", params.mTSample / 1e6f, in dump() 493 proto->write(SensorProto::SAMPLING_PERIOD_MS , params.mTSample / 1e6f); in dump() 731 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in activateLocked() 813 mSensors.get(), handle, info.bestBatchParams.mTSample, in batchLocked() 829 prevBestBatchParams.mTSample, info.bestBatchParams.mTSample, in updateBatchParamsLocked() 836 info.bestBatchParams.mTSample, info.bestBatchParams.mTBatch); in updateBatchParamsLocked() 936 params.mTSample = samplingPeriodNs; in onMicSensorAccessChanged() 958 info.bestBatchParams.mTSample, in enableAllSensors() 1132 params.mTSample = samplingPeriodNs; in setBatchParamsForIdent() [all …]
|