Searched refs:procStatFile (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/cpu/ |
D | CpuInfoReader.java | 104 CpuInfoReader(File cpusetDir, File cpuFreqDir, File procStatFile, long minReadIntervalMillis) { in CpuInfoReader() argument 107 mProcStatFile = procStatFile; in CpuInfoReader() 360 boolean setProcStatFile(File procStatFile) { in setProcStatFile() argument 361 if (!procStatFile.exists()) { in setProcStatFile() 362 Slogf.e(TAG, "Missing proc stat file at %s", procStatFile.getAbsolutePath()); in setProcStatFile() 365 mProcStatFile = procStatFile; in setProcStatFile()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/ |
D | CpuInfoReaderTest.java | 575 File procStatFile) { in newCpuInfoReader() argument 576 CpuInfoReader cpuInfoReader = new CpuInfoReader(cpusetDir, cpuFreqDir, procStatFile, in newCpuInfoReader()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 1711 final String procStatFile = "/proc/" + pid + "/stat"; in isProcessAliveLocked() local 1713 if (!Process.readProcFile(procStatFile, PROCESS_STATE_STATS_FORMAT, null, in isProcessAliveLocked() 1717 "UNABLE TO RETRIEVE STATE FOR " + procStatFile); in isProcessAliveLocked() 1724 "RETRIEVED STATE FOR " + procStatFile + ": " + (char) state); in isProcessAliveLocked()
|