Searched defs:url2 (Results 1 - 2 of 2) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/net/
H A DURLStreamHandler.java336 * @param url2
341 protected boolean equals(URL url1, URL url2) { argument
342 if (!sameFile(url1, url2)) {
345 String s1 = url1.getRef(), s2 = url2.getRef();
350 s2 = url2.getQuery();
399 * @param url2
404 protected boolean hostsEqual(URL url1, URL url2) { argument
405 String host1 = getHost(url1), host2 = getHost(url2);
411 InetAddress address2 = getHostAddress(url2);
424 * @param url2
429 sameFile(URL url1, URL url2) argument
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java371 URL url2; field in class:URLConnectionTest
390 url2 = new URL("http://localhost:" + port + "/test2");
391 uc2 = url2.openConnection();
886 uc2 = url2.openConnection();
1929 assertEquals(url2.toString(), url);

Completed in 51 milliseconds