Home
last modified time | relevance | path

Searched refs:setSoTimeout (Results 1 – 23 of 23) sorted by relevance

/external/apache-http/src/org/apache/http/impl/io/
DSocketInputBuffer.java79 this.socket.setSoTimeout(timeout); in isDataAvailable()
87 socket.setSoTimeout(oldtimeout); in isDataAvailable()
108 this.socket.setSoTimeout(1); in isStale()
115 this.socket.setSoTimeout(oldTimeout); in isStale()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DDatagramSocketTest.java95 ms.setSoTimeout(2000); in DatagramServer()
166 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
213 ms.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
227 ds.setSoTimeout(10000); in test_connectLjava_net_InetAddressI()
256 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
321 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
359 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
397 ds.setSoTimeout(2000); in test_connectLjava_net_InetAddressI()
510 ds.setSoTimeout(100); in test_getSoTimeout()
544 ds.setSoTimeout(6000); in test_receiveLjava_net_DatagramPacket()
[all …]
DServerSocketTest.java127 s.setSoTimeout(2000); in test_ConstructorII()
161 s.setSoTimeout(5000); in test_ConstructorIILjava_net_InetAddress()
177 s.setSoTimeout(5000); in test_accept()
191 ss.setSoTimeout(12000); in test_accept()
227 ss2.setSoTimeout(500); in test_accept()
303 s.setSoTimeout(100); in test_getSoTimeout()
348 s.setSoTimeout(100); in test_setSoTimeoutI()
358 s.setSoTimeout(10000); in test_setSoTimeoutI()
DDatagramPacketTest.java137 socket.setSoTimeout(3000); in test_getPort()
DMulticastSocketTest.java119 ms.setSoTimeout(2000); in MulticastServer()
129 ms.setSoTimeout(2000); in MulticastServer()
782 socket.setSoTimeout(5000); // prevent eternal block in in test_setLoopbackModeSendReceive()
DSocketTest.java95 socket.setSoTimeout(5000); in run()
972 client.setSoTimeout(100); in test_getSoTimeout()
1497 client.setSoTimeout(100); in test_setSoTimeoutI()
/external/apache-http/src/org/apache/http/params/
DHttpConnectionParamBean.java40 public void setSoTimeout (int soTimeout) { in setSoTimeout() method in HttpConnectionParamBean
41 HttpConnectionParams.setSoTimeout(params, soTimeout); in setSoTimeout()
DHttpConnectionParams.java78 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout() method in HttpConnectionParams
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpServerSocket.java48 instance.setSoTimeout(timeout); in accept()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpServerConnection.java64 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DDefaultHttpClientConnection.java66 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DSocketHttpClientConnection.java158 this.socket.setSoTimeout(timeout); in setSocketTimeout()
DSocketHttpServerConnection.java156 this.socket.setSoTimeout(timeout); in setSocketTimeout()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DFileChannelTest.java2500 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2503 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2505 datagramChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2509 datagramChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_DatagramChannel()
2539 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2542 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2544 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferFromLReadableByteChannelJJ_SocketChannel()
2847 socketChannelReceiver.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2850 serverSocketChannel.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
2852 socketChannelSender.socket().setSoTimeout(TIME_OUT); in test_transferToJJLWritableByteChannel_SocketChannel()
[all …]
DServerSocketChannelTest.java544 ss.setSoTimeout(SO_TIMEOUT); in test_accept_SOTIMEOUT()
DDatagramChannelTest.java1294 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Normal_S2S()
1350 this.datagramSocket2.setSoTimeout(TIME_UNIT); in testReceiveSend_Empty_S2S()
1471 this.datagramSocket1.setSoTimeout(6000); in receiveByDatagramSocket()
DSocketChannelTest.java1947 acceptedSocket.setSoTimeout(TIMEOUT); in test_writeLjava_nio_ByteBuffer_Blocking()
2008 acceptedSocket.setSoTimeout(TIMEOUT); in test_writeLjava_nio_ByteBuffer_NonBlocking()
2697 acceptedSocket.setSoTimeout(TIMEOUT); in assert_write$LByteBuffer()
3551 socket.setSoTimeout(1000); in testSocket_setOptions()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageProcessor.java118 sock.setSoTimeout((int) sipStack.getThreadAuditor().getPingIntervalInMillisecs()); in UDPMessageProcessor()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java260 sock.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in prepareSocket()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java1237 serverSocket.setSoTimeout(TIMEOUT); in run()
1241 peerSocket.setSoTimeout(TIMEOUT); in run()
1292 peerSocket.setSoTimeout(TIMEOUT); in run()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java319 sslsock.setSoTimeout(soTimeout); in connectSocket()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLServerSocketImplTest.java599 client.setSoTimeout(10000); in Client()
DSSLSocketImplTest.java590 server.setSoTimeout(1000); in Server()