Home
last modified time | relevance | path

Searched refs:maxDelay (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/sensors/2.0/default/
DSensor.cpp60 } 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/
DVtsHalVibratorTargetTest.cpp290 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/
DSensorsHidlTestBase.cpp149 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/
Dsensors.h509 int64_t maxDelay; member
511 int32_t maxDelay; member
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp433 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()
DHidRawSensor.h84 int64_t maxDelay; member
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp41 dst->maxDelay = src.maxDelay; in convertFromSensor()
61 dst->maxDelay = src.maxDelay; in convertToSensor()
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensor.cpp45 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/
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/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()
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/
Dstruct-offset.cpp106 CHECK_MEMBER_AT(struct sensor_t, maxDelay, 52, 72); in CheckOffsets()
/hardware/interfaces/sensors/1.0/
Dtypes.hal904 * NOTE: periodNs is in nanoseconds where as maxDelay/minDelay are in
912 int32_t maxDelay;