Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java53 List<ActivityManager.ProcessErrorStateInfo> errList; in disabledTestErrorTasksEmpty() local
55 errList = mActivityManager.getProcessesInErrorState(); in disabledTestErrorTasksEmpty()
58 assertNull(errList); in disabledTestErrorTasksEmpty()
65 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithError() local
72 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithError()
75 checkErrorListSanity(errList); in testErrorTasksWithError()
84 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithANR() local
88 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithANR()
91 checkErrorListSanity(errList); in testErrorTasksWithANR()
115 private void checkErrorListSanity(List<ActivityManager.ProcessErrorStateInfo> errList) { in checkErrorListSanity() argument
[all …]
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java207 List<ProcessErrorStateInfo> errList; in checkForProcessErrors() local
208 errList = mActivityManager.getProcessesInErrorState(); in checkForProcessErrors()
214 final String reportMsg = reportListContents(errList); in checkForProcessErrors()
268 static String reportWrappedListContents(Collection<ProcessError> errList) { in reportWrappedListContents() argument
269 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents()
270 for (ProcessError err : errList) { in reportWrappedListContents()
282 private static String reportListContents(Collection<ProcessErrorStateInfo> errList) { in reportListContents() argument
283 if (errList == null) return null; in reportListContents()
287 Iterator<ProcessErrorStateInfo> iter = errList.iterator(); in reportListContents()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java9658 List<ActivityManager.ProcessErrorStateInfo> errList = null; in getProcessesInErrorState() local
9685 if (errList == null) { in getProcessesInErrorState()
9686 errList = new ArrayList<>(1); in getProcessesInErrorState()
9688 errList.add(report); in getProcessesInErrorState()
9698 return errList; in getProcessesInErrorState()