Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java57 private static String readFile(String fn) { in readFile() method in ToastTest
87 String text = "freq=" + readFile("/sys/class/leds/red/device/grpfreq")
88 + "\npwm=" + readFile("/sys/class/leds/red/device/grppwm");
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java242 readFile(file, rewriter); in rewriteSingle()
296 readFile(file, reader); in readMatching()
363 private static void readFile(File file, Reader reader) throws IOException { in readFile() method in FileRotator
/frameworks/base/core/java/com/android/internal/os/
DProcessStats.java565 String file = readFile("/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", '\0');
804 private String readFile(String file, char endChar) {
842 String cmdName = readFile(cmdlineFile, '\0');