Searched refs:KernelCpuProcStringReader (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuProcStringReader.java | 53 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 …]
|
D | KernelCpuUidTimeReader.java | 18 import static com.android.internal.os.KernelCpuProcStringReader.asLongs; 30 import com.android.internal.os.KernelCpuProcStringReader.ProcFileIterator; 59 final KernelCpuProcStringReader mReader; 79 …KernelCpuUidTimeReader(KernelCpuProcStringReader reader, @Nullable KernelCpuUidBpfMapReader bpfRea… in KernelCpuUidTimeReader() 86 KernelCpuUidTimeReader(KernelCpuProcStringReader reader, boolean throttle) { in KernelCpuUidTimeReader() 206 super(KernelCpuProcStringReader.getUserSysTimeReaderInstance(), throttle); in KernelCpuUidUserSysTimeReader() 210 public KernelCpuUidUserSysTimeReader(KernelCpuProcStringReader reader, boolean throttle) { in KernelCpuUidUserSysTimeReader() 338 this(UID_TIMES_PROC_FILE, KernelCpuProcStringReader.getFreqTimeReaderInstance(), in KernelCpuUidFreqTimeReader() 343 public KernelCpuUidFreqTimeReader(String procFile, KernelCpuProcStringReader reader, in KernelCpuUidFreqTimeReader() 618 super(KernelCpuProcStringReader.getActiveTimeReaderInstance(), in KernelCpuUidActiveTimeReader() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuProcStringReaderTest.java | 65 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 …]
|
D | KernelCpuUidFreqTimeReaderTest.java | 92 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), mBpfMapReader, false); in setUp() 114 … new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), mBpfMapReader, false); in testReadFreqs_perClusterTimesNotAvailable() 142 … new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), mBpfMapReader, false); in testReadFreqs_perClusterTimesAvailable()
|
D | KernelCpuUidUserSysTimeReaderTest.java | 79 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), false); in setUp() 92 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), true); in testThrottler()
|
D | KernelCpuUidActiveTimeReaderTest.java | 86 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), mBpfMapReader, false); in setUp()
|
D | KernelCpuUidClusterTimeReaderTest.java | 88 new KernelCpuProcStringReader(mTestFile.getAbsolutePath()), mBpfMapReader, in setUp()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 21238 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->close()V 21239 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->hasNextLine()Z 21240 HSPLcom/android/internal/os/KernelCpuProcStringReader$ProcFileIterator;->nextLine()Ljava/nio/CharBu… 21241 HSPLcom/android/internal/os/KernelCpuProcStringReader;-><init>(Ljava/lang/String;)V 21242 HSPLcom/android/internal/os/KernelCpuProcStringReader;->asLongs(Ljava/nio/CharBuffer;[J)I 21243 HSPLcom/android/internal/os/KernelCpuProcStringReader;->open(Z)Lcom/android/internal/os/KernelCpuPr… 21265 …idActiveTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile… 21269 …dClusterTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile… 21274 …uUidFreqTimeReader;->checkPrecondition(Lcom/android/internal/os/KernelCpuProcStringReader$ProcFile… 21286 …/internal/os/KernelCpuUidTimeReader;-><init>(Lcom/android/internal/os/KernelCpuProcStringReader;Z)V [all …]
|
D | preloaded-classes | 4619 com.android.internal.os.KernelCpuProcStringReader
|