Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/default/2.X/
DSensor.cpp61 void Sensor::batch(int64_t samplingPeriodNs) { in batch() argument
62 if (samplingPeriodNs < mSensorInfo.minDelay * 1000ll) { in batch()
63 samplingPeriodNs = mSensorInfo.minDelay * 1000ll; in batch()
64 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000ll) { in batch()
65 samplingPeriodNs = mSensorInfo.maxDelay * 1000ll; in batch()
68 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()
69 mSamplingPeriodNs = samplingPeriodNs; in batch()
DSensors.h156 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch()
160 sensor->second->batch(samplingPeriodNs); in batch()
DSensor.h58 void batch(int64_t samplingPeriodNs);
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensor.cpp74 void Sensor::batch(int64_t samplingPeriodNs) { in batch() argument
75 samplingPeriodNs = std::clamp(samplingPeriodNs, in batch()
79 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()
80 mSamplingPeriodNs = samplingPeriodNs; in batch()
DSensorsSubHal.h61 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
132 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
134 return ISensorsSubHalBase::batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
DSensor.h52 void batch(int64_t samplingPeriodNs);
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h72 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
114 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
116 return mSubHal->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
DHalProxy.h106 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
409 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
411 return HalProxy::batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h87 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
143 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
145 return mSensors->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp59 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
61 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h192 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
194 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
693 int64_t samplingPeriodNs = extractReportMode(sensor.flags) == SensorFlagBits::ONE_SHOT_MODE in TEST_P() local
696 ASSERT_EQ(batch(sensor.sensorHandle, samplingPeriodNs, 0 /* maxReportLatencyNs */), in TEST_P()
/hardware/interfaces/sensors/1.0/
DISensors.hal91 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
97 int64_t samplingPeriodNs,
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp263 Return<Result> HalProxy::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
269 ->batch(clearSubHalIndex(sensorHandle), samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/2.0/
DISensors.hal167 * @param samplingPeriodNs specifies sensor sample period in nanoseconds.
173 int64_t samplingPeriodNs,
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h191 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,