Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java334 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument
337 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv()
354 if (procStates != null && procStates.length > 1) { in dumpStateHeadersCsv()
358 pw.print(STATE_NAMES_CSV[procStates[ip]]); in dumpStateHeadersCsv()
366 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument
370 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime); in dumpProcessSummaryLocked()
376 boolean sepProcStates, int[] procStates, long now) { in dumpProcessListCsv() argument
384 sepProcStates ? procStates : null); in dumpProcessListCsv()
394 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
DProcessState.java757 int[] procStates, long now) { in computeProcessTimeLocked() argument
761 for (int ip=0; ip<procStates.length; ip++) { in computeProcessTimeLocked()
763 + procStates[ip]; in computeProcessTimeLocked()
773 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument
784 procStates, now, totalTime, true); in dumpSummary()
815 int[] screenStates, int[] memStates, int[] procStates, long now) { in dumpProcessState() argument
821 for (int ip=0; ip<procStates.length; ip++) { in dumpProcessState()
824 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState()
842 pw.print(DumpUtils.STATE_NAMES[procStates[ip]]); pw.print(": "); in dumpProcessState()
864 int[] screenStates, int[] memStates, int[] procStates) { in dumpPss() argument
[all …]
DProcessStats.java1611 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument
1614 procStates, sortProcStates, now, reqPackage, activeOnly); in dumpFilteredSummaryLocked()
1626 int[] procStates, int sortProcStates[], long now, String reqPackage, in collectProcessesLocked() argument
1657 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked()
1659 if (procStates != sortProcStates) { in collectProcessesLocked()
1876 final int[] procStates; field in ProcessStats.ProcessDataCollection
1893 procStates = _procStates; in ProcessDataCollection()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsImplTest.java310 private void addPendingUids(int[] uids, int[] procStates) { in addPendingUids() argument
313 pendingUids.put(uids[i], procStates[i]); in addPendingUids()
317 private void updateProcessStates(int[] uids, int[] procStates, in updateProcessStates() argument
324 pendingUids.put(uids[i], procStates[i]); in updateProcessStates()
326 u.setProcessStateForTest(procStates[i]); in updateProcessStates()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java400 boolean sepProcStates, int[] procStates, long now, String reqPackage) { in dumpFilteredProcessesCsvLocked() argument
402 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked()
408 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()