/hardware/interfaces/sensors/common/default/2.X/ |
D | Sensor.cpp | 61 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()
|
D | Sensors.h | 156 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 160 sensor->second->batch(samplingPeriodNs); in batch()
|
D | Sensor.h | 58 void batch(int64_t samplingPeriodNs);
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 74 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()
|
D | SensorsSubHal.h | 61 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()
|
D | Sensor.h | 52 void batch(int64_t samplingPeriodNs);
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | SubHalWrapper.h | 72 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()
|
D | HalProxy.h | 106 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/ |
D | ISensorsWrapper.h | 87 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/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 59 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/ |
D | VtsHalSensorsV2_XTargetTest.h | 192 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/ |
D | ISensors.hal | 91 * @param samplingPeriodNs specifies sensor sample period in nanoseconds. 97 int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/common/default/2.X/multihal/ |
D | HalProxy.cpp | 263 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/ |
D | ISensors.hal | 167 * @param samplingPeriodNs specifies sensor sample period in nanoseconds. 173 int64_t samplingPeriodNs,
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 191 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
|