Home
last modified time | relevance | path

Searched refs:kernelCpuThreadReader (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java127 final KernelCpuThreadReader kernelCpuThreadReader = in getAverageWorkTime() local
129 assertNotNull(kernelCpuThreadReader); in getAverageWorkTime()
130 kernelCpuThreadReader.setUidPredicate(uid -> uid == Process.myUid()); in getAverageWorkTime()
132 kernelCpuThreadReader.getProcessCpuUsage().stream() in getAverageWorkTime()
DKernelCpuThreadReaderTest.java84 final KernelCpuThreadReader kernelCpuThreadReader = new KernelCpuThreadReader( in testReader_byUids() local
91 kernelCpuThreadReader.getProcessCpuUsage(); in testReader_byUids()
99 checkResults(processCpuUsage, kernelCpuThreadReader.getCpuFrequenciesKhz(), in testReader_byUids()
/frameworks/base/core/java/com/android/internal/os/
DSystemServerCpuThreadReader.java65 public SystemServerCpuThreadReader(KernelSingleProcessCpuThreadReader kernelCpuThreadReader) { in SystemServerCpuThreadReader() argument
66 mKernelCpuThreadReader = kernelCpuThreadReader; in SystemServerCpuThreadReader()