Home
last modified time | relevance | path

Searched defs:serverSocket (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/
DServerSocketFactoryTest.java35 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(); in testCreateServerSocket() local
41 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0); in testCreateServerSocketWithPort() local
50 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0, 1); in testCreateServerSocketWithPortNoBacklog() local
55 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0, 0); in testCreateServerSocketWithPortZeroBacklog() local
60 ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0, 50); in testCreateServerSocketWithPortAndBacklog() local
64 private void testSocket(final ServerSocket serverSocket, int specifiedBacklog) in testSocket()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java60 final ExposedServerSocket serverSocket = new ExposedServerSocket(); in testImplAccept_detectsClosedState() local
134 ServerSocket serverSocket; in checkConnectIterationAndCloseSocket() local
222 private final ServerSocket serverSocket; field in ServerSocketConcurrentCloseTest.ServerRunnable
227 ServerRunnable(ServerSocket serverSocket) { in ServerRunnable()
DOldSocketTest.java597 ServerSocket serverSocket = new ServerSocket(0, 5, addr); in test_shutdownInput() local
632 ServerSocket serverSocket = new ServerSocket(0, 5); in test_shutdownOutput() local
735 ServerSocket serverSocket = new ServerSocket(0, 5); in test_isBound() local
769 ServerSocket serverSocket = new ServerSocket(0, 5); in test_isConnected() local
791 try (ServerSocket serverSocket = new ServerSocket(0, 5)) { in test_isClosed()
846 ServerSocket serverSocket = new ServerSocket(0, 5); in test_bindLjava_net_SocketAddress() local
922 ServerSocket serverSocket = null; in test_connectLjava_net_SocketAddress() local
1329 ServerSocket serverSocket = new ServerSocket(0, 5); in test_isInputShutdown() local
1359 ServerSocket serverSocket = new ServerSocket(0, 5); in test_isOutputShutdown() local
1394 ServerSocket serverSocket = new ServerSocket(0, 5); in test_setReuseAddressZ() local
DSocketTest.java324 final ServerSocket serverSocket = new ServerSocket(0); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
497 private ServerSocket serverSocket; field in SocketTest.MockServer
DFtpURLConnectionTest.java387 private final ServerSocket serverSocket; field in FtpURLConnectionTest.CountingProxy
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DTestServerSocketInit.java26 ServerSocket serverSocket = new ServerSocket(); in main() local
DServerSocketTest.java638 ServerSocket serverSocket = new ServerSocket(); in test_isBound() local
670 ServerSocket serverSocket = new ServerSocket(0, 5, addr); in test_isClosed() local
731 ServerSocket serverSocket = new ServerSocket(); in test_setReuseAddressZ() local
DDatagramSocketTest.java54 final DatagramSocket serverSocket; field in DatagramSocketTest.DatagramServer
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java51 protected Socket serverSocket = null; field in NetworkClient
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java98 public final SSLServerSocket serverSocket; field in TestSSLContext
213 SSLServerSocket serverSocket, in TestSSLContext()
292 SSLServerSocket serverSocket = (SSLServerSocket) in create() local
/libcore/luni/src/test/java/libcore/libcore/io/
DFdsanTest.java115 try (ServerSocket serverSocket = new ServerSocket(port, /* backlog */ 1)) { in testSocket()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java47 ServerSocket serverSocket; field in HttpURLConnectionTest.MockServer
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocketImpl.java141 java.net.ServerSocket serverSocket; field in SocketImpl
/libcore/ojluni/src/main/java/java/net/
DSocketImpl.java50 ServerSocket serverSocket = null; field in SocketImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DServerSocketChannelTest.java412 Socket serverSocket = serverChannel.accept().socket(); in test_read_Blocking_RealData() local
451 Socket serverSocket = serverChannel.accept().socket(); in test_read_NonBlocking_RealData() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSocketTest.java545 SSLServerSocket serverSocket = (SSLServerSocket) in run() local
DSSLSessionTest.java437 SSLServerSocket serverSocket; field in SSLSessionTest
DHandshakeCompletedEventTest.java202 private SSLServerSocket serverSocket; field in HandshakeCompletedEventTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java74 private Socket serverSocket; field in ScannerTest