/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URITest.java | 35 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 D | URLTest.java | 37 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 D | OldAndroidURITest.java | 34 assertEquals(path, uri.getPath());
|
H A D | OldJarURLConnectionTest.java | 54 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 D | CookiesTest.java | 70 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 D | OldURLTest.java | 159 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 D | OldJDBCDriverFunctionalTest.java | 51 connectionURL = "jdbc:sqlite:/" + dbFile.getPath();
|
H A D | OldSQLiteTest.java | 48 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath());
|
H A D | OldBlobTest.java | 40 db.open(dbFile.getPath(), 0); 86 Blob blob = db.open_blob(dbFile.getPath(), "B", "val", 1, true);
|
H A D | OldDatabaseTest.java | 83 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 D | File.java | 97 * 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 D | FileURLConnection.java | 154 out.print(f.getPath().replace('\\', '/') + "/\"><h1>" + f.getPath()
|
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 67 sqlUrl = "jdbc:sqlite:/" + dbFile.getPath(); 116 return dbFile.getPath();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldFileTest.java | 84 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 D | OldSQLTest.java | 48 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath());
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ClassLoader.java | 69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
|
H A D | Support_GetLocal.java | 97 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/");
|
/libcore/luni/src/main/java/java/net/ |
H A D | CookieManager.java | 173 if (cookie.getPath() == null) { 174 cookie.setPath(pathToCookiePath(uri.getPath()));
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | FileChannelTest.java | 95 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 D | OldAndroidZipFileTest.java | 45 scanZip(file.getPath()); 46 read2(file.getPath());
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexPathList.java | 251 return DexFile.loadDex(file.getPath(), optimizedPath, 0); 287 return result.getPath(); 367 return file.getPath();
|
H A D | DexFile.java | 57 this(file.getPath());
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
H A D | SAXParserTest.java | 313 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 D | CertPinManager.java | 112 return IoUtils.readFileAsString(pinFile.getPath());
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarFile.java | 168 verifier = new JarVerifier(file.getPath()); 189 verifier = new JarVerifier(file.getPath());
|