Searched refs:kCollectionTimeoutUs (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 526 constexpr useconds_t kCollectionTimeoutUs = 1000 * 1000; // 1s in TEST_P() local 539 EXPECT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 541 EXPECT_GE(newEnv.get()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 556 EXPECT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 569 constexpr useconds_t kCollectionTimeoutUs = 1000 * 1000; // 1s in TEST_P() local 571 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 583 ASSERT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 585 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P()
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 706 constexpr useconds_t kCollectionTimeoutUs = 1000 * 1000; // 1s in TEST_P() local 719 EXPECT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 721 EXPECT_GE(newEnv.get()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 736 EXPECT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 744 constexpr useconds_t kCollectionTimeoutUs = 1000 * 1000; // 1s in TEST_P() local 746 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P() 758 ASSERT_EQ(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), 0); in TEST_P() 760 ASSERT_GE(getEnvironment()->collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P()
|