Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensor.cpp74 void Sensor::batch(int32_t samplingPeriodNs) { in batch() argument
75 samplingPeriodNs = in batch()
76 std::clamp(samplingPeriodNs, mSensorInfo.minDelay * 1000, mSensorInfo.maxDelay * 1000); in batch()
78 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()
79 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()
DSensorsSubHal.cpp118 Return<Result> ISensorsSubHalBase::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
122 sensor->second->batch(samplingPeriodNs); in batch()
DSensor.h52 void batch(int32_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/common/default/2.X/
DSensors.h170 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch()
174 sensor->second->batch(samplingPeriodNs); in batch()
DSensor.h57 void batch(int32_t samplingPeriodNs);
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp57 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
59 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h190 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
192 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
668 int64_t samplingPeriodNs = extractReportMode(sensor.flags) == SensorFlagBits::ONE_SHOT_MODE in TEST_P() local
671 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.cpp261 Return<Result> HalProxy::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
267 ->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.h188 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,