/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 813 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument 817 for (int im=0; im<memStates.length; im++) { in computeProcessTimeLocked() 819 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked() 830 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 844 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary() 846 screenStates, memStates, new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary() 848 screenStates, memStates, new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary() 850 screenStates, memStates, new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, in dumpSummary() 853 screenStates, memStates, new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, in dumpSummary() 856 screenStates, memStates, new int[] {STATE_BACKUP}, now, totalTime, true); in dumpSummary() [all …]
|
D | DumpUtils.java | 418 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument 420 final int NM = memStates != null ? memStates.length : 1; in dumpStateHeadersCsv() 431 if (memStates != null && memStates.length > 1) { in dumpStateHeadersCsv() 435 printMemLabelCsv(pw, memStates[im]); in dumpStateHeadersCsv() 450 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument 454 proc.dumpSummary(pw, prefix, header, screenStates, memStates, procStates, now, in dumpProcessSummaryLocked() 460 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument 468 sepMemStates ? memStates : null, in dumpProcessListCsv() 479 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
|
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 | 440 for (int im=0; im<data.memStates.length; im++) { in computeTotalMemoryUse() 441 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse() 1962 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1964 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked() 1971 DumpUtils.dumpProcessSummaryLocked(pw, prefix, prcLabel, procs, screenStates, memStates, in dumpFilteredSummaryLocked() 1976 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument 2008 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 2011 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked() 2522 final int[] memStates; field in ProcessStats.ProcessDataCollection 2539 memStates = _memStates; in ProcessDataCollection() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 432 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()
|