/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferencesTest.java | 75 assertEquals("/java/lang", p.absolutePath()); in testSystemNodeForPackage() 82 assertEquals("System Preference Node: " + p.absolutePath(), p in testSystemNodeForPackage() 99 assertEquals("/", p.absolutePath()); in testSystemRoot() 103 assertEquals("System Preference Node: " + p.absolutePath(), p in testSystemRoot() 115 assertEquals("/java/lang", p.absolutePath()); in testUserNodeForPackage() 122 assertEquals("User Preference Node: " + p.absolutePath(), p.toString()); in testUserNodeForPackage() 137 assertEquals("/", p.absolutePath()); in testUserRoot() 141 assertEquals("User Preference Node: " + p.absolutePath(), p.toString()); in testUserRoot() 253 public String absolutePath() { in absolutePath() method in PreferencesTest.MockPreferences
|
D | AbstractPreferencesTest.java | 165 assertEquals("User Preference Node: " + pref.absolutePath(), pref in testToString() 170 assertEquals("System Preference Node: " + pref.absolutePath(), pref in testToString() 175 assertEquals("/java/util/prefs/mock", pref.absolutePath()); in testAbsolutePath() 178 assertEquals("/java/util/prefs/mock/ ", pref.absolutePath()); in testAbsolutePath() 1047 p.absolutePath(); in testBackingStoreException() 1094 p.absolutePath(); in testBackingStoreException() 1149 p.absolutePath(); in testRuntimeException() 1222 p.absolutePath(); in testRuntimeException() 1271 p.absolutePath(); in testSPIReturnNull() 1308 p.absolutePath(); in testSPIReturnNull() [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 227 public static byte[] readFileAsByteArray(String absolutePath) throws IOException { in readFileAsByteArray() argument 228 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray() 236 public static String readFileAsString(String absolutePath) throws IOException { in readFileAsString() argument 237 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString() 311 public FileReader(String absolutePath) throws IOException { in FileReader() argument 319 fd = IoBridge.open(absolutePath, O_RDONLY); in FileReader()
|
/libcore/support/src/test/java/libcore/testing/io/ |
D | TestIoUtils.java | 34 public static String readFileAsString(String absolutePath) throws IOException { in readFileAsString() argument 35 return new String(Files.readAllBytes(Paths.get(absolutePath)), StandardCharsets.UTF_8); in readFileAsString()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 133 private final String absolutePath; field in AbstractPreferences 210 this.absolutePath = "/"; in AbstractPreferences() 220 absolutePath = (parent==root ? "/" + name in AbstractPreferences() 221 : parent.absolutePath() + "/" + name); in AbstractPreferences() 1013 public String absolutePath() { in absolutePath() method in AbstractPreferences 1014 return absolutePath; in absolutePath() 1334 " Preference Node: " + this.absolutePath();
|
D | Preferences.java | 1064 public abstract String absolutePath(); in absolutePath() method in Preferences
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 915 void load(String absolutePath, ClassLoader loader) { in load() argument 920 if (absolutePath == null) { in load() 923 String error = nativeLoad(absolutePath, loader); in load()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 177 Path ojluniFile = standardRepositories.ojluni().absolutePath(relPath); in run() 194 upstreamFile = upstream.absolutePath(relPath); in run()
|
D | CopyUpstreamFiles.java | 50 Path upstreamFile = upstream.absolutePath(relPath); in run()
|
D | Repository.java | 95 public final Path absolutePath(Path relPath) { in absolutePath() method in Repository
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Runtime.java | 135 void load(java.lang.String absolutePath, java.lang.ClassLoader loader) { in load() argument
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 863 assertEquals(parent.absolutePath() + "/" + nodeName, pref.absolutePath()); in testAbsolutePath() 864 … assertEquals(parent.absolutePath() + "/" + "new node", parent.node("new node").absolutePath()); in testAbsolutePath()
|
D | OldPreferencesTest.java | 78 p.absolutePath(); in testAbstractMethods() 132 assertEquals("/java/util/prefs", p.absolutePath()); in testAbsolutePath() 968 public String absolutePath() { in absolutePath() method in OldPreferencesTest.MockPreferences
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 76 Path absolutePath = fakePath.toAbsolutePath(); in test_isAbsolute() local 77 assertTrue(absolutePath.isAbsolute()); in test_isAbsolute()
|