Home
last modified time | relevance | path

Searched refs:sameFile (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java126 assertTrue("Test case 1", handler.sameFile(url1, url2)); in test_sameFile()
127 assertFalse("Test case 2", handler.sameFile(url3, url2)); in test_sameFile()
128 assertFalse("Test case 3", handler.sameFile(url3, url4)); in test_sameFile()
129 assertFalse("Test case 4", handler.sameFile(url4, url5)); in test_sameFile()
130 assertFalse("Test case 5", handler.sameFile(url1, url6)); in test_sameFile()
208 @Override public boolean sameFile(URL a, URL b) { in sameFile() method in OldURLStreamHandlerTest.MockURLStreamHandler
209 return super.sameFile(a, b); in sameFile()
DOldURLTest.java194 gamelanNetworkBottom3.sameFile(absoluteNew)); in testURLURLString()
240 assertTrue(gamelanNetwork.sameFile(gamelan)); in testSameFile()
242 assertFalse(gamelanNetwork.sameFile(gamelanFalse)); in testSameFile()
248 assertFalse(url.sameFile(url1)); in testSameFile()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java61 protected boolean sameFile(URL u1, URL u2) { in sameFile() method in Handler
71 return super.sameFile(u1, u2); in sameFile()
85 return super.sameFile(u1, u2); in sameFile()
88 if (!super.sameFile(enclosedURL1, enclosedURL2)) { in sameFile()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java703 assertTrue("Should be the same1", u.sameFile(u1)); in test_sameFileLjava_net_URL()
706 assertTrue("Should be the same ", u.sameFile(u1)); in test_sameFileLjava_net_URL()
711 assertFalse(u.sameFile(u1)); in test_sameFileLjava_net_URL()
716 assertTrue(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
720 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
724 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
728 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java399 sameFile(u1, u2); in equals()
433 protected boolean sameFile(URL u1, URL u2) { in sameFile() method in URLStreamHandler
DURL.java927 public boolean sameFile(URL other) { in sameFile() method in URL
928 return handler.sameFile(this, other); in sameFile()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java144 public boolean sameFile(java.net.URL other) { in sameFile() method in URL
/libcore/api/
Dcurrent.txt5564 method public boolean sameFile(java.net.URL);
5666 method protected boolean sameFile(java.net.URL, java.net.URL);