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.java1874 int[] cpuFrequencies = mKernelCpuThreadReader.getCpuFrequenciesKhz(); in pullCpuTimePerThreadFreq() local
1875 if (cpuFrequencies.length > CPU_TIME_PER_THREAD_FREQ_MAX_NUM_FREQUENCIES) { in pullCpuTimePerThreadFreq()
1877 + " frequencies, but got " + cpuFrequencies.length; in pullCpuTimePerThreadFreq()
1887 if (threadCpuUsage.usageTimesMillis.length != cpuFrequencies.length) { in pullCpuTimePerThreadFreq()
1889 + " expected " + cpuFrequencies.length in pullCpuTimePerThreadFreq()
1903 if (k < cpuFrequencies.length) { in pullCpuTimePerThreadFreq()
1904 e.writeInt(cpuFrequencies[k]); in pullCpuTimePerThreadFreq()