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.java1036 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count) { in waitForEventCount() method in UsageStatsTest
1037 return waitForEventCount(whichEvents, startTime, count, null); in waitForEventCount()
1040 private ArrayList<Event> waitForEventCount(int[] whichEvents, long startTime, int count, in waitForEventCount() method in UsageStatsTest
1245 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 1); in testInteractiveEvents()
1255 events = waitForEventCount(INTERACTIVE_EVENTS, startTime, 2); in testInteractiveEvents()
1268 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in testInteractiveEvents()
1275 events = waitForEventCount(KEYGUARD_EVENTS, startTime, 2); in testInteractiveEvents()
1674 final ArrayList<Event> stoppedEvent = waitForEventCount(STOPPED_EVENT, sleepTime, 1, in testPipActivity_StopToPause()
1696 final ArrayList<Event> secondStoppedEvent = waitForEventCount(STOPPED_EVENT, in testPipActivity_StopToPause()
1774 final ArrayList<Event> events = waitForEventCount(KEYGUARD_EVENTS, startTime, 1); in dismissKeyguard()