All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.app.ActivityManager Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
package android.app;
public class ActivityManager
{
public static class RecentTaskInfo
  implements android.os.Parcelable
{
public  RecentTaskInfo() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public int id;
public int persistentId;
public android.content.Intent baseIntent;
public android.content.ComponentName origActivity;
public java.lang.CharSequence description;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
public static class RunningTaskInfo
  implements android.os.Parcelable
{
public  RunningTaskInfo() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public int id;
public android.content.ComponentName baseActivity;
public android.content.ComponentName topActivity;
public android.graphics.Bitmap thumbnail;
public java.lang.CharSequence description;
public int numActivities;
public int numRunning;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
public static class RunningServiceInfo
  implements android.os.Parcelable
{
public  RunningServiceInfo() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public android.content.ComponentName service;
public int pid;
public int uid;
public java.lang.String process;
public boolean foreground;
public long activeSince;
public boolean started;
public int clientCount;
public int crashCount;
public long lastActivityTime;
public long restarting;
public static final int FLAG_STARTED = 1;
public static final int FLAG_FOREGROUND = 2;
public static final int FLAG_SYSTEM_PROCESS = 4;
public static final int FLAG_PERSISTENT_PROCESS = 8;
public int flags;
public java.lang.String clientPackage;
public int clientLabel;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
public static class MemoryInfo
  implements android.os.Parcelable
{
public  MemoryInfo() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public long availMem;
public long totalMem;
public long threshold;
public boolean lowMemory;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
public static class ProcessErrorStateInfo
  implements android.os.Parcelable
{
public  ProcessErrorStateInfo() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public static final int NO_ERROR = 0;
public static final int CRASHED = 1;
public static final int NOT_RESPONDING = 2;
public int condition;
public java.lang.String processName;
public int pid;
public int uid;
public java.lang.String tag;
public java.lang.String shortMsg;
public java.lang.String longMsg;
public java.lang.String stackTrace;
public byte[] crashData = null;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
public static class RunningAppProcessInfo
  implements android.os.Parcelable
{
public  RunningAppProcessInfo() { throw new RuntimeException("Stub!"); }
public  RunningAppProcessInfo(java.lang.String pProcessName, int pPid, java.lang.String[] pArr) { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public  void readFromParcel(android.os.Parcel source) { throw new RuntimeException("Stub!"); }
public java.lang.String processName;
public int pid;
public int uid;
public java.lang.String[] pkgList = null;
public int lastTrimLevel;
public static final int IMPORTANCE_FOREGROUND = 100;
public static final int IMPORTANCE_VISIBLE = 200;
public static final int IMPORTANCE_PERCEPTIBLE = 130;
public static final int IMPORTANCE_SERVICE = 300;
public static final int IMPORTANCE_BACKGROUND = 400;
public static final int IMPORTANCE_EMPTY = 500;
public int importance;
public int lru;
public static final int REASON_UNKNOWN = 0;
public static final int REASON_PROVIDER_IN_USE = 1;
public static final int REASON_SERVICE_IN_USE = 2;
public int importanceReasonCode;
public int importanceReasonPid;
public android.content.ComponentName importanceReasonComponent;
public static final android.os.Parcelable.Creator CREATOR;
static { CREATOR = null; }
}
ActivityManager() { throw new RuntimeException("Stub!"); }
public  int getMemoryClass() { throw new RuntimeException("Stub!"); }
public  int getLargeMemoryClass() { throw new RuntimeException("Stub!"); }
public  java.util.List getRecentTasks(int maxNum, int flags) throws java.lang.SecurityException { throw new RuntimeException("Stub!"); }
public  java.util.List getRunningTasks(int maxNum) throws java.lang.SecurityException { throw new RuntimeException("Stub!"); }
public  void moveTaskToFront(int taskId, int flags) { throw new RuntimeException("Stub!"); }
public  void moveTaskToFront(int taskId, int flags, android.os.Bundle options) { throw new RuntimeException("Stub!"); }
public  java.util.List getRunningServices(int maxNum) throws java.lang.SecurityException { throw new RuntimeException("Stub!"); }
public  android.app.PendingIntent getRunningServiceControlPanel(android.content.ComponentName service) throws java.lang.SecurityException { throw new RuntimeException("Stub!"); }
public  void getMemoryInfo(android.app.ActivityManager.MemoryInfo outInfo) { throw new RuntimeException("Stub!"); }
public  java.util.List getProcessesInErrorState() { throw new RuntimeException("Stub!"); }
public  java.util.List getRunningAppProcesses() { throw new RuntimeException("Stub!"); }
public static  void getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo outState) { throw new RuntimeException("Stub!"); }
public  android.os.Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) { throw new RuntimeException("Stub!"); }
@java.lang.Deprecated()
public  void restartPackage(java.lang.String packageName) { throw new RuntimeException("Stub!"); }
public  void killBackgroundProcesses(java.lang.String packageName) { throw new RuntimeException("Stub!"); }
public  android.content.pm.ConfigurationInfo getDeviceConfigurationInfo() { throw new RuntimeException("Stub!"); }
public  int getLauncherLargeIconDensity() { throw new RuntimeException("Stub!"); }
public  int getLauncherLargeIconSize() { throw new RuntimeException("Stub!"); }
public static  boolean isUserAMonkey() { throw new RuntimeException("Stub!"); }
public static  boolean isRunningInTestHarness() { throw new RuntimeException("Stub!"); }
public static final int RECENT_WITH_EXCLUDED = 1;
public static final int RECENT_IGNORE_UNAVAILABLE = 2;
public static final int MOVE_TASK_WITH_HOME = 1;
public static final int MOVE_TASK_NO_USER_ACTION = 2;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy