Home
last modified time | relevance | path

Searched refs:screenStates (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
814 for (int is=0; is<screenStates.length; is++) { 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.java358 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument
360 final int NS = screenStates != null ? screenStates.length : 1; in dumpStateHeadersCsv()
368 if (screenStates != null && screenStates.length > 1) { in dumpStateHeadersCsv()
369 printScreenLabelCsv(pw, screenStates[is]); 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
408 dumpStateHeadersCsv(pw, CSV_SEP, sepScreenStates ? screenStates : null, in dumpProcessListCsv()
419 proc.dumpCsv(pw, sepScreenStates, screenStates, sepMemStates, in dumpProcessListCsv()
DSysMemUsageTable.java142 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()
DProcessStats.java417 for (int is=0; is<data.screenStates.length; is++) { 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()
2278 final int[] screenStates; field in ProcessStats.ProcessDataCollection
2295 screenStates = _screenStates; 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()
440 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()