java.lang.Object | |
↳ | android.app.ApplicationErrorReport |
Describes an application error. A report has a type, which is one of
TYPE_NONE
uninitialized instance of ApplicationErrorReport
.
TYPE_CRASH
application crash. Information about the crash
is stored in crashInfo
.
TYPE_ANR
application not responding. Information about the
ANR is stored in anrInfo
.
TYPE_BATTERY
user reported application is using too much
battery. Information about the battery use is stored in batteryInfo
.
TYPE_RUNNING_SERVICE
user reported application is leaving an
unneeded serive running. Information about the battery use is stored in
runningServiceInfo
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ApplicationErrorReport.AnrInfo | Describes an application not responding error. | ||||||||||
ApplicationErrorReport.BatteryInfo | Describes a battery usage report. | ||||||||||
ApplicationErrorReport.CrashInfo | Describes an application crash. | ||||||||||
ApplicationErrorReport.RunningServiceInfo | Describes a running service report. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_ANR | An error report about an application that's not responding. | |||||||||
int | TYPE_BATTERY | An error report about an application that's consuming too much battery. | |||||||||
int | TYPE_CRASH | An error report about an application crash. | |||||||||
int | TYPE_NONE | Uninitialized error report. | |||||||||
int | TYPE_RUNNING_SERVICE | A report from a user to a developer about a running service that the user doesn't think should be running. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | |||||||||||
anrInfo |
If this report is of type TYPE_ANR , contains an instance
of AnrInfo describing the ANR; otherwise null.
|
||||||||||
batteryInfo |
If this report is of type TYPE_BATTERY , contains an instance
of BatteryInfo; otherwise null.
|
||||||||||
crashInfo |
If this report is of type TYPE_CRASH , contains an instance
of CrashInfo describing the crash; otherwise null.
|
||||||||||
installerPackageName | Package name of the application which installed the application this report pertains to. | ||||||||||
packageName | Package name of the application. | ||||||||||
processName | Process name of the application. | ||||||||||
runningServiceInfo |
If this report is of type TYPE_RUNNING_SERVICE , contains an instance
of RunningServiceInfo; otherwise null.
|
||||||||||
systemApp | Set if the app is on the system image. | ||||||||||
time | Time at which the error occurred. | ||||||||||
type | Type of this report. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an uninitialized instance of
ApplicationErrorReport .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Dump the report to a Printer.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
An error report about an application that's not responding.
An error report about an application that's consuming too much battery.
An error report about an application crash.
Uninitialized error report.
A report from a user to a developer about a running service that the user doesn't think should be running.
If this report is of type TYPE_ANR
, contains an instance
of AnrInfo describing the ANR; otherwise null.
If this report is of type TYPE_BATTERY
, contains an instance
of BatteryInfo; otherwise null.
If this report is of type TYPE_CRASH
, contains an instance
of CrashInfo describing the crash; otherwise null.
Package name of the application which installed the application this report pertains to. This identifies which market the application came from.
If this report is of type TYPE_RUNNING_SERVICE
, contains an instance
of RunningServiceInfo; otherwise null.
Type of this report. Can be one of TYPE_NONE
,
TYPE_CRASH
, TYPE_ANR
, TYPE_BATTERY
,
or TYPE_RUNNING_SERVICE
.
Create an uninitialized instance of ApplicationErrorReport
.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Flatten this object in to a Parcel.
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_WRITE_RETURN_VALUE .
|