/libcore/luni/src/test/java/libcore/java/net/ |
D | SocketTimeoutTest.java | 84 s.setSoTimeout(TIMEOUT_MILLIS / 2); in testSocketConnectTimeout() 98 s.setSoTimeout(TIMEOUT_MILLIS); in testSocketReadTimeout() 111 sock.setSoTimeout(TIMEOUT_MILLIS); in testSocketWriteNeverTimeouts() 156 s.setSoTimeout(TIMEOUT_MILLIS); in testServerSocketAcceptTimeout() 167 s.socket().setSoTimeout(TIMEOUT_MILLIS); in testServerSocketChannelAcceptTimeout() 175 s.setSoTimeout(TIMEOUT_MILLIS); in testDatagramSocketReceive()
|
D | OldDatagramPacketTest.java | 36 ss.setSoTimeout(3000); in test_getPort() 51 cs.setSoTimeout(3000); in test_getPort()
|
D | DatagramSocketTest.java | 162 dgramSocket.setSoTimeout(100); in testExplicitFilter() 180 dgramSocket.setSoTimeout(100); in testExplicitFilter() 205 ds.setSoTimeout(1000); in testAddressSameIfUnchanged()
|
D | OldServerSocketTest.java | 89 s.setSoTimeout(2000); in test_ConstructorII() 233 s.setSoTimeout(timeoutSet); in test_getSoTimeout_setSoTimeout() 244 s.setSoTimeout(1000); in test_getSoTimeout_setSoTimeout()
|
D | MulticastSocketTest.java | 49 mcSock.setSoTimeout(SO_TIMEOUT); in testGroupReceive()
|
D | ServerSocketTest.java | 38 ss.setSoTimeout(1234); in testTimeoutAfterAccept()
|
D | OldSocketTest.java | 393 s.setSoTimeout(1500); in test_getSoTimeout_setSoTimeout() 403 s.setSoTimeout(1000); in test_getSoTimeout_setSoTimeout() 1303 theSocket.setSoTimeout(1000); in test_connectLjava_net_SocketAddressI_setSOTimeout() 1308 theSocket.setSoTimeout(2000); in test_connectLjava_net_SocketAddressI_setSOTimeout()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 184 s.setSoTimeout(readTimeout); in doConnect() 186 s.setSoTimeout(defaultSoTimeout); in doConnect() 262 serverSocket.setSoTimeout(timeout);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 135 s.setSoTimeout(2000); in test_ConstructorII() 169 s.setSoTimeout(5000); in test_ConstructorIILjava_net_InetAddress() 185 s.setSoTimeout(5000); in test_accept() 203 ss.setSoTimeout(12000); in test_accept() 239 ss2.setSoTimeout(500); in test_accept() 316 s.setSoTimeout(timeoutSet); in test_getSoTimeout() 372 s.setSoTimeout(timeoutSet); in test_setSoTimeoutI() 384 s.setSoTimeout(10000); in test_setSoTimeoutI()
|
D | DatagramSocketTest.java | 63 serverSocket.setSoTimeout(2000); in DatagramServer() 178 ds.setSoTimeout(2000); in testConnect_connectToSelf() 215 ds.setSoTimeout(2000); in testConnect_echoServer() 257 ds.setSoTimeout(2000); in testConnect_connectDisconnectConnectThenSendRecv() 280 ds.setSoTimeout(2000); in testConnect_connectDisconnectThenSendRecv() 305 ds.setSoTimeout(2000); in testConnect_connectTwice() 411 ds.setSoTimeout(timeoutSet); in test_getSoTimeout()
|
D | DatagramPacketTest.java | 137 socket.setSoTimeout(3000); in test_getPort()
|
D | MulticastSocketTest.java | 874 socket.setSoTimeout(5000); // Prevent eternal block in. in test_setLoopbackModeSendReceive() 941 ms.setSoTimeout(2000); in createReceivingSocket()
|
D | SocketTest.java | 97 socket.setSoTimeout(5000); in run() 973 client.setSoTimeout(timeoutSet); in test_getSoTimeout() 1505 client.setSoTimeout(timeoutSet); in test_setSoTimeoutI()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 54 serverSocket.setSoTimeout(1000); in MockServer() 92 socket.setSoTimeout(1000); in run() 103 socket.setSoTimeout(1000); in run()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 680 s.setSoTimeout(readTimeout); in openPassiveDataConnection() 682 s.setSoTimeout(defaultSoTimeout); in openPassiveDataConnection() 770 portSocket.setSoTimeout(connectTimeout); in openDataConnection() 773 portSocket.setSoTimeout(defaultConnectTimeout); in openDataConnection() 778 clientSocket.setSoTimeout(readTimeout); in openDataConnection() 781 clientSocket.setSoTimeout(defaultSoTimeout); in openDataConnection() 969 s.setSoTimeout(readTimeout); in doConnect() 971 s.setSoTimeout(defaultSoTimeout); in doConnect()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 152 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocketAdaptor
|
D | SocketAdaptor.java | 352 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in SocketAdaptor
|
D | DatagramSocketAdaptor.java | 257 public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocketAdaptor
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileChannelTest.java | 2598 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel() 2601 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel() 2603 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel() 2607 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel() 2637 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel() 2640 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel() 2642 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel() 2945 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel() 2948 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel() 2950 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel() [all …]
|
D | DatagramChannelTest.java | 1162 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Normal_S2S() 1210 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Empty_S2S() 1313 this.datagramSocket1.setSoTimeout(6000); in receiveOnDatagramSocket1() 2532 dc.socket().setSoTimeout(4000); in test_concurrentShutdown()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebServer.java | 218 ss.setSoTimeout(5000); in init() 569 s.setSoTimeout(mTimeout); in handleClient()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 651 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in ServerSocket
|
D | DatagramSocket.java | 934 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DatagramSocket
|
D | Socket.java | 1169 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in Socket
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 224 server.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect() 229 client.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect() 811 server.setSoTimeout(1 * 1000); in test_SSLSocket_setUseClientMode() 825 client.setSoTimeout(1 * 1000); in test_SSLSocket_setUseClientMode() 1742 wrapping.setSoTimeout(expectedTimeoutMillis); in test_SSLSocket_setSoTimeout_basic() 1748 underlying.setSoTimeout(0); in test_SSLSocket_setSoTimeout_basic() 1767 underlying.setSoTimeout(1); in test_SSLSocket_setSoTimeout_wrapper() 1957 toRead.setSoTimeout(5 * 1000); in test_SSLSocket_interrupt_case() 2000 wrapping.setSoTimeout(readingTimeoutMillis); in test_SSLSocket_interrupt_read()
|