Home
last modified time | relevance | path

Searched refs:absolutePath (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DIoUtils.java108 public static byte[] readFileAsByteArray(String absolutePath) throws IOException { in readFileAsByteArray() argument
109 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray()
115 public static String readFileAsString(String absolutePath) throws IOException { in readFileAsString() argument
116 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString()
201 public FileReader(String absolutePath) throws IOException { in FileReader() argument
209 fd = IoBridge.open(absolutePath, O_RDONLY); in FileReader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java73 assertEquals("/java/lang", p.absolutePath()); in testSystemNodeForPackage()
80 assertEquals("System Preference Node: " + p.absolutePath(), p in testSystemNodeForPackage()
97 assertEquals("/", p.absolutePath()); in testSystemRoot()
101 assertEquals("System Preference Node: " + p.absolutePath(), p in testSystemRoot()
113 assertEquals("/java/lang", p.absolutePath()); in testUserNodeForPackage()
120 assertEquals("User Preference Node: " + p.absolutePath(), p.toString()); in testUserNodeForPackage()
135 assertEquals("/", p.absolutePath()); in testUserRoot()
139 assertEquals("User Preference Node: " + p.absolutePath(), p.toString()); in testUserRoot()
251 public String absolutePath() { in absolutePath() method in PreferencesTest.MockPreferences
DAbstractPreferencesTest.java158 assertEquals("User Preference Node: " + pref.absolutePath(), pref in testToString()
163 assertEquals("System Preference Node: " + pref.absolutePath(), pref in testToString()
168 assertEquals("/java/util/prefs/mock", pref.absolutePath()); in testAbsolutePath()
171 assertEquals("/java/util/prefs/mock/ ", pref.absolutePath()); in testAbsolutePath()
1040 p.absolutePath(); in testBackingStoreException()
1087 p.absolutePath(); in testBackingStoreException()
1142 p.absolutePath(); in testRuntimeException()
1215 p.absolutePath(); in testRuntimeException()
1264 p.absolutePath(); in testSPIReturnNull()
1301 p.absolutePath(); in testSPIReturnNull()
[all …]
/libcore/luni/src/main/java/java/lang/
DRuntime.java318 public void load(String absolutePath) { in load() argument
319 load(absolutePath, VMStack.getCallingClassLoader()); in load()
325 void load(String absolutePath, ClassLoader loader) { in load() argument
326 if (absolutePath == null) { in load()
329 String error = doLoad(absolutePath, loader); in load()
/libcore/luni/src/main/java/java/util/prefs/
DPreferences.java138 public abstract String absolutePath(); in absolutePath() method in Preferences
DAbstractPreferences.java341 public String absolutePath() { in absolutePath() method in AbstractPreferences
347 return parentPref.absolutePath() + "/" + nodeName; in absolutePath()
791 return (isUserNode() ? "User" : "System") + " Preference Node: " + absolutePath(); in toString()
DXMLParser.java168 StringTokenizer ancestors = new StringTokenizer(prefs.absolutePath(), "/"); in exportPrefs()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java856 assertEquals(parent.absolutePath() + "/" + nodeName, pref.absolutePath()); in testAbsolutePath()
857 … assertEquals(parent.absolutePath() + "/" + "new node", parent.node("new node").absolutePath()); in testAbsolutePath()
DOldPreferencesTest.java77 p.absolutePath(); in testAbstractMethods()
131 assertEquals("/java/util/prefs", p.absolutePath()); in testAbsolutePath()
967 public String absolutePath() { in absolutePath() method in OldPreferencesTest.MockPreferences