/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 418 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument 421 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv() 438 if (procStates != null && procStates.length > 1) { in dumpStateHeadersCsv() 442 pw.print(STATE_NAMES_CSV[procStates[ip]]); 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() 461 boolean sepProcStates, int[] procStates, long now) { in dumpProcessListCsv() argument 469 sepProcStates ? procStates : null); in dumpProcessListCsv() 479 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
|
D | ProcessState.java | 814 int[] procStates, long now) { in computeProcessTimeLocked() argument 818 for (int ip=0; ip<procStates.length; ip++) { in computeProcessTimeLocked() 820 + procStates[ip]; in computeProcessTimeLocked() 830 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 844 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary() 876 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpProcessState() argument 882 for (int ip=0; ip<procStates.length; ip++) { in dumpProcessState() 885 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState() 904 pw.print(DumpUtils.STATE_LABELS[procStates[ip]]); pw.print(": "); in dumpProcessState() 927 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpPss() argument [all …]
|
D | ProcessStats.java | 1962 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1965 procStates, sortProcStates, now, reqPackage, activeOnly); in dumpFilteredSummaryLocked() 1977 int[] procStates, int sortProcStates[], long now, String reqPackage, in collectProcessesLocked() argument 2008 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 2010 if (procStates != sortProcStates) { in collectProcessesLocked() 2523 final int[] procStates; field in ProcessStats.ProcessDataCollection 2540 procStates = _procStates; in ProcessDataCollection()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsImplTest.java | 421 private void addPendingUids(int[] uids, int[] procStates) { in addPendingUids() argument 424 pendingUids.put(uids[i], procStates[i]); in addPendingUids() 428 private void updateProcessStates(int[] uids, int[] procStates, in updateProcessStates() argument 435 pendingUids.put(uids[i], procStates[i]); in updateProcessStates() 437 u.setProcessStateForTest(procStates[i]); in updateProcessStates()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 433 boolean sepProcStates, int[] procStates, long now, String reqPackage) { in dumpFilteredProcessesCsvLocked() argument 435 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked() 441 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()
|
D | CachedAppOptimizer.java | 599 String[] procStates = TextUtils.split(procStateThrottleString, ","); in parseProcStateThrottle() local 601 for (String procState : procStates) { in parseProcStateThrottle()
|