Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h321 int64_t minSamplingPeriodInNs = sensor.minDelay * 1000ll; variable
324 if (minSamplingPeriodInNs == maxSamplingPeriodInNs) {
329 int64_t firstCollectionPeriod = fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs;
331 !fastToSlow ? minSamplingPeriodInNs : maxSamplingPeriodInNs;
397 EXPECT_LT(std::abs(minDelayAverageInterval - minSamplingPeriodInNs),
398 minSamplingPeriodInNs / 10);
419 int64_t minSamplingPeriodInNs = sensor.minDelay * 1000ll; in testBatchingOperation() local
421 int64_t batchingPeriodInNs = minFifoCount * minSamplingPeriodInNs; in testBatchingOperation()
430 minFifoCount = (uint32_t)(batchingPeriodInNs / minSamplingPeriodInNs); in testBatchingOperation()
437 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, INT64_MAX), Result::OK); in testBatchingOperation()