/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.cpp | 60 } else if (samplingPeriodNs > mSensorInfo.maxDelay * 1000) { in batch() 61 samplingPeriodNs = mSensorInfo.maxDelay * 1000; in batch() 209 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in AccelSensor() 228 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in PressureSensor() 247 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in MagnetometerSensor() 266 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in LightSensor() 285 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in ProximitySensor() 304 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in GyroSensor() 323 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in AmbientTempSensor() 342 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in DeviceTempSensor() [all …]
|
/hardware/interfaces/vibrator/aidl/vts/ |
D | VtsHalVibratorTargetTest.cpp | 290 int32_t maxDelay, maxSize; in TEST_P() local 292 EXPECT_EQ(Status::EX_NONE, vibrator->getCompositionDelayMax(&maxDelay).exceptionCode()); in TEST_P() 300 effect.delayMs = std::rand() % (maxDelay + 1); in TEST_P() 338 int32_t maxDelay; in TEST_P() local 340 EXPECT_EQ(Status::EX_NONE, vibrator->getCompositionDelayMax(&maxDelay).exceptionCode()); in TEST_P() 352 effect.delayMs = maxDelay + 1; in TEST_P()
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 149 void SensorsHidlTestBase::assertDelayMatchReportMode(int32_t minDelay, int32_t maxDelay, in assertDelayMatchReportMode() argument 154 ASSERT_LE(0, maxDelay); in assertDelayMatchReportMode() 158 ASSERT_LE(0, maxDelay); in assertDelayMatchReportMode() 162 ASSERT_EQ(0, maxDelay); in assertDelayMatchReportMode() 438 int64_t maxSamplingPeriodInNs = sensor.maxDelay * 1000ll; in testSamplingRateHotSwitchOperation()
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 509 int64_t maxDelay; member 511 int32_t maxDelay; member
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawSensor.cpp | 433 featureValue->maxDelay = 0; in initFeatureValueFromHidDeviceInfo() 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() 575 (long)mFeatureInfo.maxDelay, // maxDelay in validateFeatureValueAndBuildSensor() 833 mFeatureInfo.maxDelay = std::min(static_cast<int64_t>(1000000), in findSensorControlUsage() 996 << " maxDelay: " << mFeatureInfo.maxDelay << LOG_ENDL in dump()
|
D | HidRawSensor.h | 84 int64_t maxDelay; member
|
/hardware/interfaces/sensors/1.0/default/ |
D | convert.cpp | 41 dst->maxDelay = src.maxDelay; in convertFromSensor() 61 dst->maxDelay = src.maxDelay; in convertToSensor()
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 45 mSensorInfo.maxDelay = kDefaultMaxDelayUs; in Sensor() 71 std::clamp(samplingPeriodNs, mSensorInfo.minDelay * 1000, mSensorInfo.maxDelay * 1000); in batch()
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 116 static void assertDelayMatchReportMode(int32_t minDelay, int32_t maxDelay,
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 186 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P() 189 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 350 EXPECT_LE(s.minDelay, s.maxDelay); in TEST_P() 353 assertDelayMatchReportMode(s.minDelay, s.maxDelay, extractReportMode(s.flags))); in TEST_P() 722 batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */); in runFlushTest() 820 ASSERT_EQ(batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */), in TEST_P()
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 106 CHECK_MEMBER_AT(struct sensor_t, maxDelay, 52, 72); in CheckOffsets()
|
/hardware/interfaces/sensors/1.0/ |
D | types.hal | 904 * NOTE: periodNs is in nanoseconds where as maxDelay/minDelay are in 912 int32_t maxDelay;
|