Searched defs:readFile (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DToastTest.java57 private static String readFile(String fn) { method in class: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/
H A DFileRotator.java242 readFile(file, rewriter);
296 readFile(file, reader);
368 private static void readFile(File file, Reader reader) throws IOException { method in class:FileRotator
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp432 bool BootAnimation::readFile(const char* name, String8& outString) function in class:android::BootAnimation
456 if (!readFile("desc.txt", desString)) {
463 if (readFile("audio_conf.txt", audioConf)) {
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java152 final byte[] stored = readFile(getLockPasswordFilename(userId));
160 final byte[] stored = readFile(getLockPatternFilename(userId));
176 byte[] contents = readFile(name);
180 private byte[] readFile(String name) { method in class:LockSettingsStorage
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java192 private String readFile(Context context, int resourceId) { method in class:ColorFade
204 String source = readFile(context, resourceId);
/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java594 String file = readFile("/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", '\0');
835 private String readFile(String file, char endChar) { method in class:ProcessCpuTracker
868 String cmdName = readFile(cmdlineFile, '\0');

Completed in 197 milliseconds