/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileWriterTest.java | 42 fos = new FileOutputStream(f.getPath()); 48 br = new BufferedReader(new FileReader(f.getPath())); 98 fos = new FileOutputStream(f.getPath()); 101 fis = new FileInputStream(f.getPath()); 115 fos = new FileOutputStream(f.getPath()); 118 bw = new BufferedWriter(new FileWriter(f.getPath())); 121 br = new BufferedReader(new FileReader(f.getPath())); 133 fos = new FileOutputStream(f.getPath()); 136 bw = new BufferedWriter(new FileWriter(f.getPath(), true)); 139 br = new BufferedReader(new FileReader(f.getPath())); [all...] |
H A D | FileReaderTest.java | 43 bw = new BufferedWriter(new FileWriter(f.getPath())); 58 bw = new BufferedWriter(new FileWriter(f.getPath())); 61 FileInputStream fis = new FileInputStream(f.getPath()); 75 bw = new BufferedWriter(new FileWriter(f.getPath())); 78 br = new FileReader(f.getPath());
|
H A D | FileTest.java | 87 File f = new File(tempDirectory.getPath(), "input.tst"); 88 assertEquals("Created Incorrect File ", addTrailingSlash(tempDirectory.getPath()) + "input.tst", f.getPath()); 119 assertEquals("Assert 1: wrong path result ", path.getPath(), file 120 .getPath()); 132 String dirName = tempDirectory.getPath(); 141 dirName, f.getPath()); 171 fileName = addTrailingSlash(tempDirectory.getPath()); 175 assertEquals("Created incorrect File", fileName, f.getPath()); 189 dirName = tempDirectory.getPath(); [all...] |
H A D | FileOutputStreamTest.java | 105 fos = new FileOutputStream(f.getPath(), false); 108 fos = new FileOutputStream(f.getPath(), true); 112 fis = new FileInputStream(f.getPath()); 149 fos = new FileOutputStream(f.getPath()); 177 fos = new FileOutputStream(f.getPath()); 179 fis = new FileInputStream(f.getPath()); 191 fos = new FileOutputStream(f.getPath()); 193 fis = new FileInputStream(f.getPath()); 218 fos = new FileOutputStream(f.getPath()); 220 fis = new FileInputStream(f.getPath()); [all...] |
H A D | FileDescriptorTest.java | 42 fis = new FileInputStream(f.getPath());
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URITest.java | 35 assertEquals("/directory/file", uri.getPath()); 94 assertEquals("/path", uri.getPath()); 100 assertEquals("/path", uri.getPath()); 106 assertEquals("", uri.getPath()); 176 assertEquals("/path", uri.getPath()); 182 assertEquals("", uri.getPath()); 189 assertEquals("", uri.getPath()); 196 assertEquals("/file@foo", uri.getPath()); 203 assertEquals("/file:colon", uri.getPath()); 208 assertEquals("/file", uri.getPath()); [all...] |
H A D | URLTest.java | 39 assertEquals("/directory/file", url.getPath()); 143 assertEquals("/path", url.getPath()); 155 assertEquals("/path", url.getPath()); 164 assertEquals("", url.getPath()); 176 assertEquals("", url.getPath()); 190 assertEquals("", url.getPath()); 245 assertEquals("/path", url.getPath()); 251 assertEquals("", url.getPath()); 258 assertEquals("", url.getPath()); 265 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();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexPathList.java | 225 String path = file.getPath(); 282 return DexFile.loadDex(file.getPath(), optimizedPath, 0); 318 return result.getPath(); 434 (dir != null && !dir.getPath().isEmpty() ? ", dir \"" + dir + "\"" : ""); 484 String path = new File(dir, name).getPath(); 489 String entryName = new File(dir, name).getPath(); 491 return zip.getPath() + zipSeparator + entryName;
|
/libcore/luni/src/main/java/java/io/ |
H A D | File.java | 91 * The path we return from getPath. This is almost the path we were 118 this(dir == null ? null : dir.getPath(), name); 176 this.path = fixSlashes(uri.getPath()); 298 return this.getPath().compareTo(another.getPath()); 351 return path.equals(((File) obj).getPath()); 484 public String getPath() { method in class:File 497 return getPath().hashCode() ^ 1234321; 507 * @see #getPath 1096 String name = f.getPath(); [all...] |
H A D | FileInputStream.java | 76 this.fd = IoBridge.open(file.getPath(), O_RDONLY);
|
H A D | FileOutputStream.java | 87 this.fd = IoBridge.open(file.getPath(), mode);
|
/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/sql/ |
H A D | ConnectionTest.java | 64 connectionURL = "jdbc:sqlite:/" + dbFile.getPath();
|
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/util/zip/ |
H A D | OldAndroidZipFileTest.java | 45 scanZip(file.getPath()); 46 read2(file.getPath());
|
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
H A D | FileUtils.java | 49 if (!subFile.getPath().startsWith(parentDir.getCanonicalPath())) { 146 new File(file.getParentFile().getCanonicalFile(), baseName).getPath();
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
H A D | PathClassLoaderTest.java | 68 PathClassLoader cl = new PathClassLoader(jar.getPath(), pcl);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | HttpCookieTest.java | 238 * java.net.HttpCookie#getPath(), setPath(String) 243 assertNull(cookie.getPath()); 246 assertEquals("{}() test,; 43!@", cookie.getPath()); 249 assertEquals(" test", cookie.getPath()); 253 assertEquals("\u63DF\u64DE", cookie.getPath()); 608 assertNull(cookie.getPath()); 625 assertEquals("/temp", cookie.getPath()); 676 assertEquals("pa$th", cookie.getPath()); 796 assertEquals("hello", cookie.getPath()); 819 assertEquals("/", cookie.getPath()); [all...] |
H A D | JarURLConnectionTest.java | 49 return new URL("jar:file:" + file.getPath() + "!/" + inFile); 121 URL fUrl1 = new URL("jar:file:" + file.getPath() + "!/"); 161 URL url = new URL("jar:file:" + file.getPath() + "!/HasAttributes.txt");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
H A D | SAXParserTest.java | 308 new SAXParserTestSupport().readFile(list_out_dh[i].getPath()); 343 list_out_hb[i].getPath()); 398 list_out_dh[i].getPath()); 439 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); 491 list_out_dh[i].getPath()); 530 list_out_hb[i].getPath()); 587 // list_out_dh[i].getPath()); 637 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); 678 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); 721 list_out_dh[i].getPath()); [all...] |