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.java61 List<ActivityManager.ProcessErrorStateInfo> errList; in disabledTestErrorTasksEmpty() local
63 errList = mActivityManager.getProcessesInErrorState(); in disabledTestErrorTasksEmpty()
66 assertNull(errList); in disabledTestErrorTasksEmpty()
73 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithError() local
80 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithError()
83 checkErrorListSanity(errList); in testErrorTasksWithError()
92 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithANR() local
96 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithANR()
99 checkErrorListSanity(errList); in testErrorTasksWithANR()
278 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.java8381 final List<ActivityManager.ProcessErrorStateInfo>[] errList = new List[1]; in getProcessesInErrorState() local
8407 if (errList[0] == null) { in getProcessesInErrorState()
8408 errList[0] = new ArrayList<>(1); in getProcessesInErrorState()
8410 errList[0].add(report); in getProcessesInErrorState()
8420 return errList[0]; in getProcessesInErrorState()