Home
last modified time | relevance | path

Searched refs:minDelay (Results 1 – 23 of 23) sorted by relevance

/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.primary.cpp411 list->minDelay = COMPASS_MPU9150_MINDELAY; in fillList()
412 mMinDelay = list->minDelay; in fillList()
422 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
423 mMinDelay = list->minDelay; in fillList()
433 list->minDelay = COMPASS_AKM8963_MINDELAY; in fillList()
434 mMinDelay = list->minDelay; in fillList()
444 list->minDelay = COMPASS_AKM9911_MINDELAY; in fillList()
445 mMinDelay = list->minDelay; in fillList()
455 list->minDelay = COMPASS_AKM9912_MINDELAY; in fillList()
456 mMinDelay = list->minDelay; in fillList()
[all …]
DCompassSensor.IIO.9150.cpp301 list->minDelay = COMPASS_MPU9150_MINDELAY; in fillList()
311 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
321 list->minDelay = COMPASS_AKM8963_MINDELAY; in fillList()
331 list->minDelay = COMPASS_AKM9911_MINDELAY; in fillList()
341 list->minDelay = COMPASS_AKM9912_MINDELAY; in fillList()
350 list->minDelay = COMPASS_MPU9350_MINDELAY; in fillList()
357 list->minDelay = COMPASS_YAS53x_MINDELAY; in fillList()
364 list->minDelay = COMPASS_AMI306_MINDELAY; in fillList()
374 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
DPressureSensor.IIO.secondary.cpp165 list->minDelay = PRESSURE_BMP280_MINDELAY; in fillList()
166 mMinDelay = list->minDelay; in fillList()
176 list->minDelay = PRESSURE_BMP280_MINDELAY; in fillList()
177 mMinDelay = list->minDelay; in fillList()
DCompassSensor.AKM.cpp161 list->minDelay = COMPASS_AKM8963_MINDELAY; in fillList()
168 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
178 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
DMPLSensor.cpp5130 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY;
5136 list[Accelerometer].minDelay = ACCEL_MPU6050_MINDELAY;
5142 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
5148 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
5154 list[Accelerometer].minDelay = ACCEL_MPU9150_MINDELAY;
5160 list[Accelerometer].minDelay = ACCEL_MPU9250_MINDELAY;
5166 list[Accelerometer].minDelay = ACCEL_MPU9255_MINDELAY;
5172 list[Accelerometer].minDelay = ACCEL_MPU9350_MINDELAY;
5178 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY;
5189 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY;
[all …]
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.primary.cpp411 list->minDelay = COMPASS_MPU9150_MINDELAY; in fillList()
412 mMinDelay = list->minDelay; in fillList()
421 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
422 mMinDelay = list->minDelay; in fillList()
429 list->minDelay = COMPASS_AMI306_MINDELAY; in fillList()
430 mMinDelay = list->minDelay; in fillList()
439 list->minDelay = COMPASS_YAS53x_MINDELAY; in fillList()
440 mMinDelay = list->minDelay; in fillList()
451 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
452 mMinDelay = list->minDelay; in fillList()
DPressureSensor.IIO.secondary.cpp166 list->minDelay = PRESSURE_BMP280_MINDELAY; in fillList()
167 mMinDelay = list->minDelay; in fillList()
177 list->minDelay = PRESSURE_BMP280_MINDELAY; in fillList()
178 mMinDelay = list->minDelay; in fillList()
DCompassSensor.AKM.cpp161 list->minDelay = COMPASS_AKM8963_MINDELAY; in fillList()
168 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
178 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
DCompassSensor.IIO.9150.cpp299 list->minDelay = COMPASS_MPU9150_MINDELAY; in fillList()
309 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
318 list->minDelay = COMPASS_MPU9350_MINDELAY; in fillList()
325 list->minDelay = COMPASS_YAS53x_MINDELAY; in fillList()
332 list->minDelay = COMPASS_AMI306_MINDELAY; in fillList()
342 list->minDelay = COMPASS_AKM8975_MINDELAY; in fillList()
DMPLSensor.cpp4765 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY; in fillAccel()
4771 list[Accelerometer].minDelay = ACCEL_MPU6050_MINDELAY; in fillAccel()
4777 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY; in fillAccel()
4783 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY; in fillAccel()
4789 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY; in fillAccel()
4795 list[Accelerometer].minDelay = ACCEL_MPU6500_MINDELAY; in fillAccel()
4801 list[Accelerometer].minDelay = ACCEL_MPU9150_MINDELAY; in fillAccel()
4807 list[Accelerometer].minDelay = ACCEL_MPU9250_MINDELAY; in fillAccel()
4813 list[Accelerometer].minDelay = ACCEL_MPU9350_MINDELAY; in fillAccel()
4819 list[Accelerometer].minDelay = ACCEL_BMA250_MINDELAY; in fillAccel()
[all …]
/hardware/interfaces/sensors/2.0/default/
DSensor.cpp58 if (samplingPeriodNs < mSensorInfo.minDelay * 1000) { in batch()
59 samplingPeriodNs = mSensorInfo.minDelay * 1000; in batch()
208 mSensorInfo.minDelay = 20 * 1000; // microseconds in AccelSensor()
227 mSensorInfo.minDelay = 100 * 1000; // microseconds in PressureSensor()
246 mSensorInfo.minDelay = 20 * 1000; // microseconds in MagnetometerSensor()
265 mSensorInfo.minDelay = 200 * 1000; // microseconds in LightSensor()
284 mSensorInfo.minDelay = 200 * 1000; // microseconds in ProximitySensor()
303 mSensorInfo.minDelay = 2.5f * 1000; // microseconds in GyroSensor()
322 mSensorInfo.minDelay = 40 * 1000; // microseconds in AmbientTempSensor()
341 mSensorInfo.minDelay = 40 * 1000; // microseconds in DeviceTempSensor()
[all …]
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensor.cpp71 std::clamp(samplingPeriodNs, mSensorInfo.minDelay * 1000, mSensorInfo.maxDelay * 1000); in batch()
222 mSensorInfo.minDelay = 20 * 1000; // microseconds in AccelSensor()
248 mSensorInfo.minDelay = 100 * 1000; // microseconds in PressureSensor()
259 mSensorInfo.minDelay = 20 * 1000; // microseconds in MagnetometerSensor()
270 mSensorInfo.minDelay = 200 * 1000; // microseconds in LightSensor()
281 mSensorInfo.minDelay = 200 * 1000; // microseconds in ProximitySensor()
293 mSensorInfo.minDelay = 2.5f * 1000; // microseconds in GyroSensor()
318 mSensorInfo.minDelay = 40 * 1000; // microseconds in AmbientTempSensor()
329 mSensorInfo.minDelay = 40 * 1000; // microseconds in DeviceTempSensor()
341 mSensorInfo.minDelay = 40 * 1000; // microseconds in RelativeHumiditySensor()
DSensorsSubHal.cpp148 stream << "Min delay: " << info.minDelay << std::endl; in debug()
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp149 void SensorsHidlTestBase::assertDelayMatchReportMode(int32_t minDelay, int32_t maxDelay, in assertDelayMatchReportMode() argument
153 ASSERT_LT(0, minDelay); in assertDelayMatchReportMode()
157 ASSERT_LE(0, minDelay); in assertDelayMatchReportMode()
161 ASSERT_EQ(-1, minDelay); in assertDelayMatchReportMode()
378 if (std::chrono::microseconds(sensor.minDelay) > samplingPeriod) { in testStreamingOperation()
437 int64_t minSamplingPeriodInNs = sensor.minDelay * 1000ll; in testSamplingRateHotSwitchOperation()
533 int64_t minSamplingPeriodInNs = sensor.minDelay * 1000ll; in testBatchingOperation()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp350 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P()
353 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
624 batch(sensorInfo.sensorHandle, sensorInfo.minDelay, 0 /* maxReportLatencyNs */); in activateAllSensors()
812 : sensor.minDelay; in TEST_P()
828 ASSERT_EQ(batch(sensor.sensorHandle, sensor.minDelay, 0 /* maxReportLatencyNs */), in TEST_P()
839 batch(sensor.sensorHandle, sensor.minDelay, 0 /* maxReportLatencyNs */); in TEST_P()
870 milliseconds minDelay = duration_cast<milliseconds>(microseconds(sensor.minDelay)); in TEST_P() local
871 maxMinDelay = milliseconds(std::max(maxMinDelay.count(), minDelay.count())); in TEST_P()
919 milliseconds sensorMinDelay = duration_cast<milliseconds>(microseconds(sensor.minDelay)); in TEST_P()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp432 featureValue->minDelay = 0; in initFeatureValueFromHidDeviceInfo()
521 if (mFeatureInfo.minDelay < 0) { in validateFeatureValueAndBuildSensor()
524 if (mFeatureInfo.maxDelay != 0 && mFeatureInfo.maxDelay < mFeatureInfo.minDelay) { in validateFeatureValueAndBuildSensor()
529 if (mFeatureInfo.minDelay != -1 && mFeatureInfo.maxDelay != 0) { in validateFeatureValueAndBuildSensor()
534 if (mFeatureInfo.minDelay != -1 && mFeatureInfo.maxDelay != 0) { in validateFeatureValueAndBuildSensor()
570 mFeatureInfo.minDelay, // minDelay in validateFeatureValueAndBuildSensor()
832 mFeatureInfo.minDelay = std::max(static_cast<int64_t>(1), reportInterval->minRaw) * 1000; in findSensorControlUsage()
995 << " minDelay: " << mFeatureInfo.minDelay << LOG_ENDL in dump()
DHidRawSensor.h83 int32_t minDelay; member
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp36 dst->minDelay = src.minDelay; in convertFromSensor()
56 dst->minDelay = src.minDelay; in convertToSensor()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h116 static void assertDelayMatchReportMode(int32_t minDelay, int32_t maxDelay,
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp186 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P()
189 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
/hardware/libhardware/include/hardware/
Dsensors.h460 int32_t minDelay; member
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp101 CHECK_MEMBER_AT(struct sensor_t, minDelay, 32, 40); in CheckOffsets()
/hardware/interfaces/sensors/1.0/
Dtypes.hal868 int32_t minDelay;
904 * NOTE: periodNs is in nanoseconds where as maxDelay/minDelay are in