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.java359 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()
DProcessState.java812 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 …]
DProcessStats.java1902 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/
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()
DAppCompactor.java480 String[] procStates = TextUtils.split(procStateThrottleString, ","); in parseProcStateThrottle() local
482 for (String procState : procStates) { in parseProcStateThrottle()