Home
last modified time | relevance | path

Searched refs:KernelCpuProcStringReader (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuProcStringReader.java53 public class KernelCpuProcStringReader { class
54 private static final String TAG = KernelCpuProcStringReader.class.getSimpleName();
65 private static final KernelCpuProcStringReader FREQ_TIME_READER =
66 new KernelCpuProcStringReader(PROC_UID_FREQ_TIME);
67 private static final KernelCpuProcStringReader ACTIVE_TIME_READER =
68 new KernelCpuProcStringReader(PROC_UID_ACTIVE_TIME);
69 private static final KernelCpuProcStringReader CLUSTER_TIME_READER =
70 new KernelCpuProcStringReader(PROC_UID_CLUSTER_TIME);
71 private static final KernelCpuProcStringReader USER_SYS_TIME_READER =
72 new KernelCpuProcStringReader(PROC_UID_USER_SYS_TIME);
[all …]
DKernelCpuUidTimeReader.java18 import static com.android.internal.os.KernelCpuProcStringReader.asLongs;
30 import com.android.internal.os.KernelCpuProcStringReader.ProcFileIterator;
58 final KernelCpuProcStringReader mReader;
76 KernelCpuUidTimeReader(KernelCpuProcStringReader reader, boolean throttle) { in KernelCpuUidTimeReader()
193 super(KernelCpuProcStringReader.getUserSysTimeReaderInstance(), throttle); in KernelCpuUidUserSysTimeReader()
197 public KernelCpuUidUserSysTimeReader(KernelCpuProcStringReader reader, boolean throttle) { in KernelCpuUidUserSysTimeReader()
325 this(UID_TIMES_PROC_FILE, KernelCpuProcStringReader.getFreqTimeReaderInstance(), in KernelCpuUidFreqTimeReader()
330 public KernelCpuUidFreqTimeReader(String procFile, KernelCpuProcStringReader reader, in KernelCpuUidFreqTimeReader()
547 super(KernelCpuProcStringReader.getActiveTimeReaderInstance(), throttle); in KernelCpuUidActiveTimeReader()
551 public KernelCpuUidActiveTimeReader(KernelCpuProcStringReader reader, boolean throttle) { in KernelCpuUidActiveTimeReader()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuProcStringReaderTest.java65 private KernelCpuProcStringReader mReader;
76 mReader = new KernelCpuProcStringReader(mTestFile.getAbsolutePath()); in setUp()
100 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit()
109 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit()
115 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit()
123 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit()
144 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLine()
154 KernelCpuProcStringReader.asLongs(iter.nextLine(), actual); in testReadLine()
179 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testMultipleRead()
196 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLineToArray()
[all …]
DKernelCpuUidFreqTimeReaderTest.java78 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp()
100 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in testReadFreqs_perClusterTimesNotAvailable()
128 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in testReadFreqs_perClusterTimesAvailable()
DKernelCpuUidUserSysTimeReaderTest.java79 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp()
92 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), true); in testThrottler()
DKernelCpuUidActiveTimeReaderTest.java70 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp()
DKernelCpuUidClusterTimeReaderTest.java72 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp()
/frameworks/base/config/
Dboot-image-profile.txt21239 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->close()V
21240 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->hasNextLine()Z
21241 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->nextLine()Ljava/nio/CharBu…
21242 HSPLcom/android/internal/os/KernelCpuProcStringReader;-><init>(Ljava/lang/String;)V
21243 HSPLcom/android/internal/os/KernelCpuProcStringReader;->asLongs(Ljava/nio/CharBuffer;[J)I
21244 HSPLcom/android/internal/os/KernelCpuProcStringReader;->open(Z)Lcom/android/internal/os/KernelCpuPr…
21266 …idActiveTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile…
21270 …dClusterTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile…
21275 …uUidFreqTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile…
21287 …/internal/os/KernelCpuUidTimeReader;-><init>(Lcom/android/internal/os/KernelCpuProcStringReader;Z)V
[all …]
Dpreloaded-classes4619 com.android.internal.os.KernelCpuProcStringReader