Searched refs:getDefaultPort (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 51 assertEquals(-1, handler.getDefaultPort()); in test_getDefaultPort() 167 assertEquals(-1, msh.getDefaultPort()); in test_Constructor() 184 @Override public int getDefaultPort() { in getDefaultPort() method in OldURLStreamHandlerTest.MockURLStreamHandler 185 return super.getDefaultPort(); in getDefaultPort()
|
D | URLTest.java | 51 assertEquals(80, url.getDefaultPort()); in testUrlParts() 310 assertEquals(80, url.getDefaultPort()); in testNoHost() 331 assertEquals(80, url.getDefaultPort()); in testEmptyHostAndNoPath() 345 assertEquals(80, url.getDefaultPort()); in testNoHostAndNoPath()
|
D | OldURLTest.java | 521 assertEquals(21,testFTPURL.getDefaultPort()); in testGetDefaultPort() 522 assertEquals(80,testHTTPURL.getDefaultPort()); in testGetDefaultPort()
|
/libcore/ojluni/src/main/java/sun/net/util/ |
D | URLUtil.java | 65 port = url.getDefaultPort(); in urlNoFragString()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 39 protected int getDefaultPort() { in getDefaultPort() method in Handler
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 377 protected int getDefaultPort() { in getDefaultPort() method in URLStreamHandler 447 port1 = (u1.getPort() != -1) ? u1.getPort() : u1.handler.getDefaultPort(); in sameFile() 448 port2 = (u2.getPort() != -1) ? u2.getPort() : u2.handler.getDefaultPort(); in sameFile()
|
D | URL.java | 799 public int getDefaultPort() { in getDefaultPort() method in URL 800 return handler.getDefaultPort(); in getDefaultPort()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URL.java | 116 public int getDefaultPort() { in getDefaultPort() method in URL
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 890 assertEquals(80, u.getDefaultPort()); in test_getDefaultPort() 892 assertEquals(21, u.getDefaultPort()); in test_getDefaultPort()
|