java.lang.Object | |
↳ | android.app.ActivityManager.RunningAppProcessInfo |
Information you can retrieve about a running process.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<ActivityManager.RunningAppProcessInfo> | CREATOR | ||||||||||
int | IMPORTANCE_BACKGROUND | Constant for importance : this process process contains
background code that is expendable. |
|||||||||
int | IMPORTANCE_EMPTY | Constant for importance : this process is empty of any
actively running code. |
|||||||||
int | IMPORTANCE_FOREGROUND | Constant for importance : this process is running the
foreground UI. |
|||||||||
int | IMPORTANCE_SERVICE | Constant for importance : this process is contains services
that should remain running. |
|||||||||
int | IMPORTANCE_VISIBLE | Constant for importance : this process is running something
that is considered to be actively visible to the user. |
|||||||||
int | REASON_PROVIDER_IN_USE | Constant for importanceReasonCode : one of the application's
content providers is being used by another process. |
|||||||||
int | REASON_SERVICE_IN_USE | Constant for importanceReasonCode : one of the application's
content providers is being used by another process. |
|||||||||
int | REASON_UNKNOWN | Constant for importanceReasonCode : nothing special has
been specified for the reason for this level. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
importance | The relative importance level that the system places on this process. | ||||||||||
importanceReasonCode | The reason for importance , if any. |
||||||||||
importanceReasonComponent | For the specified values of importanceReasonCode , this
is the name of the component that is being used in this process. |
||||||||||
importanceReasonPid | For the specified values of importanceReasonCode , this
is the process ID of the other process that is a client of this
process. |
||||||||||
lru | An additional ordering within a particular importance
category, providing finer-grained information about the relative
utility of processes within a category. |
||||||||||
pid | The pid of this process; 0 if none | ||||||||||
pkgList | |||||||||||
processName | The name of the process that this object is associated with | ||||||||||
uid | The user id of this process. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
|
Constant for importance
: this process process contains
background code that is expendable.
Constant for importance
: this process is empty of any
actively running code.
Constant for importance
: this process is running the
foreground UI.
Constant for importance
: this process is contains services
that should remain running.
Constant for importance
: this process is running something
that is considered to be actively visible to the user.
Constant for importanceReasonCode
: one of the application's
content providers is being used by another process. The pid of
the client process is in importanceReasonPid
and the
target provider in this process is in
importanceReasonComponent
.
Constant for importanceReasonCode
: one of the application's
content providers is being used by another process. The pid of
the client process is in importanceReasonPid
and the
target provider in this process is in
importanceReasonComponent
.
Constant for importanceReasonCode
: nothing special has
been specified for the reason for this level.
The relative importance level that the system places on this
process. May be one of IMPORTANCE_FOREGROUND
,
IMPORTANCE_VISIBLE
, IMPORTANCE_SERVICE
,
IMPORTANCE_BACKGROUND
, or IMPORTANCE_EMPTY
. These
constants are numbered so that "more important" values are always
smaller than "less important" values.
For the specified values of importanceReasonCode
, this
is the name of the component that is being used in this process.
For the specified values of importanceReasonCode
, this
is the process ID of the other process that is a client of this
process. This will be 0 if no other process is using this one.
An additional ordering within a particular importance
category, providing finer-grained information about the relative
utility of processes within a category. This number means nothing
except that a smaller values are more recently used (and thus
more important). Currently an LRU value is only maintained for
the IMPORTANCE_BACKGROUND
category, though others may
be maintained in the future.
The name of the process that this object is associated with
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 .
|