HomeSort by relevance Sort by last modified time
    Searched defs:readTextFile (Results 1 - 3 of 3) sorted by null

  /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...]
  /frameworks/base/core/java/android/os/
FileUtils.java 235 public static String readTextFile(File file, int max, String ellipsis) throws IOException {
  /frameworks/base/services/java/com/android/server/usb/
UsbDebuggingManager.java 331 pw.println(FileUtils.readTextFile(new File("/data/misc/adb/adb_keys"), 0, null));
337 pw.println(FileUtils.readTextFile(new File("/adb_keys"), 0, null));

Completed in 580 milliseconds