Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp367 const int64_t batchingPeriodInNs = 0; // no batching in testStreamingOperation() local
385 ASSERT_EQ(batch(handle, samplingPeriodInNs, batchingPeriodInNs), Result::OK); in testStreamingOperation()
425 constexpr int64_t batchingPeriodInNs = 0; // no batching in testSamplingRateHotSwitchOperation() local
449 ASSERT_EQ(batch(handle, firstCollectionPeriod, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
456 ASSERT_EQ(batch(handle, secondCollectionPeriod, batchingPeriodInNs), Result::OK); in testSamplingRateHotSwitchOperation()
535 int64_t batchingPeriodInNs = minFifoCount * minSamplingPeriodInNs; in testBatchingOperation() local
537 if (batchingPeriodInNs < oneSecondInNs) { in testBatchingOperation()
542 batchingPeriodInNs = std::min(batchingPeriodInNs, maxBatchingTestTimeNs); in testBatchingOperation()
544 ALOGI("Test batching for %d ms", (int)(batchingPeriodInNs / 1000 / 1000)); in testBatchingOperation()
546 int64_t allowedBatchDeliverTimeNs = std::max(oneSecondInNs, batchingPeriodInNs / 10); in testBatchingOperation()
[all …]