Home
last modified time | relevance | path

Searched refs:expectedEvents (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp98 std::vector<RawEvent> getEvents(std::optional<size_t> expectedEvents = std::nullopt);
101 std::vector<RawEvent> EventHubTest::getEvents(std::optional<size_t> expectedEvents) { in getEvents() argument
108 if (expectedEvents) { in getEvents()
117 if (expectedEvents && events.size() >= *expectedEvents) { in getEvents()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java242 LongArrayQueue expectedEvents = new LongArrayQueue(); in testDeleteObsoleteEventsLocked() local
243 expectedEvents.addLast(now - HOUR_IN_MILLIS); in testDeleteObsoleteEventsLocked()
244 expectedEvents.addLast(now - 1); in testDeleteObsoleteEventsLocked()
250 assertTrue(longArrayQueueEquals(expectedEvents, remainingEvents)); in testDeleteObsoleteEventsLocked()