OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:readTextFile
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/core/tests/coretests/src/android/os/
FileUtilsTest.java
124
assertEquals(TEST_DATA, FileUtils.
readTextFile
(mCopyFile, 0, null));
132
assertEquals(s, FileUtils.
readTextFile
(mCopyFile, 0, null));
145
assertEquals(TEST_DATA, FileUtils.
readTextFile
(mTestFile, 0, null));
147
assertEquals("ABCDE", FileUtils.
readTextFile
(mTestFile, 5, null));
148
assertEquals("ABCDE<>", FileUtils.
readTextFile
(mTestFile, 5, "<>"));
150
FileUtils.
readTextFile
(mTestFile, 51, "<>"));
151
assertEquals(TEST_DATA, FileUtils.
readTextFile
(mTestFile, 52, "<>"));
152
assertEquals(TEST_DATA, FileUtils.
readTextFile
(mTestFile, 100, "<>"));
154
assertEquals("vwxyz", FileUtils.
readTextFile
(mTestFile, -5, null));
155
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/
EntropyServiceTest.java
34
assertEquals(0, FileUtils.
readTextFile
(file, 0, null).length());
39
assertTrue(FileUtils.
readTextFile
(file, 0, null).length() > 0);
/frameworks/base/services/java/com/android/server/
BootReceiver.java
93
.append(FileUtils.
readTextFile
(new File("/proc/version"), 1024, "...\n"))
106
// Negative sizes mean to take the *tail* of the file (see FileUtils.
readTextFile
())
161
db.addText(tag, headers + FileUtils.
readTextFile
(file, maxSize, "[[TRUNCATED]]\n"));
/frameworks/base/services/java/com/android/server/usb/
UsbDeviceManager.java
271
String state = FileUtils.
readTextFile
(new File(STATE_PATH), 0, null).trim();
628
+ FileUtils.
readTextFile
(new File(STATE_PATH), 0, null).trim());
630
+ FileUtils.
readTextFile
(new File(FUNCTIONS_PATH), 0, null).trim());
632
+ FileUtils.
readTextFile
(new File(MASS_STORAGE_FILE_PATH), 0, null).trim());
/frameworks/base/core/java/android/os/
FileUtils.java
185
public static String
readTextFile
(File file, int max, String ellipsis) throws IOException {
RecoverySystem.java
402
log = FileUtils.
readTextFile
(LOG_FILE, -LOG_FILE_MAX_LENGTH, "...\n");
/frameworks/base/services/java/com/android/server/am/
ActivityManagerService.java
[
all
...]
Completed in 470 milliseconds