Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java352 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); in testOrderedActivityLaunchSequenceInEventLog() local
357 eventList.add(event); in testOrderedActivityLaunchSequenceInEventLog()
365 final int size = eventList.size(); in testOrderedActivityLaunchSequenceInEventLog()
367 Event evt = eventList.get(j); in testOrderedActivityLaunchSequenceInEventLog()
410 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); in testActivityOnButton() local
416 eventList.add(event); in testActivityOnButton()
419 assertEquals(3, eventList.size()); in testActivityOnButton()
420 assertEquals(Event.ACTIVITY_RESUMED, eventList.get(0).getEventType()); in testActivityOnButton()
421 assertEquals(Event.ACTIVITY_PAUSED, eventList.get(1).getEventType()); in testActivityOnButton()
422 assertEquals(Event.ACTIVITY_STOPPED, eventList.get(2).getEventType()); in testActivityOnButton()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java241 int[] eventList = new int[events.size()]; in testBasicCamera2ActivityEvictionInternal() local
244 eventList[eventIdx++] = e.getEvent(); in testBasicCamera2ActivityEvictionInternal()
246 String[] actualEvents = TestConstants.convertToStringArray(eventList); in testBasicCamera2ActivityEvictionInternal()