Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleProcessCpuThreadReader.cpp109 MockCpuTimeInStateReader(JNIEnv *env, jobject cpuTimeInStateReader) in MockCpuTimeInStateReader() argument
110 : mEnv(env), mCpuTimeInStateReader(cpuTimeInStateReader) {} in MockCpuTimeInStateReader()
132 std::unique_ptr<ICpuTimeInStateReader> cpuTimeInStateReader( in getCpuFrequencyCount() local
134 return cpuTimeInStateReader->getCpuFrequencyCount(); in getCpuFrequencyCount()
139 std::unique_ptr<ICpuTimeInStateReader> cpuTimeInStateReader( in startTrackingProcessCpuTimes() local
141 return cpuTimeInStateReader->startTrackingProcessCpuTimes(tgid); in startTrackingProcessCpuTimes()
147 std::unique_ptr<ICpuTimeInStateReader> cpuTimeInStateReader( in startAggregatingThreadCpuTimes() local
151 if (!cpuTimeInStateReader->startAggregatingTaskCpuTimes(selectedThreadIds[i], in startAggregatingThreadCpuTimes()
191 std::unique_ptr<ICpuTimeInStateReader> cpuTimeInStateReader( in readProcessCpuUsage() local
194 const size_t frequencyCount = cpuTimeInStateReader->getCpuFrequencyCount(); in readProcessCpuUsage()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DSystemServerCpuThreadReader.java59 KernelSingleProcessCpuThreadReader.CpuTimeInStateReader cpuTimeInStateReader) in SystemServerCpuThreadReader() argument
61 this(new KernelSingleProcessCpuThreadReader(pid, cpuTimeInStateReader)); in SystemServerCpuThreadReader()
DKernelSingleProcessCpuThreadReader.java93 @Nullable CpuTimeInStateReader cpuTimeInStateReader) throws IOException { in KernelSingleProcessCpuThreadReader() argument
95 mCpuTimeInStateReader = cpuTimeInStateReader; in KernelSingleProcessCpuThreadReader()