Searched refs:theAddress (Results 1 – 8 of 8) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramPacketTest.java | 227 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_Constructor$BILjava_net_SocketAddress() local 229 DatagramPacket thePacket = new DatagramPacket(buf, 1, theAddress); in test_Constructor$BILjava_net_SocketAddress() 230 assertEquals("Socket address not set correctly (1)", theAddress, in test_Constructor$BILjava_net_SocketAddress() 232 assertEquals("Socket address not set correctly (2)", theAddress, in test_Constructor$BILjava_net_SocketAddress() 268 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_Constructor$BIILjava_net_SocketAddress() local 270 DatagramPacket thePacket = new DatagramPacket(buf, 1, 1, theAddress); in test_Constructor$BIILjava_net_SocketAddress() 271 assertEquals("Socket address not set correctly (1)", theAddress, in test_Constructor$BIILjava_net_SocketAddress() 273 assertEquals("Socket address not set correctly (2)", theAddress, in test_Constructor$BIILjava_net_SocketAddress() 287 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_getSocketAddress() local 290 thePacket.setSocketAddress(theAddress); in test_getSocketAddress() [all …]
|
D | NetworkInterfaceTest.java | 68 InetAddress theAddress = (InetAddress) theAddresses in test_getInetAddresses() local 70 assertNotNull("validate that address is not null", theAddress); in test_getInetAddresses() 77 InetAddress theAddress = (InetAddress) theAddresses in test_getInetAddresses() local 79 assertNotNull("validate that address is not null", theAddress); in test_getInetAddresses() 90 InetAddress theAddress = (InetAddress) addresses.nextElement(); in test_getInetAddresses() local 91 okAddresses.add(theAddress); in test_getInetAddresses() 100 InetAddress theAddress = (InetAddress) addresses in test_getInetAddresses() local 102 okAddresses.add(theAddress); in test_getInetAddresses() 262 InetAddress theAddress = (InetAddress) addresses.nextElement(); in test_getByInetAddressLjava_net_InetAddress() local 266 .getByInetAddress(theAddress)); in test_getByInetAddressLjava_net_InetAddress() [all …]
|
D | ServerSocketTest.java | 413 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_bindLjava_net_SocketAddress() local 415 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 452 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_bindLjava_net_SocketAddress() 453 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 497 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_bindLjava_net_SocketAddressI() local 499 theSocket.bind(theAddress, 5); in test_bindLjava_net_SocketAddressI() 535 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_bindLjava_net_SocketAddressI() 536 theSocket.bind(theAddress, 5); in test_bindLjava_net_SocketAddressI() 574 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_bindLjava_net_SocketAddressI() 575 theSocket.bind(theAddress, 4); in test_bindLjava_net_SocketAddressI() [all …]
|
D | InetAddressTest.java | 280 InetAddress theAddress = null; in test_getCanonicalHostName() local 281 theAddress = InetAddress.getLocalHost(); in test_getCanonicalHostName() 283 theAddress.getCanonicalHostName().length() != 0); in test_getCanonicalHostName() 285 !theAddress.equals("")); in test_getCanonicalHostName()
|
D | DatagramSocketTest.java | 789 InetSocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_setReuseAddressZ() local 794 theSocket1.bind(theAddress); in test_setReuseAddressZ() 807 InetSocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_setReuseAddressZ() local 812 theSocket1.bind(theAddress); in test_setReuseAddressZ() 825 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_setReuseAddressZ() 828 theSocket1.bind(theAddress); in test_setReuseAddressZ() 931 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_isClosed() local 933 theSocket = new DatagramSocket(theAddress); in test_isClosed()
|
D | SocketTest.java | 187 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_bindLjava_net_SocketAddress() local 190 server.bind(theAddress); in test_bindLjava_net_SocketAddress() 217 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_bindLjava_net_SocketAddress() 218 theSocket.bind(theAddress); in test_bindLjava_net_SocketAddress() 1096 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in test_isConnected() local 1103 server.bind(theAddress); in test_isConnected()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldServerSocketTest.java | 57 InetSocketAddress theAddress = new InetSocketAddress(InetAddress in performancePreferenceTest() local 59 theSocket.bind(theAddress); in performancePreferenceTest()
|
D | OldSocketTest.java | 916 SocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_connectLjava_net_SocketAddress() local 957 theSocket.connect(theAddress); in test_connectLjava_net_SocketAddress() 1073 SocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0); in test_connectLjava_net_SocketAddressI() local 1079 theSocket.connect(theAddress, -100); in test_connectLjava_net_SocketAddressI() 1116 theSocket.connect(theAddress, 0); in test_connectLjava_net_SocketAddressI() 1212 serverSocket.bind(theAddress); in test_connectLjava_net_SocketAddressI()
|