Searched refs:sameFile (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 126 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()
|
D | OldURLTest.java | 194 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/ |
D | Handler.java | 61 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/ |
D | URLTest.java | 703 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/ |
D | URLStreamHandler.java | 399 sameFile(u1, u2); in equals() 433 protected boolean sameFile(URL u1, URL u2) { in sameFile() method in URLStreamHandler
|
D | URL.java | 927 public boolean sameFile(URL other) { in sameFile() method in URL 928 return handler.sameFile(this, other); in sameFile()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URL.java | 144 public boolean sameFile(java.net.URL other) { in sameFile() method in URL
|