Home
last modified time | relevance | path

Searched refs:samplingPeriodNs (Results 1 – 15 of 15) 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/2.0/multihal/tests/fake_subhal/
DSensor.cpp69 void Sensor::batch(int32_t samplingPeriodNs) { in batch() argument
70 samplingPeriodNs = in batch()
71 std::clamp(samplingPeriodNs, mSensorInfo.minDelay * 1000, mSensorInfo.maxDelay * 1000); in batch()
73 if (mSamplingPeriodNs != samplingPeriodNs) { in batch()
74 mSamplingPeriodNs = samplingPeriodNs; in batch()
DSensorsSubHal.cpp84 Return<Result> SensorsSubHal::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
88 sensor->second->batch(samplingPeriodNs); in batch()
DSensorsSubHal.h57 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
DSensor.h52 void batch(int32_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.cpp58 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
60 return S()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp143 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
145 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
810 int64_t samplingPeriodNs = extractReportMode(sensor.flags) == SensorFlagBits::ONE_SHOT_MODE in TEST_P() local
813 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/2.0/multihal/include/
DHalProxy.h79 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp206 Return<Result> HalProxy::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument
212 ->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,