Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp331 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/
DVtsHalSensorsV2_XTargetTest.h528 constexpr int32_t kNumEvents = 1; in TEST_P() local
540 EXPECT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
542 EXPECT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, newEnv.get(), newEnv.get()).size(), in TEST_P()
543 kNumEvents); in TEST_P()
558 EXPECT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents).size(), kNumEvents); in TEST_P()
567 constexpr int32_t kNumEvents = 1; in TEST_P() local
568 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()
580 ASSERT_EQ(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), 0); in TEST_P()
582 ASSERT_GE(collectEvents(kCollectionTimeoutUs, kNumEvents, getEnvironment()).size(), kNumEvents); in TEST_P()
926 constexpr size_t kNumEvents = 1; in verifyDirectChannel() local
[all …]
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp229 constexpr size_t kNumEvents = 1; in TEST_P() local
230 constexpr size_t kMemSize = kNumEvents * kEventSize; in TEST_P()