/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 | 107 fos = new FileOutputStream(f.getPath(), false); 110 fos = new FileOutputStream(f.getPath(), true); 114 fis = new FileInputStream(f.getPath()); 151 fos = new FileOutputStream(f.getPath()); 179 fos = new FileOutputStream(f.getPath()); 181 fis = new FileInputStream(f.getPath()); 193 fos = new FileOutputStream(f.getPath()); 195 fis = new FileInputStream(f.getPath()); 220 fos = new FileOutputStream(f.getPath()); 222 fis = new FileInputStream(f.getPath()); [all...] |
H A D | FileDescriptorTest.java | 42 fis = new FileInputStream(f.getPath());
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | FileURLMapper.java | 57 public String getPath () { method in class:FileURLMapper 73 String s = getPath ();
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
H A D | AuthCacheValue.java | 87 abstract String getPath(); method in class:AuthCacheValue
|
H A D | BasicAuthentication.java | 188 npath = new URI (npath).normalize().getPath(); 189 opath = new URI (opath).normalize().getPath();
|
H A D | AuthCacheImpl.java | 56 String skey = value.getPath();
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLTest.java | 41 assertEquals("/directory/file", url.getPath()); 145 assertEquals("/path", url.getPath()); 157 assertEquals("/path", url.getPath()); 166 assertEquals("", url.getPath()); 178 assertEquals("", url.getPath()); 192 assertEquals("", url.getPath()); 247 assertEquals("/path", url.getPath()); 253 assertEquals("", url.getPath()); 260 assertEquals("", url.getPath()); 267 assertEquals("/file@foo", url.getPath()); [all...] |
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()); 121 assertEquals("", uri.getPath()); 192 assertEquals("/path", uri.getPath()); 198 assertEquals("", uri.getPath()); 205 assertEquals("", uri.getPath()); 212 assertEquals("/file@foo", uri.getPath()); 219 assertEquals("/file:colon", uri.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/luni/src/test/java/libcore/java/io/ |
H A D | FileTest.java | 108 assertEquals("", f.getPath()); 358 assertEquals("/test1", file.getPath()); 363 assertEquals("/", new File("/", "/").getPath()); 364 assertEquals("/", new File("/", "").getPath()); 365 assertEquals("/", new File("", "/").getPath()); 366 assertEquals("", new File("", "").getPath()); 368 assertEquals("/foo/bar", new File("/foo/", "/bar/").getPath()); 369 assertEquals("/foo/bar", new File("/foo", "/bar//").getPath());
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | UnixFileSystem.java | 129 if (isAbsolute(f)) return f.getPath(); 130 return resolve(System.getProperty("user.dir"), f.getPath()); 242 int rv = getBooleanAttributes0(f.getPath()); 368 return f1.getPath().compareTo(f2.getPath()); 372 return f.getPath().hashCode() ^ 1234321;
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | CookieManager.java | 288 if (cookie.getPath() == null) { 291 String path = uri.getPath(); 394 return normalizePath(uri.getPath()).startsWith(normalizePath(cookie.getPath())); 457 final String c1Path = normalizePath(c1.getPath()); 458 final String c2Path = normalizePath(c2.getPath());
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | ClassPathURLStreamHandlerTest.java | 66 String fileName = jarFile.getPath(); 72 String fileName = jarFile.getPath(); 105 String fileName = jarFile.getPath(); 117 String fileName = jarFile.getPath(); 133 String fileName = jarFile.getPath();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexPathList.java | 298 String path = file.getPath(); 362 return DexFile.loadDex(file.getPath(), optimizedPath, 0, loader, elements); 398 return result.getPath(); 514 (dir != null && !dir.getPath().isEmpty() ? ", dir \"" + dir + "\"" : ""); 532 urlHandler = new ClassPathURLStreamHandler(zip.getPath()); 549 String path = new File(dir, name).getPath(); 558 String entryName = new File(dir, name).getPath(); 560 return zip.getPath() + zipSeparator + entryName;
|
/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(),
|
/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/ojluni/src/main/java/sun/net/www/protocol/mailto/ |
H A D | MailToURLConnection.java | 99 String to = ParseUtil.decode(url.getPath());
|