Searched refs:serverPort (Results 1 – 4 of 4) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SocketTest.java | 534 int serverPort = server.getLocalPort(); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() local 536 serverPort, InetAddress.getLocalHost(), 0); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() 537 assertTrue("Failed to create socket", client.getPort() == serverPort); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() 542 theSocket = new Socket("127.0.0.1", serverPort, InetAddress in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() 556 new Socket("127.0.0.1", serverPort, theSocket.getLocalAddress(), in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() 570 int serverPort = server.getLocalPort(); in test_ConstructorLjava_lang_StringIZ() local 572 serverPort, true); in test_ConstructorLjava_lang_StringIZ() 574 assertEquals("Failed to create socket", serverPort, client.getPort()); in test_ConstructorLjava_lang_StringIZ() 578 serverPort, false); in test_ConstructorLjava_lang_StringIZ() 617 int serverPort = server.getLocalPort(); in test_ConstructorLjava_net_InetAddressIZ() local [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocksSocketImpl.java | 45 private int serverPort = DEFAULT_PORT; field in SocksSocketImpl 61 this.serverPort = (port == -1 ? DEFAULT_PORT : port); in SocksSocketImpl() 70 serverPort = ad.getPort(); in SocksSocketImpl() 163 … server, addr, serverPort, "SOCKS5", "SOCKS authentication", null); in authenticate() 441 privilegedConnect(server, serverPort, remainingMillis(deadlineMillis)); in connect()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | FtpURLConnectionTest.java | 254 int serverPort = fakeFtpServer.getServerControlPort(); in testCRLFInUserinfo() local 267 encodedUserInfo, SERVER_HOSTNAME, serverPort, FILE_PATH); in testCRLFInUserinfo() 309 int serverPort = fakeFtpServer.getServerControlPort(); in getFileUrlWithCredentials() local 312 credentials, SERVER_HOSTNAME, serverPort, filePath); in getFileUrlWithCredentials()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | SocksSocketImpl.java | 134 private int serverPort = 1080; // 0x438 field in SocksSocketImpl
|