IT. Expert System.

Android Reference

ActivityManager.RunningAppProcessInfo


android.app

Class ActivityManager.RunningAppProcessInfo

  • All Implemented Interfaces:
    Parcelable
    Enclosing class:
    ActivityManager


    public static class ActivityManager.RunningAppProcessInfo
    extends Object
    implements Parcelable
    Information you can retrieve about a running process.
    • Field Detail

      • processName

        public String processName
        The name of the process that this object is associated with
      • pid

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

        public int uid
        The user id of this process.
      • pkgList

        public String[] pkgList
        All packages that have been loaded into the process.
      • FLAG_CANT_SAVE_STATE

        public static final int FLAG_CANT_SAVE_STATE
        Constant for flags: this is an app that is unable to correctly save its state when going to the background, so it can not be killed while in the background.
        See Also:
        Constant Field Values
      • FLAG_PERSISTENT

        public static final int FLAG_PERSISTENT
        Constant for flags: this process is associated with a persistent system app.
        See Also:
        Constant Field Values
      • FLAG_HAS_ACTIVITIES

        public static final int FLAG_HAS_ACTIVITIES
        Constant for flags: this process is associated with a persistent system app.
        See Also:
        Constant Field Values
      • IMPORTANCE_PERSISTENT

        public static final int IMPORTANCE_PERSISTENT
        Constant for importance: this is a persistent process. Only used when reporting to process observers.
        See Also:
        Constant Field Values
      • IMPORTANCE_FOREGROUND

        public static final int IMPORTANCE_FOREGROUND
        Constant for importance: this process is running the foreground UI.
        See Also:
        Constant Field Values
      • IMPORTANCE_VISIBLE

        public static final int IMPORTANCE_VISIBLE
        Constant for importance: this process is running something that is actively visible to the user, though not in the immediate foreground.
        See Also:
        Constant Field Values
      • IMPORTANCE_PERCEPTIBLE

        public static final int IMPORTANCE_PERCEPTIBLE
        Constant for importance: this process is running something that is considered to be actively perceptible to the user. An example would be an application performing background music playback.
        See Also:
        Constant Field Values
      • IMPORTANCE_CANT_SAVE_STATE

        public static final int IMPORTANCE_CANT_SAVE_STATE
        Constant for importance: this process is running an application that can not save its state, and thus can't be killed while in the background.
        See Also:
        Constant Field Values
      • IMPORTANCE_SERVICE

        public static final int IMPORTANCE_SERVICE
        Constant for importance: this process is contains services that should remain running.
        See Also:
        Constant Field Values
      • IMPORTANCE_BACKGROUND

        public static final int IMPORTANCE_BACKGROUND
        Constant for importance: this process process contains background code that is expendable.
        See Also:
        Constant Field Values
      • IMPORTANCE_EMPTY

        public static final int IMPORTANCE_EMPTY
        Constant for importance: this process is empty of any actively running code.
        See Also:
        Constant Field Values
      • lru

        public int lru
        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.
      • importanceReasonCode

        public int importanceReasonCode
        The reason for importance, if any.
      • importanceReasonPid

        public int importanceReasonPid
        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.
      • importanceReasonComponent

        public ComponentName importanceReasonComponent
        For the specified values of importanceReasonCode, this is the name of the component that is being used in this process.
      • importanceReasonImportance

        public int importanceReasonImportance
        When importanceReasonPid is non-0, this is the importance of the other pid. @hide
    • Constructor Detail

      • ActivityManager.RunningAppProcessInfo

        public ActivityManager.RunningAppProcessInfo()
      • ActivityManager.RunningAppProcessInfo

        public ActivityManager.RunningAppProcessInfo(String pProcessName,
                                             int pPid,
                                             String[] pArr)
    • 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.
      • readFromParcel

        public void readFromParcel(Parcel source)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1759 / 96487558. Delta: 0.03156 с