Home
last modified time | relevance | path

Searched refs:processCpuUsages (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java117 final ArrayList<KernelCpuThreadReader.ProcessCpuUsage> processCpuUsages = in getProcessCpuUsageDiffed() local
119 newCpuUsage = createCpuUsageMap(processCpuUsages); in getProcessCpuUsageDiffed()
126 for (int i = 0; i < processCpuUsages.size(); i++) { in getProcessCpuUsageDiffed()
127 KernelCpuThreadReader.ProcessCpuUsage processCpuUsage = processCpuUsages.get(i); in getProcessCpuUsageDiffed()
131 return processCpuUsages; in getProcessCpuUsageDiffed()
162 List<KernelCpuThreadReader.ProcessCpuUsage> processCpuUsages) { in createCpuUsageMap() argument
164 for (int i = 0; i < processCpuUsages.size(); i++) { in createCpuUsageMap()
165 KernelCpuThreadReader.ProcessCpuUsage processCpuUsage = processCpuUsages.get(i); in createCpuUsageMap()
DKernelCpuThreadReader.java179 final ArrayList<ProcessCpuUsage> processCpuUsages = new ArrayList<>(); in getProcessCpuUsage() local
196 processCpuUsages.add(processCpuUsage); in getProcessCpuUsage()
204 if (processCpuUsages.isEmpty()) { in getProcessCpuUsage()
210 Slog.d(TAG, "Read usage for " + processCpuUsages.size() + " processes"); in getProcessCpuUsage()
213 return processCpuUsages; in getProcessCpuUsage()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderDiffTest.java295 Collection<KernelCpuThreadReader.ProcessCpuUsage> processCpuUsages) { in cpuUsages() argument
296 return processCpuUsages.stream() in cpuUsages()
303 Collection<KernelCpuThreadReader.ProcessCpuUsage> processCpuUsages) { in threadNames() argument
304 return processCpuUsages.stream() in threadNames()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1829 ArrayList<KernelCpuThreadReader.ProcessCpuUsage> processCpuUsages = in pullCpuTimePerThreadFreq() local
1831 if (processCpuUsages == null) { in pullCpuTimePerThreadFreq()
1841 for (int i = 0; i < processCpuUsages.size(); i++) { in pullCpuTimePerThreadFreq()
1842 KernelCpuThreadReader.ProcessCpuUsage processCpuUsage = processCpuUsages.get(i); in pullCpuTimePerThreadFreq()