/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 756 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument 759 for (int is=0; is<screenStates.length; is++) { in computeProcessTimeLocked() 762 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked() 773 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 783 dumpProcessSummaryDetails(pw, prefix, " TOTAL: ", screenStates, memStates, in dumpSummary() 785 dumpProcessSummaryDetails(pw, prefix, " Persistent: ", screenStates, memStates, in dumpSummary() 787 dumpProcessSummaryDetails(pw, prefix, " Top: ", screenStates, memStates, in dumpSummary() 789 dumpProcessSummaryDetails(pw, prefix, " Imp Fg: ", screenStates, memStates, in dumpSummary() 791 dumpProcessSummaryDetails(pw, prefix, " Imp Bg: ", screenStates, memStates, in dumpSummary() 793 dumpProcessSummaryDetails(pw, prefix, " Backup: ", screenStates, memStates, in dumpSummary() [all …]
|
D | DumpUtils.java | 333 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument 335 final int NS = screenStates != null ? screenStates.length : 1; in dumpStateHeadersCsv() 343 if (screenStates != null && screenStates.length > 1) { in dumpStateHeadersCsv() 344 printScreenLabelCsv(pw, screenStates[is]); in dumpStateHeadersCsv() 366 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument 370 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime); in dumpProcessSummaryLocked() 375 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument 382 dumpStateHeadersCsv(pw, CSV_SEP, sepScreenStates ? screenStates : null, in dumpProcessListCsv() 393 proc.dumpCsv(pw, sepScreenStates, screenStates, sepMemStates, in dumpProcessListCsv()
|
D | SysMemUsageTable.java | 142 public void dump(PrintWriter pw, String prefix, int[] screenStates, int[] memStates) { in dump() argument 144 for (int is=0; is<screenStates.length; is++) { in dump() 147 final int iscreen = screenStates[is]; in dump() 153 if (screenStates.length > 1) { in dump()
|
D | ProcessStats.java | 383 for (int is=0; is<data.screenStates.length; is++) { in computeTotalMemoryUse() 385 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse() 1611 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1613 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked() 1620 DumpUtils.dumpProcessSummaryLocked(pw, prefix, procs, screenStates, memStates, in dumpFilteredSummaryLocked() 1625 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument 1657 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 1660 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked() 1874 final int[] screenStates; field in ProcessStats.ProcessDataCollection 1891 screenStates = _screenStates; in ProcessDataCollection() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 399 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument 402 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked() 407 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()
|