Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1517 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count) { in waitForEventCount() method in UsageStatsTest
1518 return waitForEventCount(whichEvents, startTime, count, null); in waitForEventCount()
1521 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count, in waitForEventCount() method in UsageStatsTest
1733 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 1); in testInteractiveEvents()
1743 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 2); in testInteractiveEvents()
1756 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in testInteractiveEvents()
1763 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 2); in testInteractiveEvents()
2193 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()
2215 final ArrayList<Event> secondStoppedEvent = waitForEventCount(STOPPED_EVENT, in testPipActivity_StopToPause()
2726 final ArrayList<Event> events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in dismissKeyguard()