/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 359 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument 362 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv() 379 if (procStates != null && procStates.length > 1) { in dumpStateHeadersCsv() 383 pw.print(STATE_NAMES_CSV[procStates[ip]]); 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() 402 boolean sepProcStates, int[] procStates, long now) { in dumpProcessListCsv() argument 410 sepProcStates ? procStates : null); in dumpProcessListCsv() 420 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
|
D | ProcessState.java | 812 int[] procStates, long now) { in computeProcessTimeLocked() argument 816 for (int ip=0; ip<procStates.length; ip++) { in computeProcessTimeLocked() 818 + procStates[ip]; in computeProcessTimeLocked() 828 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument 842 screenStates, memStates, procStates, now, totalTime, true); in dumpSummary() 874 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpProcessState() argument 880 for (int ip=0; ip<procStates.length; ip++) { in dumpProcessState() 883 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState() 902 pw.print(DumpUtils.STATE_LABELS[procStates[ip]]); pw.print(": "); in dumpProcessState() 925 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpPss() argument [all …]
|
D | ProcessStats.java | 1902 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument 1905 procStates, sortProcStates, now, reqPackage, activeOnly); in dumpFilteredSummaryLocked() 1917 int[] procStates, int sortProcStates[], long now, String reqPackage, in collectProcessesLocked() argument 1948 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked() 1950 if (procStates != sortProcStates) { in collectProcessesLocked() 2280 final int[] procStates; field in ProcessStats.ProcessDataCollection 2297 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 | AppCompactor.java | 480 String[] procStates = TextUtils.split(procStateThrottleString, ","); in parseProcStateThrottle() local 482 for (String procState : procStates) { in parseProcStateThrottle()
|