Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp437 int64_t minSamplingPeriodInNs = sensor.minDelay * 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()
511 EXPECT_LT(std::abs(minDelayAverageInterval - minSamplingPeriodInNs), in testSamplingRateHotSwitchOperation()
512 minSamplingPeriodInNs / 10); in testSamplingRateHotSwitchOperation()
533 int64_t minSamplingPeriodInNs = sensor.minDelay * 1000ll; in testBatchingOperation() local
535 int64_t batchingPeriodInNs = minFifoCount * minSamplingPeriodInNs; in testBatchingOperation()
548 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, INT64_MAX), Result::OK); in testBatchingOperation()