Home
last modified time | relevance | path

Searched refs:ProcessStats (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/procstats/
DSysMemUsageTable.java21 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 …]
DPssTable.java19 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 …]
DProcessState.java35 import static com.android.internal.app.procstats.ProcessStats.PSS_AVERAGE;
36 import static com.android.internal.app.procstats.ProcessStats.PSS_COUNT;
37 import static com.android.internal.app.procstats.ProcessStats.PSS_MAXIMUM;
38 import static com.android.internal.app.procstats.ProcessStats.PSS_MINIMUM;
39 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_AVERAGE;
40 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MAXIMUM;
41 import static com.android.internal.app.procstats.ProcessStats.PSS_RSS_MINIMUM;
42 import static com.android.internal.app.procstats.ProcessStats.PSS_SAMPLE_COUNT;
43 import static com.android.internal.app.procstats.ProcessStats.PSS_USS_AVERAGE;
44 import static com.android.internal.app.procstats.ProcessStats.PSS_USS_MAXIMUM;
[all …]
DAssociationState.java39 private final ProcessStats mProcessStats;
40 private final ProcessStats.PackageState mPackageState;
47 int mProcState = ProcessStats.STATE_NOTHING;
55 int mActiveProcState = ProcessStats.STATE_NOTHING;
84 if (procState < ProcessStats.STATE_HOME) { in trackProcState()
113 if (mActiveProcState != ProcessStats.STATE_NOTHING) { in startActive()
156 mProcState = ProcessStats.STATE_NOTHING; in stopTracking()
175 if (mProcState != ProcessStats.STATE_NOTHING) { in toString()
248 public AssociationState(ProcessStats processStats, ProcessStats.PackageState packageState, in AssociationState()
331 mySrc.mActiveProcState = ProcessStats.STATE_NOTHING; in add()
[all …]
DServiceState.java29 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
74 public ServiceState(ProcessStats processStats, String pkg, String name, in ServiceState()
107 if (mStartedState != ProcessStats.STATE_NOTHING) { in setMemFactor()
110 if (mBoundState != ProcessStats.STATE_NOTHING) { in setMemFactor()
113 if (mExecState != ProcessStats.STATE_NOTHING) { in setMemFactor()
116 if (mForegroundState != ProcessStats.STATE_NOTHING) { in setMemFactor()
467 for (int iscreen=0; iscreen<ProcessStats.ADJ_COUNT; iscreen+=ProcessStats.ADJ_SCREEN_MOD) {
469 for (int imem=0; imem<ProcessStats.ADJ_MEM_FACTOR_COUNT; imem++) {
DProcessStats.aidl19 parcelable ProcessStats;
DIProcessStats.aidl21 import com.android.internal.app.procstats.ProcessStats;
DProcessStats.java55 public final class ProcessStats implements Parcelable { class
247 public ProcessStats(boolean running) { in ProcessStats() method in ProcessStats
259 public ProcessStats(Parcel in) { in ProcessStats() method in ProcessStats
264 public void add(ProcessStats other) { in add()
388 public static final Parcelable.Creator<ProcessStats> CREATOR
389 = new Parcelable.Creator<ProcessStats>() {
390 public ProcessStats createFromParcel(Parcel in) {
391 return new ProcessStats(in);
394 public ProcessStats[] newArray(int size) {
395 return new ProcessStats[size];
[all …]
DDumpUtils.java25 import static com.android.internal.app.procstats.ProcessStats.*;
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java40 import com.android.internal.app.procstats.ProcessStats;
74 ProcessStats mProcessStats;
96 mProcessStats = new ProcessStats(true); in ProcessStatsService()
102 mProcessStats.mFlags |= ProcessStats.FLAG_SYSPROPS; in ProcessStatsService()
125 public void updateProcessStateHolderLocked(ProcessStats.ProcessStateHolder holder, in updateProcessStateHolderLocked()
156 memFactor += ProcessStats.ADJ_SCREEN_ON; in setMemFactorLocked()
159 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
165 final ArrayMap<String, SparseArray<LongSparseArray<ProcessStats.PackageState>>> pmap in setMemFactorLocked()
168 final SparseArray<LongSparseArray<ProcessStats.PackageState>> uids = in setMemFactorLocked()
171 final LongSparseArray<ProcessStats.PackageState> vers = uids.valueAt(iuid); in setMemFactorLocked()
[all …]
DProcessRecord.java61 import com.android.internal.app.procstats.ProcessStats;
91 final ArrayMap<String, ProcessStats.ProcessStateHolder> mPkgList = new ArrayMap<>();
93 ProcessStats.ProcessStateHolder put(String key, ProcessStats.ProcessStateHolder value) { in put()
111 public ProcessStats.ProcessStateHolder valueAt(int index) { in valueAt()
115 ProcessStats.ProcessStateHolder get(String pkgName) { in get()
594 pkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.longVersionCode)); in ProcessRecord()
609 origBase.setState(ProcessStats.STATE_NOTHING, in makeActive()
614 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in makeActive()
623 ProcessStats.ProcessStateHolder holder = pkgList.valueAt(i); in makeActive()
644 origBase.setState(ProcessStats.STATE_NOTHING, in makeInactive()
[all …]
DContentProviderConnection.java25 import com.android.internal.app.procstats.ProcessStats;
65 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
DConnectionRecord.java29 import com.android.internal.app.procstats.ProcessStats;
131 ProcessStats.ProcessStateHolder holder = binding.service.app.pkgList.get( in startAssociationIfNeeded()
DContentProviderRecord.java35 import com.android.internal.app.procstats.ProcessStats;
297 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded()
DEventLogTags.logtags109 # Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
DActivityManagerService.java318 import com.android.internal.app.procstats.ProcessStats;
1243 int mLastMemoryLevel = ProcessStats.ADJ_MEM_FACTOR_NORMAL;
2055 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess()
4428 ProcessStats.ADD_PSS_EXTERNAL_SLOW, endTime - startTime, in getProcessMemoryInfo()
4431 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessMemoryInfo()
4439 ProcessStats.ADD_PSS_EXTERNAL_SLOW, in getProcessMemoryInfo()
4487ProcessStats.ADD_PSS_EXTERNAL, endTime-startTime, proc.pkgList.mPkgList); in getProcessPss()
4489 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); in getProcessPss()
4495 ProcessStats.ADD_PSS_EXTERNAL, endTime-startTime, in getProcessPss()
12533 reportType = ProcessStats.ADD_PSS_EXTERNAL_SLOW; in dumpApplicationMemoryUsage()
[all …]
DOomAdjuster.java81 import com.android.internal.app.procstats.ProcessStats;
1576 if (mService.mLastMemoryLevel > ProcessStats.ADJ_MEM_FACTOR_NORMAL in computeOomAdjLocked()
1866 ProcessStats.ADD_PSS_INTERNAL_SINGLE, endTime-startTime, now); in applyOomAdjLocked()
DProcessList.java98 import com.android.internal.app.procstats.ProcessStats;
1439 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
1449 && mService.mLastMemoryLevel > ProcessStats.ADJ_MEM_FACTOR_NORMAL
1458 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg);
/frameworks/base/services/core/java/com/android/server/job/
DJobConcurrencyManager.java34 import com.android.internal.app.procstats.ProcessStats;
223 mLastMemoryTrimLevel = ProcessStats.ADJ_MEM_FACTOR_NORMAL; in refreshSystemStateLocked()
242 case ProcessStats.ADJ_MEM_FACTOR_MODERATE: in updateMaxCountsLocked()
245 case ProcessStats.ADJ_MEM_FACTOR_LOW: in updateMaxCountsLocked()
248 case ProcessStats.ADJ_MEM_FACTOR_CRITICAL: in updateMaxCountsLocked()
/frameworks/base/core/proto/android/service/
Dprocstats_enum.proto37 // this enum list is from frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats
Dprocstats.proto43 * Data model from /frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats.java
115 …is enum list is from frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats.java
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java118 import com.android.internal.app.procstats.ProcessStats;
1616 IProcessStats.Stub.asInterface(ServiceManager.getService(ProcessStats.SERVICE_NAME));
2436 pullProcessStats(ProcessStats.REPORT_ALL, tagId, elapsedNanos, wallClockNanos, ret); in pullData()
2440 pullProcessStats(ProcessStats.REPORT_PKG_PROC_STATS, tagId, elapsedNanos, in pullData()
/frameworks/base/core/java/android/app/
DActivityManager.java73 import com.android.internal.app.procstats.ProcessStats;
3975 dumpService(pw, fd, ProcessStats.SERVICE_NAME, new String[] { packageName });
/frameworks/base/config/
Dboot-image-profile.txt20011 …;-><init>(Lcom/android/internal/app/procstats/ProcessStats;Lcom/android/internal/app/procstats/Pro…
20015 …AssociationState;->readFromParcel(Lcom/android/internal/app/procstats/ProcessStats;Landroid/os/Par…
20018 …/AssociationState;->writeToParcel(Lcom/android/internal/app/procstats/ProcessStats;Landroid/os/Par…
20032 …p/procstats/ProcessState;-><init>(Lcom/android/internal/app/procstats/ProcessStats;Ljava/lang/Stri…
20035 …stats/ProcessState;->aggregatePss(Lcom/android/internal/app/procstats/ProcessStats$TotalMemoryUseC…
20057 HSPLcom/android/internal/app/procstats/ProcessStats$1;-><init>()V
20058 …d/internal/app/procstats/ProcessStats$1;->createFromParcel(Landroid/os/Parcel;)Lcom/android/intern…
20059 HPLcom/android/internal/app/procstats/ProcessStats$1;->createFromParcel(Landroid/os/Parcel;)Ljava/l…
20060 …com/android/internal/app/procstats/ProcessStats$PackageState;-><init>(Lcom/android/internal/app/pr…
20061 HSPLcom/android/internal/app/procstats/ProcessStats$PackageState;->getAssociationStateLocked(Lcom/a…
[all …]
/frameworks/base/cmds/statsd/src/
Datoms.proto5040 …is enum list is from frameworks/base/core/java/com/android/internal/app/procstats/ProcessStats.java

12