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()
103 final String procFile = new StringBuilder(PROC_FILE_DIR) in readDeltaMs() local108 final byte[] data = mInjector.readData(procFile); in readDeltaMs()110 verifyCpuFreqsCount(data.length, procFile); in readDeltaMs()119 if (DBG) Slog.e(TAG, "Some error occured while reading " + procFile, e); in readDeltaMs()127 private void verifyCpuFreqsCount(int numBytes, String procFile) { in verifyCpuFreqsCount() argument133 + "count from " + procFile + "=" + actualCount); in verifyCpuFreqsCount()246 public byte[] readData(String procFile) throws IOException { in readData() argument247 return Files.readAllBytes(Paths.get(procFile)); in readData()
343 public KernelCpuUidFreqTimeReader(String procFile, KernelCpuProcStringReader reader, in KernelCpuUidFreqTimeReader() argument346 mProcFilePath = Paths.get(procFile); in KernelCpuUidFreqTimeReader()
293 public byte[] readData(String procFile) throws IOException { in readData() argument