Searched refs:getPath (Results 1 - 25 of 44) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
H A DURITest.java35 assertEquals("/directory/file", uri.getPath());
76 assertEquals("/path", uri.getPath());
82 assertEquals("/path", uri.getPath());
88 assertEquals("", uri.getPath());
158 assertEquals("/path", uri.getPath());
164 assertEquals("", uri.getPath());
171 assertEquals("", uri.getPath());
178 assertEquals("/file@foo", uri.getPath());
185 assertEquals("/file:colon", uri.getPath());
190 assertEquals("/file", uri.getPath());
[all...]
H A DURLTest.java37 assertEquals("/directory/file", url.getPath());
141 assertEquals("/path", url.getPath());
153 assertEquals("/path", url.getPath());
162 assertEquals("", url.getPath());
174 assertEquals("", url.getPath());
188 assertEquals("", url.getPath());
243 assertEquals("/path", url.getPath());
249 assertEquals("", url.getPath());
256 assertEquals("", url.getPath());
263 assertEquals("/file@foo", url.getPath());
[all...]
H A DOldAndroidURITest.java34 assertEquals(path, uri.getPath());
H A DOldJarURLConnectionTest.java54 return new URL("jar:file:" + file.getPath() + "!/" + inFile);
191 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/");
229 URL url = new URL("jar:file:" + file.getPath() + "!/HasAttributes.txt");
255 URL fileURL = new URL(u.getPath().substring(0, u.getPath().indexOf("!")));
292 String jarFileName = jarFile.getPath();
H A DCookiesTest.java70 assertEquals("/path", cookie.getPath());
100 assertEquals("/path", cookie.getPath());
133 assertEquals("/path", cookie.getPath());
167 assertEquals("/path", cookie.getPath());
214 assertEquals("/foo/", cookieStore.getCookie("a").getPath());
216 assertEquals("/", cookieStore.getCookie("b").getPath());
218 assertEquals("/foo/", cookieStore.getCookie("c").getPath());
235 assertEquals("/foo", cookieStore.getCookie("a").getPath());
H A DOldURLTest.java159 assertEquals("Assert 4: wrong path", "/etc/motd", testURL.getPath());
424 assertEquals(sampleFile.getPath(),fileURL.getFile());
484 String output = url.getPath();
489 assertEquals("/foo/index.html",url2.getPath());
/libcore/luni/src/test/java/libcore/sqlite/
H A DOldJDBCDriverFunctionalTest.java51 connectionURL = "jdbc:sqlite:/" + dbFile.getPath();
H A DOldSQLiteTest.java48 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath());
H A DOldBlobTest.java40 db.open(dbFile.getPath(), 0);
86 Blob blob = db.open_blob(dbFile.getPath(), "B", "val", 1, true);
H A DOldDatabaseTest.java83 db.open(dbFile.getPath(), 0);
92 System.err.println("Error closing DB " + dbFile.getPath());
104 db2.open(dbFile.getPath(), 0);
106 db.open(dbFile.getPath(), 0);
108 db2.open(dbFile.getPath(), 0);
114 db.open(dbFile.getPath(), 0);
117 db2.open(dbFile.getPath(), 0);
118 db2.open(dbFile.getPath(), 0);
123 db2.open(file.getPath(), 0);
155 db.open(dbFile.getPath(),
[all...]
/libcore/luni/src/main/java/java/io/
H A DFile.java97 * The path we return from getPath. This is almost the path we were
124 this(dir == null ? null : dir.getPath(), name);
178 this.path = fixSlashes(uri.getPath());
300 return this.getPath().compareTo(another.getPath());
353 return path.equals(((File) obj).getPath());
493 public String getPath() { method in class:File
506 return getPath().hashCode() ^ 1234321;
516 * @see #getPath
1105 String name = f.getPath();
[all...]
/libcore/luni/src/main/java/libcore/net/url/
H A DFileURLConnection.java154 out.print(f.getPath().replace('\\', '/') + "/\"><h1>" + f.getPath()
/libcore/luni/src/test/java/tests/support/
H A DSupport_SQL.java67 sqlUrl = "jdbc:sqlite:/" + dbFile.getPath();
116 return dbFile.getPath();
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileTest.java84 error = String.format("Test 1: Incorrect file created: %s; %s expected.", f.getPath(), dirName);
85 assertTrue(error, f.getPath().equals(dirName));
134 assertTrue("Test 3: Incorrect file created.", f.getPath()
225 tempStream = new FileOutputStream(tempFile.getPath(), false);
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldSQLTest.java48 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath());
/libcore/support/src/test/java/tests/support/
H A DSupport_ClassLoader.java69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
H A DSupport_GetLocal.java97 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/");
/libcore/luni/src/main/java/java/net/
H A DCookieManager.java173 if (cookie.getPath() == null) {
174 cookie.setPath(pathToCookiePath(uri.getPath()));
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileChannelTest.java95 assertEquals("abcdABCD", new String(IoUtils.readFileAsString(tmp.getPath())));
111 assertEquals("hello world", new String(IoUtils.readFileAsString(tmp.getPath())));
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidZipFileTest.java45 scanZip(file.getPath());
46 read2(file.getPath());
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java251 return DexFile.loadDex(file.getPath(), optimizedPath, 0);
287 return result.getPath();
367 return file.getPath();
H A DDexFile.java57 this(file.getPath());
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DSAXParserTest.java313 new SAXParserTestSupport().readFile(list_out_dh[i].getPath());
348 list_out_hb[i].getPath());
407 list_out_dh[i].getPath());
448 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath());
505 list_out_dh[i].getPath());
548 list_out_hb[i].getPath());
605 // list_out_dh[i].getPath());
655 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath());
696 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath());
744 list_out_dh[i].getPath());
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DCertPinManager.java112 return IoUtils.readFileAsString(pinFile.getPath());
/libcore/luni/src/main/java/java/util/jar/
H A DJarFile.java168 verifier = new JarVerifier(file.getPath());
189 verifier = new JarVerifier(file.getPath());

Completed in 1447 milliseconds

12