Build 1.0_r1(from source)

android.app
Class ActivityManager.ProcessErrorStateInfo

java.lang.Object
  extended by android.app.ActivityManager.ProcessErrorStateInfo
All Implemented Interfaces:
Parcelable
Enclosing class:
ActivityManager

public static class ActivityManager.ProcessErrorStateInfo
extends Object
implements Parcelable

Information you can retrieve about any processes that are in an error condition.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
 int condition
          The condition that the process is in.
 byte[] crashData
          Raw data about the crash (typically a stack trace).
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 tag
          The tag that was provided when the process crashed.
 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).
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ActivityManager.ProcessErrorStateInfo()
           
 
Method Summary
 int describeContents()
          Describe the kinds of special objects contained in this Parcelable's marshalled representation.
 void readFromParcel(Parcel source)
           
 void writeToParcel(Parcel dest, int flags)
          Flatten this object in to a Parcel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ERROR

public static final int NO_ERROR
Condition codes

See Also:
Constant Field Values

CRASHED

public static final int CRASHED
See Also:
Constant Field Values

NOT_RESPONDING

public static final int NOT_RESPONDING
See Also:
Constant Field Values

condition

public int condition
The condition that the process is in.


processName

public String processName
The process name in which the crash or error occurred.


pid

public int pid
The pid of this process; 0 if none


uid

public 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).


tag

public String tag
The tag that was provided when the process crashed.


shortMsg

public String shortMsg
A short message describing the error condition.


longMsg

public String longMsg
A long message describing the error condition.


crashData

public byte[] crashData
Raw data about the crash (typically a stack trace).


CREATOR

public static final Parcelable.Creator<ActivityManager.ProcessErrorStateInfo> CREATOR
Constructor Detail

ActivityManager.ProcessErrorStateInfo

public ActivityManager.ProcessErrorStateInfo()
Method Detail

describeContents

public int describeContents()
Description copied from interface: Parcelable
Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Specified by:
describeContents in interface Parcelable
Returns:
a bitmask indicating the set of special object types marshalled by the Parcelable.

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Description copied from interface: Parcelable
Flatten this object in to a Parcel.

Specified by:
writeToParcel in interface Parcelable
Parameters:
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.

readFromParcel

public void readFromParcel(Parcel source)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature