Home
last modified time | relevance | path

Searched refs:ProcessErrorStateInfo (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java52 List<ActivityManager.ProcessErrorStateInfo> errList; in disabledTestErrorTasksEmpty()
64 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithError()
83 List<ActivityManager.ProcessErrorStateInfo> errList; in testErrorTasksWithANR()
114 private void checkErrorListSanity(List<ActivityManager.ProcessErrorStateInfo> errList) { in checkErrorListSanity()
117 Iterator<ActivityManager.ProcessErrorStateInfo> iter = errList.iterator(); in checkErrorListSanity()
119 ActivityManager.ProcessErrorStateInfo info = iter.next(); in checkErrorListSanity()
122 assertTrue((info.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) || in checkErrorListSanity()
123 (info.condition == ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING)); in checkErrorListSanity()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java20 import android.app.ActivityManager.ProcessErrorStateInfo;
207 List<ProcessErrorStateInfo> errList; in checkForProcessErrors()
269 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents()
282 private static String reportListContents(Collection<ProcessErrorStateInfo> errList) { in reportListContents()
287 Iterator<ProcessErrorStateInfo> iter = errList.iterator(); in reportListContents()
289 ProcessErrorStateInfo entry = iter.next(); in reportListContents()
293 case ActivityManager.ProcessErrorStateInfo.CRASHED: in reportListContents()
296 case ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING: in reportListContents()
306 if (entry.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) { in reportListContents()
319 public final ProcessErrorStateInfo info;
[all …]
DSmokeTestRunner.java20 import android.app.ActivityManager.ProcessErrorStateInfo;
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java22 import android.app.ActivityManager.ProcessErrorStateInfo;
110 ProcessErrorStateInfo err = launchActivity(packageName, intent); in testAppStability()
132 private String getStackTrace(ProcessErrorStateInfo in) { in getStackTrace()
189 private ProcessErrorStateInfo launchActivity(String packageName, Intent intent) { in launchActivity()
206 final Collection<ProcessErrorStateInfo> postErr = in launchActivity()
212 for (ProcessErrorStateInfo error : postErr) { in launchActivity()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java19 import android.app.ActivityManager.ProcessErrorStateInfo;
266 List<ProcessErrorStateInfo> crashes = am.getProcessesInErrorState(); in reportError()
268 for (ProcessErrorStateInfo crash : crashes) { in reportError()
/frameworks/base/core/java/android/app/
DActivityManager.java2607 public static class ProcessErrorStateInfo implements Parcelable { class in ActivityManager
2662 public ProcessErrorStateInfo() { in ProcessErrorStateInfo() method in ActivityManager.ProcessErrorStateInfo
2693 public static final Creator<ProcessErrorStateInfo> CREATOR =
2694 new Creator<ProcessErrorStateInfo>() {
2695 public ProcessErrorStateInfo createFromParcel(Parcel source) {
2696 return new ProcessErrorStateInfo(source);
2698 public ProcessErrorStateInfo[] newArray(int size) {
2699 return new ProcessErrorStateInfo[size];
2703 private ProcessErrorStateInfo(Parcel source) { in ProcessErrorStateInfo() method in ActivityManager.ProcessErrorStateInfo
2716 public List<ProcessErrorStateInfo> getProcessesInErrorState() { in getProcessesInErrorState()
DIActivityManager.java143 public List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState() in getProcessesInErrorState()
DActivityManagerNative.java725 List<ActivityManager.ProcessErrorStateInfo> list = getProcessesInErrorState(); in onTransact()
3829 public List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState() in getProcessesInErrorState()
3836 ArrayList<ActivityManager.ProcessErrorStateInfo> list in getProcessesInErrorState()
3837 = reply.createTypedArrayList(ActivityManager.ProcessErrorStateInfo.CREATOR); in getProcessesInErrorState()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java474 ActivityManager.ProcessErrorStateInfo.CRASHED, null, shortMsg, longMsg, stackTrace); in makeAppCrashingLocked()
509 private ActivityManager.ProcessErrorStateInfo generateProcessError(ProcessRecord app, in generateProcessError()
511 ActivityManager.ProcessErrorStateInfo report = new ActivityManager.ProcessErrorStateInfo(); in generateProcessError()
917 ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING, in makeAppNotRespondingLocked()
DProcessRecord.java195 ActivityManager.ProcessErrorStateInfo crashingReport;
196 ActivityManager.ProcessErrorStateInfo notRespondingReport;
DActivityManagerService.java13952 public List<ActivityManager.ProcessErrorStateInfo> getProcessesInErrorState() { in getProcessesInErrorState()
13955 List<ActivityManager.ProcessErrorStateInfo> errList = null; in getProcessesInErrorState()
13972 ActivityManager.ProcessErrorStateInfo report = null; in getProcessesInErrorState()
13981 errList = new ArrayList<ActivityManager.ProcessErrorStateInfo>(1); in getProcessesInErrorState()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java24 import android.app.ActivityManager.ProcessErrorStateInfo;
522 List<ProcessErrorStateInfo> crashes = am.getProcessesInErrorState(); in reportError()
524 for (ProcessErrorStateInfo crash : crashes) { in reportError()
/frameworks/base/
Dcompiled-classes-phone156 android.app.ActivityManager$ProcessErrorStateInfo
157 android.app.ActivityManager$ProcessErrorStateInfo$1
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3509 …method public java.util.List<android.app.ActivityManager.ProcessErrorStateInfo> getProcessesInErro…
3550 public static class ActivityManager.ProcessErrorStateInfo implements android.os.Parcelable {
3551 ctor public ActivityManager.ProcessErrorStateInfo();
3556 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.ProcessErrorStateInfo> CREATOR;
/frameworks/base/api/
Dcurrent.txt3694 …method public java.util.List<android.app.ActivityManager.ProcessErrorStateInfo> getProcessesInErro…
3741 public static class ActivityManager.ProcessErrorStateInfo implements android.os.Parcelable {
3742 ctor public ActivityManager.ProcessErrorStateInfo();
3747 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.ProcessErrorStateInfo> CREATOR;
Dsystem-current.txt3829 …method public java.util.List<android.app.ActivityManager.ProcessErrorStateInfo> getProcessesInErro…
3877 public static class ActivityManager.ProcessErrorStateInfo implements android.os.Parcelable {
3878 ctor public ActivityManager.ProcessErrorStateInfo();
3883 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.ProcessErrorStateInfo> CREATOR;
Dtest-current.txt3696 …method public java.util.List<android.app.ActivityManager.ProcessErrorStateInfo> getProcessesInErro…
3743 public static class ActivityManager.ProcessErrorStateInfo implements android.os.Parcelable {
3744 ctor public ActivityManager.ProcessErrorStateInfo();
3749 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.ProcessErrorStateInfo> CREATOR;