Home
last modified time | relevance | path

Searched refs:cpuFrequencies (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java106 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) throws IOException { in setupDirectory() argument
130 for (int j = 0; j < cpuFrequencies.length; j++) { in setupDirectory()
131 final String line = cpuFrequencies[j] + " " + cpuTimes[i][j] + "\n"; in setupDirectory()
140 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) { in checkResults() argument
162 cpuFrequencies[i], in checkResults()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1834 int[] cpuFrequencies = mKernelCpuThreadReader.getCpuFrequenciesKhz(); in pullCpuTimePerThreadFreq() local
1835 if (cpuFrequencies.length > CPU_TIME_PER_THREAD_FREQ_MAX_NUM_FREQUENCIES) { in pullCpuTimePerThreadFreq()
1837 + " frequencies, but got " + cpuFrequencies.length; in pullCpuTimePerThreadFreq()
1847 if (threadCpuUsage.usageTimesMillis.length != cpuFrequencies.length) { in pullCpuTimePerThreadFreq()
1849 + " expected " + cpuFrequencies.length in pullCpuTimePerThreadFreq()
1863 if (k < cpuFrequencies.length) { in pullCpuTimePerThreadFreq()
1864 e.writeInt(cpuFrequencies[k]); in pullCpuTimePerThreadFreq()