Home
last modified time | relevance | path

Searched refs:bestSamplingPeriodNs (Results 1 - 2 of 2) sorted by relevance

/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_manager.cpp63 int64_t bestSamplingPeriodNs = sensorInfo.GetSamplingPeriodNs(); in SetBestSensorParams() local
65 if ((samplingPeriodNs > bestSamplingPeriodNs) && (maxReportDelayNs > bestReportDelayNs)) { in SetBestSensorParams()
69 bestSamplingPeriodNs = (samplingPeriodNs < bestSamplingPeriodNs) ? samplingPeriodNs : bestSamplingPeriodNs; in SetBestSensorParams()
71 HiLog::Debug(LABEL, "%{public}s bestSamplingPeriodNs : %{public}d", __func__, int32_t { bestSamplingPeriodNs }); in SetBestSensorParams()
72 auto ret = sensorHdiConnection_.SetBatch(sensorId, bestSamplingPeriodNs, bestReportDelayNs); in SetBestSensorParams()
/base/sensors/sensor/services/src/
H A Dsensor_manager.cpp59 int64_t bestSamplingPeriodNs = sensorInfo.GetSamplingPeriodNs(); in SetBestSensorParams() local
61 if ((samplingPeriodNs > bestSamplingPeriodNs) && (maxReportDelayNs > bestReportDelayNs)) { in SetBestSensorParams()
65 bestSamplingPeriodNs = (samplingPeriodNs < bestSamplingPeriodNs) ? samplingPeriodNs : bestSamplingPeriodNs; in SetBestSensorParams()
67 SEN_HILOGD("bestSamplingPeriodNs : %{public}" PRId64, bestSamplingPeriodNs); in SetBestSensorParams()
68 auto ret = sensorHdiConnection_.SetBatch(sensorId, bestSamplingPeriodNs, bestReportDelayNs); in SetBestSensorParams()

Completed in 2 milliseconds