Home
last modified time | relevance | path

Searched defs:sport (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java81 int sport = startServer("Cons String,I"); in test_ConstructorLjava_lang_StringI() local
122 int sport = startServer("Cons String,I,InetAddress,I"); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI1() local
129 int sport = startServer("Cons String,I,InetAddress,I"); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI2() local
150 int sport = startServer("Cons String,I,Z"); in test_ConstructorLjava_lang_StringIZ() local
151 try (Socket s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true)) { in test_ConstructorLjava_lang_StringIZ() argument
160 int sport = startServer("Cons InetAddress,I"); in test_ConstructorLjava_net_InetAddressI() local
169 int sport = startServer("Cons InetAddress,I,InetAddress,I"); in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI() local
176 int sport = startServer("Cons InetAddress,I,Z"); in test_ConstructorLjava_net_InetAddressIZ() local
177 try (Socket s = new Socket(InetAddress.getLocalHost(), sport, true)) { in test_ConstructorLjava_net_InetAddressIZ() argument
186 int sport = startServer("SServer close"); in test_close() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSocketTest.java64 int sport = startServer("Cons InetAddress,I"); in testConstructor_InetAddressI() local
73 getSSLSocket(InetAddress.getLocalHost(), sport + 1); in testConstructor_InetAddressI() local
92 int sport = startServer("Cons InetAddress,I,InetAddress,I"); in testConstructor_InetAddressIInetAddressI() local
107 getSSLSocket(InetAddress.getLocalHost(), -1, InetAddress.getLocalHost(), sport + 1); in testConstructor_InetAddressIInetAddressI() local
112 getSSLSocket(InetAddress.getLocalHost(), sport, InetAddress.getLocalHost(), -1); in testConstructor_InetAddressIInetAddressI() local
119 InetAddress.getLocalHost(), sport + 1); in testConstructor_InetAddressIInetAddressI() local
127 getSSLSocket(InetAddress.getLocalHost(), sport, in testConstructor_InetAddressIInetAddressI() local
139 int sport = startServer("Cons String,I"); in testConstructor_StringI() local
173 int sport = startServer("Cons String,I,InetAddress,I"); in testConstructor_StringIInetAddressI() local
195 getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, in testConstructor_StringIInetAddressI() local
[all …]
DSSLSocketFactoryTest.java66 int sport = startServer("test_createSocket()"); in test_createSocket() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java60 int sport = new ServerSocket(0).getLocalPort(); in test_createSocket_StringI() local
97 int sport = new ServerSocket(0).getLocalPort(); in test_createSocket_InetAddressI() local
128 int sport = new ServerSocket(0).getLocalPort(); in test_createSocket_InetAddressIInetAddressI() local
136 sf.createSocket(InetAddress.getLocalHost(), sport, in test_createSocket_InetAddressIInetAddressI() local
214 int sport = new ServerSocket(0).getLocalPort(); in test_createSocket_05() local
236 sf.createSocket(InetAddress.getLocalHost().getHostName(), sport, in test_createSocket_05() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java191 int sport = server.getLocalPort(); in test_bindLjava_net_SocketAddress() local