Home
last modified time | relevance | path

Searched refs:memStates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java888 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument
892 for (int im=0; im<memStates.length; im++) { in computeProcessTimeLocked()
894 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
905 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument
919 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary()
921 screenStates, memStates, new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary()
923 screenStates, memStates, new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary()
925 screenStates, memStates, new int[] { STATE_BOUND_TOP_OR_FGS}, now, totalTime, in dumpSummary()
928 screenStates, memStates, new int[] { STATE_FGS}, now, totalTime, in dumpSummary()
931 screenStates, memStates, new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, in dumpSummary()
[all …]
DDumpUtils.java435 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument
437 final int NM = memStates != null ? memStates.length : 1; in dumpStateHeadersCsv()
448 if (memStates != null && memStates.length > 1) { in dumpStateHeadersCsv()
452 printMemLabelCsv(pw, memStates[im]); in dumpStateHeadersCsv()
467 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument
471 proc.dumpSummary(pw, prefix, header, screenStates, memStates, procStates, now, in dumpProcessSummaryLocked()
477 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument
485 sepMemStates ? memStates : null, in dumpProcessListCsv()
496 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
DSysMemUsageTable.java142 public void dump(PrintWriter pw, String prefix, int[] screenStates, int[] memStates) { in dump() argument
146 for (int im=0; im<memStates.length; im++) { in dump()
148 final int imem = memStates[im]; in dump()
158 if (memStates.length > 1) { in dump()
DProcessStats.java442 for (int im=0; im<data.memStates.length; im++) { in computeTotalMemoryUse()
443 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse()
1969 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument
1971 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked()
1978 DumpUtils.dumpProcessSummaryLocked(pw, prefix, prcLabel, procs, screenStates, memStates, in dumpFilteredSummaryLocked()
1983 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument
2015 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked()
2018 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked()
2491 final int[] memStates; field in ProcessStats.ProcessDataCollection
2508 memStates = _memStates; in ProcessDataCollection()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java489 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument
492 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked()
498 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()