public static class ActivityManager.ProcessErrorStateInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
int |
condition
The condition that the process is in.
|
byte[] |
crashData
to be deprecated: This value will always be null.
|
static int |
CRASHED |
static Parcelable.Creator<ActivityManager.ProcessErrorStateInfo> |
CREATOR |
String |
longMsg
A long message describing the error condition.
|
static int |
NO_ERROR
Condition codes
|
static int |
NOT_RESPONDING |
int |
pid
The pid of this process; 0 if none
|
String |
processName
The process name in which the crash or error occurred.
|
String |
shortMsg
A short message describing the error condition.
|
String |
stackTrace
The stack trace where the error originated.
|
String |
tag
The activity name associated with the error, if known.
|
int |
uid
The kernel user-ID that has been assigned to this process;
currently this is not a unique ID (multiple applications can have
the same uid).
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ProcessErrorStateInfo() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
void |
readFromParcel(Parcel source) |
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final int NO_ERROR
public static final int CRASHED
public static final int NOT_RESPONDING
public int condition
public String processName
public int pid
public int uid
public String tag
public String shortMsg
public String longMsg
public String stackTrace
public byte[] crashData
public static final Parcelable.Creator<ActivityManager.ProcessErrorStateInfo> CREATOR
public int describeContents()
Parcelable
Parcelable.writeToParcel(Parcel, int)
,
the return value of this method must include the
Parcelable.CONTENTS_FILE_DESCRIPTOR
bit.describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public void readFromParcel(Parcel source)