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.java1077 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count) { in waitForEventCount() method in UsageStatsTest
1078 return waitForEventCount(whichEvents, startTime, count, null); in waitForEventCount()
1081 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count, in waitForEventCount() method in UsageStatsTest
1286 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 1); in testInteractiveEvents()
1296 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 2); in testInteractiveEvents()
1309 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in testInteractiveEvents()
1316 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 2); in testInteractiveEvents()
1715 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()
1737 final ArrayList<Event> secondStoppedEvent = waitForEventCount(STOPPED_EVENT, in testPipActivity_StopToPause()
1815 final ArrayList<Event> events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in dismissKeyguard()