/frameworks/base/core/tests/coretests/src/android/os/ |
FileUtilsTest.java | 67 assertEquals(TEST_DATA, FileUtils.readTextFile(mCopyFile, 0, null)); 75 assertEquals(s, FileUtils.readTextFile(mCopyFile, 0, null)); 88 assertEquals(TEST_DATA, FileUtils.readTextFile(mTestFile, 0, null)); 90 assertEquals("ABCDE", FileUtils.readTextFile(mTestFile, 5, null)); 91 assertEquals("ABCDE<>", FileUtils.readTextFile(mTestFile, 5, "<>")); 93 FileUtils.readTextFile(mTestFile, 51, "<>")); 94 assertEquals(TEST_DATA, FileUtils.readTextFile(mTestFile, 52, "<>")); 95 assertEquals(TEST_DATA, FileUtils.readTextFile(mTestFile, 100, "<>")); 97 assertEquals("vwxyz", FileUtils.readTextFile(mTestFile, -5, null)); 98 assertEquals("<>vwxyz", FileUtils.readTextFile(mTestFile, -5, "<>")) [all...] |
BinderThreadPriorityTest.java | 100 String cgroup = FileUtils.readTextFile(new File(fn), 1024, null);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length()); 39 assertTrue(FileUtils.readTextFile(file, 0, null).length() > 0);
|
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 107 .append(FileUtils.readTextFile(new File("/proc/version"), 1024, "...\n")) 137 // Negative sizes mean to take the *tail* of the file (see FileUtils.readTextFile()) 209 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n") + footers); 234 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 255 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n");
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbDebuggingManager.java | 372 pw.println(FileUtils.readTextFile(new File("/data/misc/adb/adb_keys"), 0, null)); 378 pw.println(FileUtils.readTextFile(new File("/adb_keys"), 0, null));
|
UsbDeviceManager.java | 353 String state = FileUtils.readTextFile(new File(STATE_PATH), 0, null).trim(); [all...] |
/frameworks/base/core/java/android/os/ |
FileUtils.java | 227 public static String readTextFile(File file, int max, String ellipsis) throws IOException {
|
RecoverySystem.java | 483 log = FileUtils.readTextFile(LOG_FILE, -LOG_FILE_MAX_LENGTH, "...\n");
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | [all...] |