/hardware/interfaces/sensors/common/default/2.X/ |
D | Sensor.cpp | 62 void Sensor::batch(int64_t samplingPeriodNs) { in batch() argument 63 if (samplingPeriodNs < mSensorInfo.minDelay * 1000LL) { in batch() 64 samplingPeriodNs = mSensorInfo.minDelay * 1000LL; in batch() 65 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000LL) { in batch() 66 samplingPeriodNs = mSensorInfo.maxDelay * 1000LL; in batch() 69 if (mSamplingPeriodNs != samplingPeriodNs) { in batch() 70 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/aidl/default/ |
D | Sensor.cpp | 54 void Sensor::batch(int64_t samplingPeriodNs) { in batch() argument 55 if (samplingPeriodNs < mSensorInfo.minDelayUs * 1000LL) { in batch() 56 samplingPeriodNs = mSensorInfo.minDelayUs * 1000LL; in batch() 57 } else if (samplingPeriodNs > mSensorInfo.maxDelayUs * 1000LL) { in batch() 58 samplingPeriodNs = mSensorInfo.maxDelayUs * 1000LL; in batch() 61 if (mSamplingPeriodNs != samplingPeriodNs) { in batch() 62 mSamplingPeriodNs = samplingPeriodNs; in batch()
|
/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() 80 if (mSamplingPeriodNs != samplingPeriodNs) { in batch() 81 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 | SensorsSubHal.cpp | 118 Return<Result> ISensorsSubHalBase::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 122 sensor->second->batch(samplingPeriodNs); 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, 411 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 413 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/aidl/android/hardware/sensors/ |
D | ISensors.aidl | 58 void batch(in int sensorHandle, in long samplingPeriodNs, in long maxReportLatencyNs); in batch() argument
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/current/android/hardware/sensors/ |
D | ISensors.aidl | 38 void batch(in int sensorHandle, in long samplingPeriodNs, in long maxReportLatencyNs); in batch() argument
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/2/android/hardware/sensors/ |
D | ISensors.aidl | 38 void batch(in int sensorHandle, in long samplingPeriodNs, in long maxReportLatencyNs); in batch() argument
|
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/1/android/hardware/sensors/ |
D | ISensors.aidl | 38 void batch(in int sensorHandle, in long samplingPeriodNs, in long maxReportLatencyNs); in batch() argument
|
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/ |
D | Sensor.h | 48 void batch(int64_t samplingPeriodNs);
|
/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 | 191 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 193 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch() 709 int64_t samplingPeriodNs = extractReportMode(sensor.flags) == SensorFlagBits::ONE_SHOT_MODE in TEST_P() local 712 ASSERT_EQ(batch(sensor.sensorHandle, samplingPeriodNs, 0 /* maxReportLatencyNs */), in TEST_P()
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 361 ndk::ScopedAStatus batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 363 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch() 821 int64_t samplingPeriodNs = in TEST_P() local 825 checkIsOk(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 | 277 Return<Result> HalProxy::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() argument 283 ->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,
|