Home
last modified time | relevance | path

Searched refs:samplingPeriodNs (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/sensors/2.0/default/
DSensor.cpp57 void Sensor::batch(int32_t samplingPeriodNs) { in batch() argument
58 if (samplingPeriodNs < mSensorInfo.minDelay * 1000) { in batch()
59 samplingPeriodNs = mSensorInfo.minDelay * 1000; in batch()
60 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000) { in batch()
61 samplingPeriodNs = mSensorInfo.maxDelay * 1000; in batch()
64 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()
65 mSamplingPeriodNs = samplingPeriodNs; in batch()
DSensors.cpp140 Return<Result> Sensors::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
144 sensor->second->batch(samplingPeriodNs); in batch()
DSensor.h52 void batch(int32_t samplingPeriodNs);
DSensors.h71 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h74 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp48 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
50 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/1.0/
DISensors.hal91 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
97 int64_t samplingPeriodNs,
/hardware/interfaces/sensors/2.0/
DISensors.hal167 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
173 int64_t samplingPeriodNs,
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp130 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
132 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()