Searched refs:ProcessStats (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SysMemUsageTable.java | 21 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT; 22 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING; 23 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_SAMPLE_COUNT; 24 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_MINIMUM; 25 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_AVERAGE; 26 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_CACHED_MAXIMUM; 27 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_MINIMUM; 28 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_AVERAGE; 29 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_FREE_MAXIMUM; 30 import static com.android.internal.app.procstats.ProcessStats.SYS_MEM_USAGE_ZRAM_MINIMUM; [all …]
|
D | PssTable.java | 19 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_AVERAGE; 20 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MAXIMUM; 21 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MINIMUM; 22 import static com.android.internal.app.procstats.ProcessStats.PSS_SAMPLE_COUNT; 23 import static com.android.internal.app.procstats.ProcessStats.PSS_MINIMUM; 24 import static com.android.internal.app.procstats.ProcessStats.PSS_AVERAGE; 25 import static com.android.internal.app.procstats.ProcessStats.PSS_MAXIMUM; 26 import static com.android.internal.app.procstats.ProcessStats.PSS_USS_MINIMUM; 27 import static com.android.internal.app.procstats.ProcessStats.PSS_USS_AVERAGE; 28 import static com.android.internal.app.procstats.ProcessStats.PSS_USS_MAXIMUM; [all …]
|
D | ProcessState.java | 32 import com.android.internal.app.procstats.ProcessStats.PackageState; 33 import com.android.internal.app.procstats.ProcessStats.ProcessStateHolder; 34 import com.android.internal.app.procstats.ProcessStats.TotalMemoryUseCollection; 35 import static com.android.internal.app.procstats.ProcessStats.PSS_SAMPLE_COUNT; 36 import static com.android.internal.app.procstats.ProcessStats.PSS_MINIMUM; 37 import static com.android.internal.app.procstats.ProcessStats.PSS_AVERAGE; 38 import static com.android.internal.app.procstats.ProcessStats.PSS_MAXIMUM; 39 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MINIMUM; 40 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_AVERAGE; 41 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MAXIMUM; [all …]
|
D | ServiceState.java | 34 import com.android.internal.app.procstats.ProcessStats; 35 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING; 82 public ServiceState(ProcessStats processStats, String pkg, String name, in ServiceState() 115 if (mStartedState != ProcessStats.STATE_NOTHING) { in setMemFactor() 118 if (mBoundState != ProcessStats.STATE_NOTHING) { in setMemFactor() 121 if (mExecState != ProcessStats.STATE_NOTHING) { in setMemFactor() 410 for (int iscreen=0; iscreen<ProcessStats.ADJ_COUNT; iscreen+=ProcessStats.ADJ_SCREEN_MOD) { in dumpTime() 412 for (int imem=0; imem<ProcessStats.ADJ_MEM_FACTOR_COUNT; imem++) { in dumpTime()
|
D | ProcessStats.aidl | 19 parcelable ProcessStats;
|
D | IProcessStats.aidl | 21 import com.android.internal.app.procstats.ProcessStats;
|
D | ProcessStats.java | 52 public final class ProcessStats implements Parcelable { class 222 public ProcessStats(boolean running) { in ProcessStats() method in ProcessStats 234 public ProcessStats(Parcel in) { in ProcessStats() method in ProcessStats 239 public void add(ProcessStats other) { in add() 354 public static final Parcelable.Creator<ProcessStats> CREATOR 355 = new Parcelable.Creator<ProcessStats>() { 356 public ProcessStats createFromParcel(Parcel in) { 357 return new ProcessStats(in); 360 public ProcessStats[] newArray(int size) { 361 return new ProcessStats[size]; [all …]
|
D | DumpUtils.java | 35 import static com.android.internal.app.procstats.ProcessStats.*;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 40 import com.android.internal.app.procstats.ProcessStats; 73 ProcessStats mProcessStats; 95 mProcessStats = new ProcessStats(true); in ProcessStatsService() 101 mProcessStats.mFlags |= ProcessStats.FLAG_SYSPROPS; in ProcessStatsService() 146 memFactor += ProcessStats.ADJ_SCREEN_ON; in setMemFactorLocked() 149 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked() 155 final ArrayMap<String, SparseArray<LongSparseArray<ProcessStats.PackageState>>> pmap in setMemFactorLocked() 158 final SparseArray<LongSparseArray<ProcessStats.PackageState>> uids = in setMemFactorLocked() 161 final LongSparseArray<ProcessStats.PackageState> vers = uids.valueAt(iuid); in setMemFactorLocked() 163 final ProcessStats.PackageState pkg = vers.valueAt(iver); in setMemFactorLocked() [all …]
|
D | ProcessRecord.java | 27 import com.android.internal.app.procstats.ProcessStats; 68 final ArrayMap<String, ProcessStats.ProcessStateHolder> pkgList = new ArrayMap<>(); 501 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.longVersionCode)); in ProcessRecord() 521 origBase.setState(ProcessStats.STATE_NOTHING, in makeActive() 529 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive() 548 origBase.setState(ProcessStats.STATE_NOTHING, in makeInactive() 554 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeInactive() 782 ProcessStats.ProcessStateHolder holder = new ProcessStats.ProcessStateHolder( in addPackage() 821 baseProcessTracker.setState(ProcessStats.STATE_NOTHING, in resetPackageList() 825 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in resetPackageList() [all …]
|
D | EventLogTags.logtags | 112 # Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
|
D | ActivityManagerService.java | 408 import com.android.internal.app.procstats.ProcessStats; 1602 int mLastMemoryLevel = ProcessStats.ADJ_MEM_FACTOR_NORMAL; 2724 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess() 4006 && mLastMemoryLevel > ProcessStats.ADJ_MEM_FACTOR_NORMAL in getProcessRecordLocked() 6982 ProcessStats.ADD_PSS_EXTERNAL_SLOW, endTime-startTime, in getProcessMemoryInfo() 7013 ProcessStats.ADD_PSS_EXTERNAL, endTime-startTime, proc.pkgList); in getProcessPss() 18938 reportType = ProcessStats.ADD_PSS_EXTERNAL_SLOW; in dumpApplicationMemoryUsage() 18944 reportType = ProcessStats.ADD_PSS_EXTERNAL; in dumpApplicationMemoryUsage() 19200 case ProcessStats.ADJ_MEM_FACTOR_NORMAL: in dumpApplicationMemoryUsage() 19203 case ProcessStats.ADJ_MEM_FACTOR_MODERATE: in dumpApplicationMemoryUsage() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 42 * Data model from /frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats.java 126 …is enum list is from frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats.java
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 79 import com.android.internal.app.procstats.ProcessStats; 2088 memLevel = ProcessStats.ADJ_MEM_FACTOR_NORMAL; in assignJobsToContextsLocked() 2091 case ProcessStats.ADJ_MEM_FACTOR_MODERATE: in assignJobsToContextsLocked() 2094 case ProcessStats.ADJ_MEM_FACTOR_LOW: in assignJobsToContextsLocked() 2097 case ProcessStats.ADJ_MEM_FACTOR_CRITICAL: in assignJobsToContextsLocked()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 69 import com.android.internal.app.procstats.ProcessStats; 4039 dumpService(pw, fd, ProcessStats.SERVICE_NAME, new String[] { packageName }); in dumpPackageStateStatic()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 8411 …stats/ProcessState;->aggregatePss(Lcom/android/internal/app/procstats/ProcessStats$TotalMemoryUseC… 8424 …d/internal/app/procstats/ProcessStats$1;->createFromParcel(Landroid/os/Parcel;)Lcom/android/intern… 8425 HPLcom/android/internal/app/procstats/ProcessStats$1;->createFromParcel(Landroid/os/Parcel;)Ljava/l… 8426 HPLcom/android/internal/app/procstats/ProcessStats$PackageState;-><init>(Ljava/lang/String;I)V 8427 HPLcom/android/internal/app/procstats/ProcessStats$TotalMemoryUseCollection;-><init>([I[I)V 8428 HPLcom/android/internal/app/procstats/ProcessStats;-><init>(Landroid/os/Parcel;)V 8429 HPLcom/android/internal/app/procstats/ProcessStats;->add(Lcom/android/internal/app/procstats/Proces… 8430 HPLcom/android/internal/app/procstats/ProcessStats;->addSysMemUsage(JJJJJ)V 8431 HPLcom/android/internal/app/procstats/ProcessStats;->buildTimePeriodStartClockStr()V 8432 …om/android/internal/app/procstats/ProcessStats;->computeTotalMemoryUse(Lcom/android/internal/app/p… [all …]
|