Home
last modified time | relevance | path

Searched defs:theSocket (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java225 Socket theSocket = new Socket(InetAddress.getLocalHost(), sport, null, 0); in test_getKeepAlive() local
443 try (Socket theSocket = new Socket(InetAddress.getLocalHost(), sport, null, 0)) { in test_setKeepAliveZ()
456 Socket theSocket = new Socket(); in test_setKeepAliveZ() local
500 Socket theSocket = new Socket(); in test_setSendBufferSizeI() local
523 Socket theSocket = new Socket(); in test_setReceiveBufferSizeI() local
548 Socket theSocket = new Socket(); in test_setSoLingerZI() local
574 Socket theSocket = new Socket(); in test_setTcpNoDelayZ() local
598 Socket theSocket = new Socket(addr, serverSocket.getLocalPort()); in test_shutdownInput() local
633 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_shutdownOutput() local
673 Socket theSocket = new Socket(); in test_getLocalSocketAddress() local
[all …]
DOldUnixSocketTest.java92 Socket theSocket = new Socket(); in test_connectLjava_net_SocketAddressI() local
DOldServerSocketTest.java54 ServerSocket theSocket = new ServerSocket(); in performancePreferenceTest() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java370 try (DatagramSocket theSocket = new DatagramSocket()) { in test_getPort()
640 DatagramSocket theSocket = new DatagramSocket((SocketAddress) null); in test_bindLjava_net_SocketAddress_null() local
663 DatagramSocket theSocket = new DatagramSocket((SocketAddress) null); in test_bindLjava_net_SocketAddress_unsupported_address_type() local
673 DatagramSocket theSocket = new DatagramSocket(0); in test_isBound() local
705 try (DatagramSocket theSocket = new DatagramSocket(0)) { in test_isConnected()
720 DatagramSocket theSocket = new DatagramSocket(0); in test_isConnected() local
738 try (DatagramSocket theSocket = new DatagramSocket(null)) { in test_getRemoteSocketAddress()
752 DatagramSocket theSocket = new DatagramSocket((SocketAddress) null); in test_getLocalSocketAddress_late_bind() local
849 DatagramSocket theSocket = new DatagramSocket(null); in test_getReuseAddress() local
864 DatagramSocket theSocket = new DatagramSocket(0); in test_setBroadcastZ() local
[all …]
DServerSocketTest.java412 ServerSocket theSocket = new ServerSocket(); in test_bindLjava_net_SocketAddress() local
496 ServerSocket theSocket = new ServerSocket(); in test_bindLjava_net_SocketAddressI() local
603 ServerSocket theSocket = new ServerSocket(0, 5, InetAddress in test_getLocalSocketAddress() local
737 Socket theSocket = new Socket(); in test_setReuseAddressZ() local
810 try (ServerSocket theSocket = new ServerSocket()) { in test_getReuseAddress()
821 ServerSocket theSocket = new ServerSocket(); in test_setReceiveBufferSizeI() local
846 try (ServerSocket theSocket = new ServerSocket()) { in test_getReceiveBufferSize()
862 ServerSocket theSocket = new ServerSocket(); in test_setPerformancePreference_Int_Int_Int() local
DSocketTest.java163 Socket theSocket = new Socket(); in test_bindLjava_net_SocketAddress() local
308 Socket theSocket = new Socket(); in test_connectLjava_net_SocketAddress() local
400 Socket theSocket = new Socket(); in test_connectLjava_net_SocketAddressI() local
540 Socket theSocket; in test_ConstructorLjava_lang_StringILjava_net_InetAddressI() local
780 try (Socket theSocket = new Socket()) { in test_getOOBInline()
926 Socket theSocket = new Socket(); in test_getRemoteSocketAddress() local
943 try (Socket theSocket = new Socket()) { in test_getReuseAddress()
1433 try (Socket theSocket = new Socket()) { in test_setOOBInlineZ()
1440 try (Socket theSocket = new Socket()) { in test_setPerformancePreference_Int_Int_Int()
1457 Socket theSocket = new Socket(); in test_setReuseAddressZ() local
[all …]
DSocketImplTest.java50 MockSocketImpl theSocket = new MockSocketImpl(); in test_setPerformancePreference_Int_Int_Int() local