Home
last modified time | relevance | path

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

123

/external/apache-http/src/org/apache/http/impl/io/
DSocketInputBuffer.java84 this.socket.setSoTimeout(timeout); in isDataAvailable()
92 socket.setSoTimeout(oldtimeout); in isDataAvailable()
111 this.socket.setSoTimeout(1); in isStale()
118 this.socket.setSoTimeout(oldTimeout); in isStale()
/external/apache-http/src/org/apache/http/params/
DHttpConnectionParamBean.java46 public void setSoTimeout (int soTimeout) { in setSoTimeout() method in HttpConnectionParamBean
47 HttpConnectionParams.setSoTimeout(params, soTimeout); in setSoTimeout()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java126 serverSocket.setSoTimeout((int) acceptTimeout); in accept()
130 serverSocket.setSoTimeout(0); in accept()
304 transportSocket.setSoTimeout((int) handshakeTimeout); in handshake()
324 transportSocket.setSoTimeout(0); in handshake()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDADebuggeeSynchronizer.java218 serverSocket.setSoTimeout((int) timeout); in startServer()
223 clientSocket.setSoTimeout((int) timeout); in startServer()
243 clientSocket.setSoTimeout((int) timeout); in startClient()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java143 rawSocket.setSoTimeout(readTimeout); in connectSocket()
160 socket.setSoTimeout(0); // Framed connection timeouts are set per-stream. in connectSocket()
364 socket.setSoTimeout(1); in isHealthy()
370 socket.setSoTimeout(readTimeout); in isHealthy()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java139 rawSocket.setSoTimeout(readTimeout); in connectSocket()
156 socket.setSoTimeout(0); // Framed connection timeouts are set per-stream. in connectSocket()
360 socket.setSoTimeout(1); in isHealthy()
366 socket.setSoTimeout(readTimeout); in isHealthy()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DSocketTransportService.java120 s.setSoTimeout((int)timeout); in handshake()
147 s.setSoTimeout(0); in handshake()
345 ss.setSoTimeout((int)acceptTimeout); in accept()
/external/conscrypt/common/src/main/java/org/conscrypt/
DAbstractConscryptSocket.java259 public final void setSoTimeout(int readTimeoutMilliseconds) throws SocketException { in setSoTimeout() method in AbstractConscryptSocket
261 socket.setSoTimeout(readTimeoutMilliseconds); in setSoTimeout()
263 super.setSoTimeout(readTimeoutMilliseconds); in setSoTimeout()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocket.java196 @Override public void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in DelegatingSSLSocket
197 delegate.setSoTimeout(timeout); in setSoTimeout()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DAbstractConscryptSocket.java260 public final void setSoTimeout(int readTimeoutMilliseconds) throws SocketException { in setSoTimeout() method in AbstractConscryptSocket
262 socket.setSoTimeout(readTimeoutMilliseconds); in setSoTimeout()
264 super.setSoTimeout(readTimeoutMilliseconds); in setSoTimeout()
/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.java69 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DDefaultHttpClientConnection.java71 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
DSocketHttpClientConnection.java163 this.socket.setSoTimeout(timeout); in setSocketTimeout()
DSocketHttpServerConnection.java161 this.socket.setSoTimeout(timeout); in setSocketTimeout()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DHttpFacade.java123 mServerSocket.setSoTimeout(mServerTimeout); in httpAcceptConnection()
206 mServerSocket.setSoTimeout(timeout); in httpSetServerTimeout()
/external/apache-http/android/src/android/net/http/
DHttpsConnection.java179 proxySock.setSoTimeout(60 * 1000); in openConnection()
293 sslSock.setSoTimeout(SOCKET_TIMEOUT); in openConnection()
DAndroidHttpClientConnection.java99 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); in bind()
192 this.socket.setSoTimeout(timeout); in setSocketTimeout()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java151 public void setSoTimeout(int to) throws SocketException { in setSoTimeout() method in PreKitKatPlatformOpenSSLSocketImplAdapter
152 delegate.setSoTimeout(to); in setSoTimeout()
DKitKatPlatformOpenSSLSocketImplAdapter.java151 public void setSoTimeout(int to) throws SocketException { in setSoTimeout() method in KitKatPlatformOpenSSLSocketImplAdapter
152 delegate.setSoTimeout(to); in setSoTimeout()
/external/vogar/src/vogar/monitor/
DTargetMonitor.java51 serverSocket.setSoTimeout(ACCEPT_TIMEOUT_MILLIS); in await()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockServerSocket.java179 public synchronized void setSoTimeout(int timeout) throws SocketException { in setSoTimeout() method in MockServerSocket
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java209 server.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
217 client.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
677 wrapping.setSoTimeout(expectedTimeoutMillis); in test_SSLSocket_setSoTimeout_basic()
682 underlying.setSoTimeout(0); in test_SSLSocket_setSoTimeout_basic()
695 underlying.setSoTimeout(1); in test_SSLSocket_setSoTimeout_wrapper()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java213 server.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
221 client.setSoTimeout(10); in test_SSLSocket_getSupportedCipherSuites_connect()
686 wrapping.setSoTimeout(expectedTimeoutMillis); in test_SSLSocket_setSoTimeout_basic()
691 underlying.setSoTimeout(0); in test_SSLSocket_setSoTimeout_basic()
704 underlying.setSoTimeout(1); in test_SSLSocket_setSoTimeout_wrapper()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DUtilsTest.java79 socket.setSoTimeout(3); in getSocketOptions()

123