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.java811 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument
815 for (int im=0; im<memStates.length; im++) { in computeProcessTimeLocked()
817 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
828 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument
842 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary()
844 screenStates, memStates, new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary()
846 screenStates, memStates, new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary()
848 screenStates, memStates, new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, in dumpSummary()
851 screenStates, memStates, new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, in dumpSummary()
854 screenStates, memStates, new int[] {STATE_BACKUP}, now, totalTime, true); in dumpSummary()
[all …]
DDumpUtils.java359 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument
361 final int NM = memStates != null ? memStates.length : 1; in dumpStateHeadersCsv()
372 if (memStates != null && memStates.length > 1) { in dumpStateHeadersCsv()
376 printMemLabelCsv(pw, memStates[im]); in dumpStateHeadersCsv()
391 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument
395 proc.dumpSummary(pw, prefix, header, screenStates, memStates, procStates, now, in dumpProcessSummaryLocked()
401 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument
409 sepMemStates ? memStates : null, in dumpProcessListCsv()
420 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.java418 for (int im=0; im<data.memStates.length; im++) { in computeTotalMemoryUse()
419 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse()
1902 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument
1904 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked()
1911 DumpUtils.dumpProcessSummaryLocked(pw, prefix, prcLabel, procs, screenStates, memStates, in dumpFilteredSummaryLocked()
1916 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument
1948 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked()
1951 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked()
2279 final int[] memStates; field in ProcessStats.ProcessDataCollection
2296 memStates = _memStates; in ProcessDataCollection()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java432 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument
435 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked()
441 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()