Example usage for Java android.app ActivityManager fields, constructors, methods, implement or subclass
The text is from its open source code.
int | START_CANCELED Result for IActivityManager.startActivity: an error where the start had to be canceled. |
int | START_RETURN_INTENT_TO_CALLER Result for IActivityManaqer.startActivity: the caller asked that the Intent not be executed if it is the recipient, and that is indeed the case. |
int | START_FLAG_ONLY_IF_NEEDED Flag for IActivityManaqer.startActivity: do special start mode where a new activity is launched only if it is needed. |
int | INTENT_SENDER_ACTIVITY_RESULT Type for IActivityManaqer.getIntentSender: this PendingIntent is for an activity result operation. |
int | MOVE_TASK_WITH_HOME Flag for #moveTaskToFront(int,int) : also move the "home" activity along with the task, so it is positioned immediately behind the task. |
int | MOVE_TASK_NO_USER_ACTION Flag for #moveTaskToFront(int,int) : don't count this as a user-instigated action, so the current activity will not receive a hint that the user is leaving. |
List | getAppTasks() Get the list of tasks associated with the calling application. |
Class> | getClass() Returns the runtime class of this Object . |
int | getCurrentUser() Gets the userId of the current foreground user. |
int | getDefaultAppRecentsLimitStatic() Return the default limit on the number of recents that an app can make. |
ConfigurationInfo | getDeviceConfigurationInfo() Get the device configuration attributes. |
int | getLargeMemoryClass() Return the approximate per-application memory class of the current device when an application is running with a large heap. |
int | getLauncherLargeIconDensity() Get the preferred density of icons for the launcher. |
int | getLauncherLargeIconSize() Get the preferred launcher icon size. |
int | getMemoryClass() Return the approximate per-application memory class of the current device. |
void | getMemoryInfo(MemoryInfo outInfo) Return general information about the memory state of the system. |
List | getProcessesInErrorState() Returns a list of any processes that are currently in an error condition. |
Debug.MemoryInfo[] | getProcessMemoryInfo(int[] pids) Return information about the memory usage of one or more processes. |
List | getRecentTasks(int maxNum, int flags) Return a list of the tasks that the user has recently launched, with the most recent being first and older ones after in order. |
List | getRunningAppProcesses() Returns a list of application processes that are running on the device. |
List | getRunningServices(int maxNum) Return a list of the services that are currently running. |
List | getRunningTasks(int maxNum) Return a list of the tasks that are currently running, with the most recent being first and older ones after in order. |
boolean | isLowRamDevice() Returns true if this is a low-RAM device. |
boolean | isRunningInTestHarness() Returns "true" if device is running in a test harness. |
boolean | isUserAMonkey() Returns "true" if the user interface is currently being messed with by a monkey. |
void | killBackgroundProcesses(String packageName) Have the system immediately kill all background processes associated with the given package. |
void | moveTaskToFront(int taskId, @MoveTaskFlags int flags) Equivalent to calling #moveTaskToFront(int,int,Bundle) with a null options argument. |
void | restartPackage(String packageName) |