Home
last modified time | relevance | path

Searched refs:errList (Results 1 – 4 of 4) 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.java202 List<ProcessErrorStateInfo> errList; in checkForProcessErrors() local
203 errList = mActivityManager.getProcessesInErrorState(); in checkForProcessErrors()
209 final String reportMsg = reportListContents(errList); in checkForProcessErrors()
257 static String reportWrappedListContents(Collection<ProcessError> errList) { in reportWrappedListContents() argument
258 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents()
259 for (ProcessError err : errList) { in reportWrappedListContents()
271 private static String reportListContents(Collection<ProcessErrorStateInfo> errList) { in reportListContents() argument
272 if (errList == null) return null; in reportListContents()
276 Iterator<ProcessErrorStateInfo> iter = errList.iterator(); in reportListContents()
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
DAppLaunchTest.java201 static String reportWrappedListContents(Collection<ProcessError> errList) { in reportWrappedListContents() argument
202 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents()
203 for (ProcessError err : errList) { in reportWrappedListContents()
215 private static String reportListContents(Collection<ProcessErrorStateInfo> errList) { in reportListContents() argument
216 if (errList == null) return null; in reportListContents()
220 Iterator<ProcessErrorStateInfo> iter = errList.iterator(); in reportListContents()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java10174 List<ActivityManager.ProcessErrorStateInfo> errList = null;
10200 if (errList == null) {
10201 errList = new ArrayList<ActivityManager.ProcessErrorStateInfo>(1);
10203 errList.add(report);
10213 return errList;