Searched refs:kNumEvents (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/ |
D | HalProxy_test.cpp | 331 constexpr size_t kNumEvents = 3; in TEST() local 340 std::vector<EventV1_0> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() 343 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST() 373 constexpr size_t kNumEvents = 3; in TEST() local 388 std::vector<EventV1_0> events = makeMultipleProximityEvents(kNumEvents); in TEST() 391 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST() 393 readEventsOutOfQueue(kNumEvents, eventQueue, eventQueueFlag); in TEST() 394 ackWakeupEventsToHalProxy(kNumEvents, wakeLockQueue, wakelockQueueFlag); in TEST() 399 constexpr size_t kNumEvents = 2; in TEST() local 408 std::vector<EventV1_0> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() [all …]
|
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 527 constexpr int32_t kNumEvents = 1; 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() 570 constexpr int32_t kNumEvents = 1; 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() 950 constexpr size_t kNumEvents = 1; in verifyDirectChannel() local 951 constexpr size_t kMemSize = kNumEvents * kEventSize; in verifyDirectChannel()
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 707 constexpr int32_t kNumEvents = 1; 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() 745 constexpr int32_t kNumEvents = 1; 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() 1030 constexpr size_t kNumEvents = 1; in verifyDirectChannel() local 1031 constexpr size_t kMemSize = kNumEvents * kEventSize; in verifyDirectChannel()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 229 constexpr size_t kNumEvents = 1; in TEST_P() local 230 constexpr size_t kMemSize = kNumEvents * kEventSize; in TEST_P()
|