Home
last modified time | relevance | path

Searched refs:RunningAppProcessInfo (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/app/
DAppImportanceMonitor.java39 int importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE;
55 ActivityManager.RunningAppProcessInfo.procStateToImportance(procState),
64 ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE, true);
92 List<ActivityManager.RunningAppProcessInfo> apps = am.getRunningAppProcesses(); in AppImportanceMonitor()
95 ActivityManager.RunningAppProcessInfo app = apps.get(i); in AppImportanceMonitor()
104 return ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE; in getImportance()
121 if (importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) { in updateImportanceLocked()
130 int appImp = ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE; in updateImportanceLocked()
140 if (appImp >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) { in updateImportanceLocked()
DActivityManager.java2681 public static class RunningAppProcessInfo implements Parcelable { class in ActivityManager
2910 public RunningAppProcessInfo() { in RunningAppProcessInfo() method in ActivityManager.RunningAppProcessInfo
2916 public RunningAppProcessInfo(String pProcessName, int pPid, String pArr[]) { in RunningAppProcessInfo() method in ActivityManager.RunningAppProcessInfo
2958 public static final Creator<RunningAppProcessInfo> CREATOR =
2959 new Creator<RunningAppProcessInfo>() {
2960 public RunningAppProcessInfo createFromParcel(Parcel source) {
2961 return new RunningAppProcessInfo(source);
2963 public RunningAppProcessInfo[] newArray(int size) {
2964 return new RunningAppProcessInfo[size];
2968 private RunningAppProcessInfo(Parcel source) { in RunningAppProcessInfo() method in ActivityManager.RunningAppProcessInfo
[all …]
DIActivityManager.java378 public List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses() in getRunningAppProcesses()
385 public void getMyMemoryState(ActivityManager.RunningAppProcessInfo outInfo) in getMyMemoryState()
DActivityManagerNative.java733 List<ActivityManager.RunningAppProcessInfo> list = getRunningAppProcesses(); in onTransact()
1717 ActivityManager.RunningAppProcessInfo info = in onTransact()
1718 new ActivityManager.RunningAppProcessInfo(); in onTransact()
3812 public List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses() in getRunningAppProcesses()
3819 ArrayList<ActivityManager.RunningAppProcessInfo> list in getRunningAppProcesses()
3820 = reply.createTypedArrayList(ActivityManager.RunningAppProcessInfo.CREATOR); in getRunningAppProcesses()
5200 public void getMyMemoryState(ActivityManager.RunningAppProcessInfo outInfo) in getMyMemoryState()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java20 import android.app.ActivityManager.RunningAppProcessInfo;
287 List<RunningAppProcessInfo> apps = am.getRunningAppProcesses(); in getPss()
289 for (RunningAppProcessInfo proc : apps) { in getPss()
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java77 for (ActivityManager.RunningAppProcessInfo proc : in getPackageNamesFromPid()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java21 import android.app.ActivityManager.RunningAppProcessInfo;
64 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
428 List<RunningAppProcessInfo> procs = in isForegroundActivity()
432 RunningAppProcessInfo proc = procs.get(i); in isForegroundActivity()
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.jd386 android.app.ActivityManager.RunningAppProcessInfo#IMPORTANCE_PERCEPTIBLE} for
387 the {@link android.app.ActivityManager.RunningAppProcessInfo#importance} field
388 in {@link android.app.ActivityManager.RunningAppProcessInfo}. The value
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java13715 ActivityManager.RunningAppProcessInfo currApp) { in procStateToImportance()
13716 int imp = ActivityManager.RunningAppProcessInfo.procStateToImportance(procState); in procStateToImportance()
13717 if (imp == ActivityManager.RunningAppProcessInfo.IMPORTANCE_BACKGROUND) { in procStateToImportance()
13726 ActivityManager.RunningAppProcessInfo outInfo) { in fillInProcMemInfo()
13730 outInfo.flags |= ActivityManager.RunningAppProcessInfo.FLAG_CANT_SAVE_STATE; in fillInProcMemInfo()
13733 outInfo.flags |= ActivityManager.RunningAppProcessInfo.FLAG_PERSISTENT; in fillInProcMemInfo()
13736 outInfo.flags |= ActivityManager.RunningAppProcessInfo.FLAG_HAS_ACTIVITIES; in fillInProcMemInfo()
13747 public List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses() { in getRunningAppProcesses()
13753 List<ActivityManager.RunningAppProcessInfo> runList = null; in getRunningAppProcesses()
13770 ActivityManager.RunningAppProcessInfo currApp = in getRunningAppProcesses()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1636 ActivityManager.RunningAppProcessInfo.procStateToImportance(procState));
/frameworks/base/
Dpreloaded-classes325 android.app.ActivityManager$RunningAppProcessInfo
326 android.app.ActivityManager$RunningAppProcessInfo$1
Dcompiled-classes-phone160 android.app.ActivityManager$RunningAppProcessInfo
161 android.app.ActivityManager$RunningAppProcessInfo$1
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1509 NO DOC BLOCK: android.app.ActivityManager.RunningAppProcessInfo Field IMPORTANCE_GONE
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3507 method public static void getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo);
3511 …method public java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProce…
3585 public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
3586 ctor public ActivityManager.RunningAppProcessInfo();
3587 ctor public ActivityManager.RunningAppProcessInfo(java.lang.String, int, java.lang.String[]);
3591 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.RunningAppProcessInfo> CREATOR;
/frameworks/base/api/
Dcurrent.txt3683 method public static void getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo);
3687 …method public java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProce…
3769 public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
3770 ctor public ActivityManager.RunningAppProcessInfo();
3771 ctor public ActivityManager.RunningAppProcessInfo(java.lang.String, int, java.lang.String[]);
3775 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.RunningAppProcessInfo> CREATOR;
Dsystem-current.txt3817 method public static void getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo);
3822 …method public java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProce…
3905 public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
3906 ctor public ActivityManager.RunningAppProcessInfo();
3907 ctor public ActivityManager.RunningAppProcessInfo(java.lang.String, int, java.lang.String[]);
3911 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.RunningAppProcessInfo> CREATOR;
Dtest-current.txt3683 method public static void getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo);
3687 …method public java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProce…
3769 public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
3770 ctor public ActivityManager.RunningAppProcessInfo();
3771 ctor public ActivityManager.RunningAppProcessInfo(java.lang.String, int, java.lang.String[]);
3775 …tic final android.os.Parcelable.Creator<android.app.ActivityManager.RunningAppProcessInfo> CREATOR;