Home
last modified time | relevance | path

Searched refs:writeTimeout (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStreamAllocation.java91 public HttpStream newStream(int connectTimeout, int readTimeout, int writeTimeout, in newStream() argument
96 writeTimeout, connectionRetryEnabled, doExtensiveHealthChecks); in newStream()
104 resultConnection.sink.timeout().timeout(writeTimeout, MILLISECONDS); in newStream()
123 int writeTimeout, boolean connectionRetryEnabled, boolean doExtensiveHealthChecks) in findHealthyConnection() argument
126 RealConnection candidate = findConnection(connectTimeout, readTimeout, writeTimeout, in findHealthyConnection()
149 private RealConnection findConnection(int connectTimeout, int readTimeout, int writeTimeout, in findConnection() argument
184 newConnection.connect(connectTimeout, readTimeout, writeTimeout, address.getConnectionSpecs(), in findConnection()
DHttp2xStream.java137 stream.writeTimeout().timeout(httpEngine.client.getWriteTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java67 private final StreamTimeout writeTimeout = new StreamTimeout(); field in FramedStream
190 public Timeout writeTimeout() { in writeTimeout() method in FramedStream
191 return writeTimeout; in writeTimeout()
502 writeTimeout.enter(); in emitDataFrame()
508 writeTimeout.exitAndThrowIfTimedOut(); in emitDataFrame()
516 writeTimeout.enter(); in emitDataFrame()
520 writeTimeout.exitAndThrowIfTimedOut(); in emitDataFrame()
536 return writeTimeout; in timeout()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java92 public void connect(int connectTimeout, int readTimeout, int writeTimeout, in connect() argument
112 connectSocket(connectTimeout, readTimeout, writeTimeout, connectionSpecSelector); in connect()
137 private void connectSocket(int connectTimeout, int readTimeout, int writeTimeout, in connectSocket() argument
149 connectTls(readTimeout, writeTimeout, connectionSpecSelector); in connectSocket()
169 private void connectTls(int readTimeout, int writeTimeout, in connectTls() argument
172 createTunnel(readTimeout, writeTimeout); in connectTls()
259 private void createTunnel(int readTimeout, int writeTimeout) throws IOException { in createTunnel() argument
267 sink.timeout().timeout(writeTimeout, MILLISECONDS); in createTunnel()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java146 private int writeTimeout = 10_000; field in OkHttpClient
177 this.writeTimeout = okHttpClient.writeTimeout; in OkHttpClient()
230 writeTimeout = (int) millis; in setWriteTimeout()
235 return writeTimeout; in getWriteTimeout()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialutil.py247 writeTimeout=None, # set a timeout for writes argument
275 self.writeTimeout = writeTimeout
427 writeTimeout = property(getWriteTimeout, setWriteTimeout, doc="Timeout setting for write()") variable in SerialBase
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java965 stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS);
1006 stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS);