/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 435 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument 438 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv() 455 if (procStates != null && procStates.length > 1) { in dumpStateHeadersCsv() 459 pw.print(STATE_NAMES_CSV[procStates[ip]]); 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() 478 boolean sepProcStates, int[] procStates, long now) { in dumpProcessListCsv() argument 486 sepProcStates ? procStates : null); in dumpProcessListCsv() 496 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
|
D | ProcessState.java | 889 int[] procStates, long now) { in computeProcessTimeLocked() argument 893 for (int ip=0; ip<procStates.length; ip++) { in computeProcessTimeLocked() 895 + procStates[ip]; in computeProcessTimeLocked() 905 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 919 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary() 957 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpProcessState() argument 963 for (int ip=0; ip<procStates.length; ip++) { in dumpProcessState() 966 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState() 985 pw.print(DumpUtils.STATE_LABELS[procStates[ip]]); pw.print(": "); in dumpProcessState() 1008 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpPss() argument [all …]
|
D | ProcessStats.java | 1969 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1972 procStates, sortProcStates, now, reqPackage, activeOnly); in dumpFilteredSummaryLocked() 1984 int[] procStates, int sortProcStates[], long now, String reqPackage, in collectProcessesLocked() argument 2015 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 2017 if (procStates != sortProcStates) { in collectProcessesLocked() 2492 final int[] procStates; field in ProcessStats.ProcessDataCollection 2509 procStates = _procStates; in ProcessDataCollection()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsImplTest.java | 422 private void addPendingUids(int[] uids, int[] procStates) { in addPendingUids() argument 425 pendingUids.put(uids[i], procStates[i]); in addPendingUids() 429 private void updateProcessStates(int[] uids, int[] procStates, in updateProcessStates() argument 436 pendingUids.put(uids[i], procStates[i]); in updateProcessStates() 438 u.setProcessStateForTest(procStates[i]); in updateProcessStates()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 490 boolean sepProcStates, int[] procStates, long now, String reqPackage) { in dumpFilteredProcessesCsvLocked() argument 492 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked() 498 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()
|
D | CachedAppOptimizer.java | 871 String[] procStates = TextUtils.split(procStateThrottleString, ","); in parseProcStateThrottle() local 873 for (String procState : procStates) { in parseProcStateThrottle()
|