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.java204 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); in testOrderedActivityLaunchSequenceInEventLog() local
209 eventList.add(event); in testOrderedActivityLaunchSequenceInEventLog()
217 final int size = eventList.size(); in testOrderedActivityLaunchSequenceInEventLog()
219 Event evt = eventList.get(j); in testOrderedActivityLaunchSequenceInEventLog()
262 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); in testActivityOnButton() local
268 eventList.add(event); in testActivityOnButton()
271 assertEquals(3, eventList.size()); in testActivityOnButton()
272 assertEquals(Event.ACTIVITY_RESUMED, eventList.get(0).getEventType()); in testActivityOnButton()
273 assertEquals(Event.ACTIVITY_PAUSED, eventList.get(1).getEventType()); in testActivityOnButton()
274 assertEquals(Event.ACTIVITY_STOPPED, eventList.get(2).getEventType()); in testActivityOnButton()
[all …]
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java220 int[] eventList = new int[events.size()]; in testBasicCamera2ActivityEviction() local
223 eventList[eventIdx++] = e.getEvent(); in testBasicCamera2ActivityEviction()
225 String[] actualEvents = TestConstants.convertToStringArray(eventList); in testBasicCamera2ActivityEviction()