Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp438 int64_t maxSamplingPeriodInNs = sensor.maxDelay * 1000ll; in testSamplingRateHotSwitchOperation() local
440 if (minSamplingPeriodInNs == maxSamplingPeriodInNs) { in testSamplingRateHotSwitchOperation()
445 int64_t firstCollectionPeriod = fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs; in testSamplingRateHotSwitchOperation()
446 int64_t secondCollectionPeriod = !fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs; in testSamplingRateHotSwitchOperation()
515 EXPECT_LT(std::abs(maxDelayAverageInterval - maxSamplingPeriodInNs), in testSamplingRateHotSwitchOperation()
516 maxSamplingPeriodInNs / 10); in testSamplingRateHotSwitchOperation()