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.java52 List<ActivityManager.ProcessErrorStateInfo> errList; in disabledTestErrorTasksEmpty() local
54 errList = mActivityManager.getProcessesInErrorState(); in disabledTestErrorTasksEmpty()
57 assertNull(errList); in disabledTestErrorTasksEmpty()
64 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithError() local
71 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithError()
74 checkErrorListSanity(errList); in testErrorTasksWithError()
83 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithANR() local
87 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithANR()
90 checkErrorListSanity(errList); in testErrorTasksWithANR()
114 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.java12644 List<ActivityManager.ProcessErrorStateInfo> errList = null; in getProcessesInErrorState() local
12669 if (errList == null) { in getProcessesInErrorState()
12670 errList = new ArrayList<ActivityManager.ProcessErrorStateInfo>(1); in getProcessesInErrorState()
12672 errList.add(report); in getProcessesInErrorState()
12682 return errList; in getProcessesInErrorState()