/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 45 URL url = new URL("http://username:password@host:8080/directory/file?query#ref"); in testUrlParts() local 59 URL url = new URL("http://www.google.com:80/example?language[id]=2"); in testExplicitPort() local 121 URL url = new URL("http://user:pass@host/path/file?query#hash"); in testUrlSerialization() local 132 URL url = new URL("android://example.com:80/file"); in testUrlSerializationRoundTrip_customHandler_nullAuthorityReconstructed() local 149 URL url = new URL("android://example.com/file"); in testUrlSerializationRoundTrip_customHandler_nonnullAuthorityNotReconstructed() local 172 URL url = new URL("android://example.com:80/file"); in checkUrlSerializationRoundTrip_customHandler_hostAndPortNotReconstructed() local 209 URL url = new URL("http://example.com:42/file"); in testUrlSerializationRoundTrip_builtinHandler_hostAndPortReconstructed() local 233 URL url = new URL("http://example.com/file"); in testUrlSerializationRoundTrip_builtinHandler_authorityNotReconstructed() local 247 URL url = new URL("http://temporaryhost.com/temporaryfile"); in testUrlSerializationRoundTrip_builtinHandler_authorityAndFileReconstructed() local 260 private static void assertFields(URL url, in assertFields() [all …]
|
D | OldJarURLConnectionTest.java | 132 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getEntryName() local 160 URL url = createContent("lf.jar", "missing"); in test_getJarFile() local 229 URL url = new URL("jar:file:" + file.getPath() + "!/HasAttributes.txt"); in test_setUseCaches() local 261 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getJarFileURL() local 301 URL url = new URL("jar:file:" + jarFileName + "!/" + entry); in test_getInputStream_DeleteJarFileUsingURLConnection() local 314 URL url = new URL("jar:file:" + jarFileName + "!/" + entry); in test_Constructor() local
|
D | URLConnectionTest.java | 207 URL url = new URL("http://www.google.com/"); in assertForbiddenRequestHeaderName() local 219 URL url = new URL("http://www.google.com/"); in assertForbiddenRequestHeaderValue() local 229 URL url = new URL("http://www.google.com/"); in setAndReturnRequestHeaderValue() local 537 URL url = server.getUrl("/"); in getResponseCodeNoResponseBody() local 675 URL url = new URL(urlString); in checkConnectViaProxy() local 726 URL url = server.getUrl("/foo"); in checkConnectViaDirectProxyToHttps() local 768 URL url = new URL("https://android.com/foo"); in checkConnectViaHttpProxyToHttps() local 809 URL url = new URL("https://android.com/foo"); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() local 850 URL url = server.getUrl("/"); in etagHeaders_uncached() local 1009 URL url = server.getUrl("/"); in etagHeaders_cachedWithServerHit() local [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Driver.java | 82 Connection connect(String url, java.util.Properties info) in connect() 96 boolean acceptsURL(String url) throws SQLException; in acceptsURL() 118 DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info) in getPropertyInfo()
|
D | DriverManager.java | 188 public static Connection getConnection(String url, in getConnection() 207 public static Connection getConnection(String url, in getConnection() 232 public static Connection getConnection(String url) in getConnection() 251 public static Driver getDriver(String url) in getDriver() 549 String url, java.util.Properties info, Class<?> caller) throws SQLException { in getConnection()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ClassLoader.java | 29 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); in getClassLoader() 31 public static ClassLoader getInstance(URL url, ClassLoader parent) { in getInstance() 56 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader()
|
D | Support_GetLocal.java | 37 public static File getLocalFile(String url) throws IOException, in getLocalFile() 58 public static File getExternalLocalFile(String url) throws IOException, in getExternalLocalFile() 78 static ByteArrayInputStream getStream(String url) throws IOException, in getStream()
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 100 URL url = new URL("http://localhost:" + server.getPort() + "/test.txt"); in testCleartextTrafficPolicyWithHttpURLConnection() local 113 URL url = new URL("http://localhost:" + server.getPort() + "/test.txt"); in testCleartextTrafficPolicyWithHttpURLConnection() local 128 URL url = new URL("ftp://localhost:" + server.getPort() + "/test.txt"); in testCleartextTrafficPolicyWithFtpURLConnection() local 141 URL url = new URL("ftp://localhost:" + server.getPort() + "/test.txt"); in testCleartextTrafficPolicyWithFtpURLConnection() local 155 URL url = new URL("jar:http://localhost:" + server.getPort() + "/test.jar!/"); in testCleartextTrafficPolicyWithJarHttpURLConnection() local 168 URL url = new URL("jar:http://localhost:" + server.getPort() + "/test.jar!/"); in testCleartextTrafficPolicyWithJarHttpURLConnection() local 183 URL url = new URL("jar:ftp://localhost:" + server.getPort() + "/test.jar!/"); in testCleartextTrafficPolicyWithJarFtpURLConnection() local 196 URL url = new URL("jar:ftp://localhost:" + server.getPort() + "/test.jar!/"); in testCleartextTrafficPolicyWithJarFtpURLConnection() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HttpsURLConnectionTest.java | 65 URL url = new URL("https://localhost:55555"); in test_getCipherSuite() local 81 URL url = new URL("https://localhost:55555"); in test_getLocalCertificates() local 123 URL url = new URL("https://localhost:55555"); in test_getLocalPrincipal() local 141 URL url = new URL("https://localhost:55555"); in test_getPeerPrincipal() local 164 URL url = new URL("https://localhost:55555"); in test_getServerCertificates() local 252 public MyHttpsURLConnection(URL url) { in MyHttpsURLConnection() 256 public MyHttpsURLConnection(URL url, String type) { in MyHttpsURLConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | URLJarFile.java | 64 static JarFile getJarFile(URL url) throws IOException { in getJarFile() 68 … static JarFile getJarFile(URL url, URLJarFileCloseController closeController) throws IOException { in getJarFile() 93 private URLJarFile(URL url, URLJarFileCloseController closeController) throws IOException { in URLJarFile() 98 private static boolean isFileURL(URL url) { in isFileURL() 192 private static JarFile retrieve(final URL url) throws IOException { in retrieve() 200 …private static JarFile retrieve(final URL url, final URLJarFileCloseController closeController) th… in retrieve()
|
D | JarFileFactory.java | 70 public JarFile get(URL url) throws IOException { in get() 74 JarFile get(URL url, boolean useCaches) throws IOException { in get() 120 private JarFile getCachedJarFile(URL url) { in getCachedJarFile()
|
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
D | Handler.java | 30 @Override protected URLConnection openConnection(URL url) throws IOException { in openConnection() 35 protected HandlerURLConnection(URL url) { in HandlerURLConnection()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 78 URL url = copyAndOpenResourceStream("lf.jar", "foo.jar!/Bugs/HelloWorld.class"); in test_getEntryName() local 99 URL url = copyAndOpenResourceStream("lf.jar", "missing"); in test_getJarFile() local 161 URL url = new URL("jar:file:" + file.getPath() + "!/HasAttributes.txt"); in test_setUseCaches() local 190 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); in test_getJarFileURL() local 219 URL url = new URL("jar:file:" + file.getAbsolutePath() + "!/entry.txt"); in test_getInputStream_DeleteJarFileUsingURLConnection() local 305 … URL url = copyAndOpenResourceStream("url-test.jar", "test%20folder%20for%20url%20test/test"); in test_getURLEncodedEntry() local
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FileURLMapper.java | 45 URL url; field in FileURLMapper 48 public FileURLMapper (URL url) { in FileURLMapper()
|
/libcore/ojluni/src/main/java/java/security/ |
D | CodeSource.java | 53 public CodeSource(URL url, java.security.cert.Certificate certs[]) { in CodeSource() 57 public CodeSource(URL url, CodeSigner[] signers) { in CodeSource()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 232 URL url = getResource(name); in getResourceAsStream() local 331 protected void addURL(URL url) { in addURL() 392 Manifest man, URL url) { in getAndVerifyPackage() 417 private void definePackageInternal(String pkgname, Manifest man, URL url) in definePackageInternal() 446 URL url = res.getCodeSourceURL(); in defineClass() local 488 protected Package definePackage(String name, Manifest man, URL url) in definePackage() 568 URL url = AccessController.doPrivileged( in findResource() local 658 URL url = codesource.getLocation(); in getPermissions() local
|
D | JarURLConnection.java | 156 protected JarURLConnection(URL url) throws MalformedURLException { in JarURLConnection() 164 private void parseSpecs(URL url) throws MalformedURLException { in parseSpecs()
|
/libcore/libart/src/main/java/java/lang/ |
D | VMClassLoader.java | 67 URL url = urlHandler.getEntryUrlOrNull(name); in getResource() local 81 URL url = urlHandler.getEntryUrlOrNull(name); in getResources() local
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URLClassLoader.java | 67 protected void addURL(java.net.URL url) { in addURL() 81 java.lang.String pkgname, java.util.jar.Manifest man, java.net.URL url) { in getAndVerifyPackage() 86 java.lang.String pkgname, java.util.jar.Manifest man, java.net.URL url) { in definePackageInternal() 96 java.lang.String name, java.util.jar.Manifest man, java.net.URL url) in definePackage()
|
/libcore/luni/src/test/java/libcore/libcore/net/http/ |
D | HttpURLConnectionFactoryTest.java | 62 final URL url = new URL("http://test.com"); in testOpenConnection() local 65 assertEquals(connection.getURL(), url); in testOpenConnection() local
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | URLClassPath.java | 53 public synchronized void addURL(java.net.URL url) { in addURL() 132 private sun.misc.URLClassPath.Loader getLoader(java.net.URL url) throws java.io.IOException { in getLoader() 144 public java.net.URL checkURL(java.net.URL url) { in checkURL() 148 static void check(java.net.URL url) throws java.io.IOException { in check() 213 FileLoader(java.net.URL url) throws java.io.IOException { in FileLoader() 233 java.net.URL url, in JarLoader() 251 private boolean isOptimizable(java.net.URL url) { in isOptimizable() 264 private java.util.jar.JarFile getJarFile(java.net.URL url) throws java.io.IOException { in getJarFile() 339 Loader(java.net.URL url) { in Loader()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 39 private URL url; field in ProgressSource 62 public ProgressSource(URL url, String method) { in ProgressSource() 69 public ProgressSource(URL url, String method, long expected) { in ProgressSource()
|
D | ProgressEvent.java | 38 private URL url; field in ProgressEvent 53 …public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSo… in ProgressEvent()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 139 URL url = webServer.getUrl("/"); in testHttpsConnection() local 172 URL url = webServer.getUrl("/"); in testHttpsConnection_Not_Found_Response() local 217 URL url = webServer.getUrl("/"); in testSetDefaultSSLSocketFactory() local 257 URL url = webServer.getUrl("/"); in testSetSSLSocketFactory() local 290 URL url = new URL("https://localhost:55555"); in testUnconnectedStateParameters() local 333 URL url = webServer.getUrl("/"); in testSetHostnameVerifier() local 369 URL url = webServer.getUrl("/"); in test_doOutput() local 408 URL url = new URL("https://requested.host:55556/requested.data"); in testProxyConnection() local 457 URL url = new URL("https://requested.host:55555/requested.data"); in testProxyAuthConnection() local 490 URL url = new URL("https://requested.host:55555/requested.data"); in testConsequentProxyConnection() local [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | JaxenXPathTestSuite.java | 90 String url = document.getAttribute("url"); in suite() local 103 private static void contextToTestSuite(TestSuite suite, String url, in contextToTestSuite()
|