Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp40 std::vector<Event> SensorsHidlTestBase::collectEvents(useconds_t timeLimitUs, size_t nEventLimit, in collectEvents() function in SensorsHidlTestBase
43 return collectEvents(timeLimitUs, nEventLimit, getEnvironment(), clearBeforeStart, in collectEvents()
47 std::vector<Event> SensorsHidlTestBase::collectEvents(useconds_t timeLimitUs, size_t nEventLimit, in collectEvents() function in SensorsHidlTestBase
387 events = collectEvents(minTimeUs, minNEvent, true /*clearBeforeStart*/); in testStreamingOperation()
453 events1 = collectEvents(collectionTimeoutUs, minNEvent); in testSamplingRateHotSwitchOperation()
459 events2 = collectEvents(collectionTimeoutUs, minNEvent); in testSamplingRateHotSwitchOperation()
561 collectEvents(0 /*timeLimitUs*/, 0 /*nEventLimit*/, true /*clearBeforeStart*/, in testBatchingOperation()
569 events = collectEvents(allowedBatchDeliverTimeNs / 1000, minFifoCount, in testBatchingOperation()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h86 std::vector<Event> collectEvents(useconds_t timeLimitUs, size_t nEventLimit,
88 static std::vector<Event> collectEvents(useconds_t timeLimitUs, size_t nEventLimit,
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp658 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
660 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, newEnv.get()).size(), kNumEvents); in TEST_P()
675 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P()
685 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()
697 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
699 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()