Home
last modified time | relevance | path

Searched refs:getDefaultPort (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java51 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()
DURLTest.java51 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()
DOldURLTest.java521 assertEquals(21,testFTPURL.getDefaultPort()); in testGetDefaultPort()
522 assertEquals(80,testHTTPURL.getDefaultPort()); in testGetDefaultPort()
/libcore/ojluni/src/main/java/sun/net/util/
DURLUtil.java65 port = url.getDefaultPort(); in urlNoFragString()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DHandler.java39 protected int getDefaultPort() { in getDefaultPort() method in Handler
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java377 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()
DURL.java799 public int getDefaultPort() { in getDefaultPort() method in URL
800 return handler.getDefaultPort(); in getDefaultPort()
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java116 public int getDefaultPort() { in getDefaultPort() method in URL
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java890 assertEquals(80, u.getDefaultPort()); in test_getDefaultPort()
892 assertEquals(21, u.getDefaultPort()); in test_getDefaultPort()