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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileWriterTest.java42 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 DFileReaderTest.java43 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 DFileTest.java87 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 DFileOutputStreamTest.java105 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 DFileDescriptorTest.java42 fis = new FileInputStream(f.getPath());
/libcore/luni/src/test/java/libcore/java/net/
H A DURITest.java35 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 DURLTest.java39 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 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();
/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());
486 public String getPath() { method in class:File
499 return getPath().hashCode() ^ 1234321;
509 * @see #getPath
1098 String name = f.getPath();
[all...]
H A DFileInputStream.java76 this.fd = IoBridge.open(file.getPath(), O_RDONLY);
H A DFileOutputStream.java87 this.fd = IoBridge.open(file.getPath(), mode);
/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/sql/
H A DConnectionTest.java64 connectionURL = "jdbc:sqlite:/" + dbFile.getPath();
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/util/zip/
H A DOldAndroidZipFileTest.java45 scanZip(file.getPath());
46 read2(file.getPath());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DHttpCookieTest.java238 * 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 DJarURLConnectionTest.java49 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 DSAXParserTest.java308 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...]
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java265 return DexFile.loadDex(file.getPath(), optimizedPath, 0);
301 return result.getPath();
382 String path = new File(directory, fileName).getPath();
/libcore/luni/src/test/java/libcore/util/
H A DZoneInfoDBTest.java116 return f.getPath();
/libcore/luni/src/main/java/libcore/net/url/
H A DFileURLConnection.java281 out.print(f.getPath().replace('\\', '/') + "/\"><h1>" + f.getPath()

Completed in 505 milliseconds

12