Searched refs:procFile (Results 1 – 4 of 4) sorted by relevance
54 final String procFile = "/proc/self/stat"; in timeReadStatFileDirectly() local56 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadStatFileDirectly()64 final String procFile = "/proc/self/time_in_state"; in timeReadPidProcDirectly() local66 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadPidProcDirectly()74 final String procFile = "/proc/self/task/" + android.os.Process.myTid() in timeReadThreadProcDirectly() local77 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadThreadProcDirectly()
87 final String procFile = new StringBuilder(PROC_FILE_DIR) in readDeltaMs() local92 final byte[] data = mInjector.readData(procFile); in readDeltaMs()94 verifyCpuFreqsCount(data.length, procFile); in readDeltaMs()103 if (DBG) Slog.e(TAG, "Some error occured while reading " + procFile, e); in readDeltaMs()111 private void verifyCpuFreqsCount(int numBytes, String procFile) { in verifyCpuFreqsCount() argument117 + "count from " + procFile + "=" + actualCount); in verifyCpuFreqsCount()230 public byte[] readData(String procFile) throws IOException { in readData() argument231 return Files.readAllBytes(Paths.get(procFile)); in readData()
330 public KernelCpuUidFreqTimeReader(String procFile, KernelCpuProcStringReader reader, in KernelCpuUidFreqTimeReader() argument333 mProcFilePath = Paths.get(procFile); in KernelCpuUidFreqTimeReader()
279 public byte[] readData(String procFile) throws IOException { in readData() argument