Searched refs:kNumEvents (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/sensors/2.0/multihal/tests/ |
D | HalProxy_test.cpp | 298 constexpr size_t kNumEvents = 3; in TEST() local 307 std::vector<Event> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() 310 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST() 340 constexpr size_t kNumEvents = 3; in TEST() local 355 std::vector<Event> events = makeMultipleProximityEvents(kNumEvents); in TEST() 358 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST() 360 readEventsOutOfQueue(kNumEvents, eventQueue, eventQueueFlag); in TEST() 361 ackWakeupEventsToHalProxy(kNumEvents, wakeLockQueue, wakelockQueueFlag); in TEST() 366 constexpr size_t kNumEvents = 2; in TEST() local 375 std::vector<Event> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() [all …]
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 646 constexpr int32_t kNumEvents = 1; in TEST_P() local 658 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() 684 constexpr int32_t kNumEvents = 1; in TEST_P() local 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() 1020 constexpr size_t kNumEvents = 1; in verifyDirectChannel() local 1021 constexpr size_t kMemSize = kNumEvents * kEventSize; in verifyDirectChannel() [all …]
|