Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp1105 int64_t maxSamplingPeriodInNs = sensor.maxDelay * 1000ll; in testSamplingRateHotSwitchOperation() local
1107 if (minSamplingPeriodInNs == maxSamplingPeriodInNs) { in testSamplingRateHotSwitchOperation()
1112 int64_t firstCollectionPeriod = fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs; in testSamplingRateHotSwitchOperation()
1113 int64_t secondCollectionPeriod = !fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs; in testSamplingRateHotSwitchOperation()
1182 EXPECT_LT(std::abs(maxDelayAverageInterval - maxSamplingPeriodInNs), in testSamplingRateHotSwitchOperation()
1183 maxSamplingPeriodInNs / 10); in testSamplingRateHotSwitchOperation()