/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 256 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument 258 final int NM = memStates != null ? memStates.length : 1; in dumpStateHeadersCsv() 269 if (memStates != null && memStates.length > 1) { in dumpStateHeadersCsv() 273 printMemLabelCsv(pw, memStates[im]); in dumpStateHeadersCsv() 312 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument 316 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime); in dumpProcessSummaryLocked() 321 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument 329 sepMemStates ? memStates : null, in dumpProcessListCsv() 340 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
|
D | ProcessState.java | 742 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument 746 for (int im=0; im<memStates.length; im++) { in computeProcessTimeLocked() 748 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked() 759 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 769 dumpProcessSummaryDetails(pw, prefix, " TOTAL: ", screenStates, memStates, in dumpSummary() 771 dumpProcessSummaryDetails(pw, prefix, " Persistent: ", screenStates, memStates, in dumpSummary() 773 dumpProcessSummaryDetails(pw, prefix, " Top: ", screenStates, memStates, in dumpSummary() 775 dumpProcessSummaryDetails(pw, prefix, " Imp Fg: ", screenStates, memStates, in dumpSummary() 777 dumpProcessSummaryDetails(pw, prefix, " Imp Bg: ", screenStates, memStates, in dumpSummary() 779 dumpProcessSummaryDetails(pw, prefix, " Backup: ", screenStates, memStates, in dumpSummary() [all …]
|
D | SysMemUsageTable.java | 142 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()
|
D | ProcessStats.java | 351 for (int im=0; im<data.memStates.length; im++) { in computeTotalMemoryUse() 352 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse() 1514 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1516 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked() 1523 DumpUtils.dumpProcessSummaryLocked(pw, prefix, procs, screenStates, memStates, in dumpFilteredSummaryLocked() 1528 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument 1559 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 1562 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked() 1735 final int[] memStates; field in ProcessStats.ProcessDataCollection 1749 memStates = _memStates; in ProcessDataCollection() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 388 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument 391 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked() 397 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()
|