Home
last modified time | relevance | path

Searched refs:toURL (Results 1 – 23 of 23) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPInputStreamTest.java68 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_ConstructorLjava_io_InputStream()
96 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_ConstructorLjava_io_InputStreamI()
114 final URL jarInput = new File(resources.toString() + "/hyts_checkInput.txt").toURL(); in test_ConstructorLjava_io_InputStreamI()
138 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_read$BII()
254 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); in test_close()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java113 URL fileURL = sampleFile.toURL(); in testSetURLStreamHandlerFactory()
256 URL fileURL = sampleFile.toURL(); in testGetContent()
283 URL fileURL = sampleFile.toURL(); in testOpenStream()
327 u = sampleFile.toURL(); in testOpenConnection()
422 URL fileURL = sampleFile.toURL(); in testGetFile()
719 u = sampleFile.toURL(); in test_getContent_LJavaLangClass()
DOldURLClassLoaderTest.java154 URL url = file.toURL(); in test_getPermissions_fileURLConnection_doesNotThrow()
DURLConnectionTest.java3016 uri.toURL().openConnection().connect();
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java117 resolvedURI = new java.io.File(filename).toURL(); in resolveURI()
176 URL url = tempFile.toURL(); in createTempURI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericSignatureFormatErrorTest.java72 ClassLoader cl = Support_ClassLoader.getInstance(tf.toURL(), in test_signatureFormatError()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java143 result.add(new File(pathElement).toURI().toURL()); in classpathToUrls()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DURICertStore.java277 URLConnection connection = uri.toURL().openConnection(); in engineGetCertificates()
390 URLConnection connection = uri.toURL().openConnection(); in engineGetCRLs()
DOCSP.java219 URL url = responderURI.toURL(); in check()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java151 String newDirURL = dir.toURL().toString(); in test_toURL3()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java84 resolvedURI = new java.io.File(filename).toURL(); in resolveURI()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java107 public java.net.URL toURL() throws java.net.MalformedURLException { in toURL() method in File
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java66 @libcore.util.NonNull public java.net.URL toURL() throws java.net.MalformedURLException { throw new… in toURL() method in File
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java2088 dir.toURL().toString(), newDirURL); in test_toURL()
2100 f.toURL().toString(), newURL); in test_toURL()
2104 newDirURL = dir.toURL().toString(); in test_toURL()
2139 URL url2 = f.toURL(); in test_toURL2()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java1817 new URI(absoluteuris[i]).toURL(); in test_toURL()
1825 new URI(relativeuris[i]).toURL(); in test_toURL()
DURLTest.java963 assertTrue(u.equals(uri.toURL())); in test_toURI()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURI.java102 public java.net.URL toURL() throws java.net.MalformedURLException { in toURL() method in URI
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java789 return resourceFile.toURI().toURL(); in findResource()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DControlTest.java472 new URL[] { new File(tmpdir).toURL() }, in test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ()
/libcore/ojluni/src/main/java/java/io/
DFile.java675 public URL toURL() throws MalformedURLException { in toURL() method in File
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java1284 return sampleFile.toURL();
/libcore/ojluni/src/main/java/java/net/
DURI.java1081 public URL toURL() in toURL() method in URI
/libcore/api/
Dcurrent.txt1519 method @Deprecated @NonNull public java.net.URL toURL() throws java.net.MalformedURLException;
5531 method public java.net.URL toURL() throws java.net.MalformedURLException;