/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.cpp | 57 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()
|
D | Sensors.cpp | 140 Return<Result> Sensors::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 144 sensor->second->batch(samplingPeriodNs); in batch()
|
D | Sensor.h | 52 void batch(int32_t samplingPeriodNs);
|
D | Sensors.h | 71 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 69 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()
|
D | SensorsSubHal.cpp | 84 Return<Result> SensorsSubHal::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 88 sensor->second->batch(samplingPeriodNs); in batch()
|
D | SensorsSubHal.h | 57 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
|
D | Sensor.h | 52 void batch(int32_t samplingPeriodNs);
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 74 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 58 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/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 143 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/ |
D | ISensors.hal | 91 * @param samplingPeriodNs specifies sensor sample period in nanoseconds. 97 int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/2.0/multihal/include/ |
D | HalProxy.h | 79 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | HalProxy.cpp | 206 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/ |
D | ISensors.hal | 167 * @param samplingPeriodNs specifies sensor sample period in nanoseconds. 173 int64_t samplingPeriodNs,
|