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.java888 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument
891 for (int is=0; is<screenStates.length; is++) { in computeProcessTimeLocked()
894 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
905 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument
919 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary()
921 screenStates, memStates, new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary()
923 screenStates, memStates, new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary()
925 screenStates, memStates, new int[] { STATE_BOUND_TOP_OR_FGS}, now, totalTime, in dumpSummary()
928 screenStates, memStates, new int[] { STATE_FGS}, now, totalTime, in dumpSummary()
931 screenStates, memStates, new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, in dumpSummary()
[all …]
DDumpUtils.java434 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument
436 final int NS = screenStates != null ? screenStates.length : 1; in dumpStateHeadersCsv()
444 if (screenStates != null && screenStates.length > 1) { in dumpStateHeadersCsv()
445 printScreenLabelCsv(pw, screenStates[is]); in dumpStateHeadersCsv()
467 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument
471 proc.dumpSummary(pw, prefix, header, screenStates, memStates, procStates, now, in dumpProcessSummaryLocked()
477 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument
484 dumpStateHeadersCsv(pw, CSV_SEP, sepScreenStates ? screenStates : null, in dumpProcessListCsv()
495 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.java441 for (int is=0; is<data.screenStates.length; is++) { in computeTotalMemoryUse()
443 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse()
1969 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument
1971 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked()
1978 DumpUtils.dumpProcessSummaryLocked(pw, prefix, prcLabel, procs, screenStates, memStates, in dumpFilteredSummaryLocked()
1983 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument
2015 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked()
2018 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked()
2490 final int[] screenStates; field in ProcessStats.ProcessDataCollection
2507 screenStates = _screenStates; in ProcessDataCollection()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java489 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument
492 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked()
497 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()