Home
last modified time | relevance | path

Searched refs:procStates (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java418 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()
DProcessState.java814 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 …]
DProcessStats.java1962 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/
DBatteryStatsImplTest.java421 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/
DProcessStatsService.java433 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()
DCachedAppOptimizer.java599 String[] procStates = TextUtils.split(procStateThrottleString, ","); in parseProcStateThrottle() local
601 for (String procState : procStates) { in parseProcStateThrottle()