Home
last modified time | relevance | path

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

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DStreamAllocation.java93 public HttpStream newStream(int connectTimeout, int readTimeout, int writeTimeout, in newStream() argument
98 writeTimeout, connectionRetryEnabled, doExtensiveHealthChecks); in newStream()
106 resultConnection.sink.timeout().timeout(writeTimeout, MILLISECONDS); in newStream()
125 int writeTimeout, boolean connectionRetryEnabled, boolean doExtensiveHealthChecks) in findHealthyConnection() argument
128 RealConnection candidate = findConnection(connectTimeout, readTimeout, writeTimeout, in findHealthyConnection()
151 private RealConnection findConnection(int connectTimeout, int readTimeout, int writeTimeout, in findConnection() argument
186 newConnection.connect(connectTimeout, readTimeout, writeTimeout, address.getConnectionSpecs(), in findConnection()
DHttp2xStream.java139 stream.writeTimeout().timeout(httpEngine.client.getWriteTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
/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/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedStream.java69 private final StreamTimeout writeTimeout = new StreamTimeout(); field in FramedStream
192 public Timeout writeTimeout() { in writeTimeout() method in FramedStream
193 return writeTimeout; in writeTimeout()
504 writeTimeout.enter(); in emitDataFrame()
510 writeTimeout.exitAndThrowIfTimedOut(); in emitDataFrame()
518 writeTimeout.enter(); in emitDataFrame()
522 writeTimeout.exitAndThrowIfTimedOut(); in emitDataFrame()
538 return writeTimeout; in timeout()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java96 public void connect(int connectTimeout, int readTimeout, int writeTimeout, in connect() argument
116 connectSocket(connectTimeout, readTimeout, writeTimeout, connectionSpecSelector); in connect()
141 private void connectSocket(int connectTimeout, int readTimeout, int writeTimeout, in connectSocket() argument
153 connectTls(readTimeout, writeTimeout, connectionSpecSelector); in connectSocket()
173 private void connectTls(int readTimeout, int writeTimeout, in connectTls() argument
176 createTunnel(readTimeout, writeTimeout); in connectTls()
263 private void createTunnel(int readTimeout, int writeTimeout) throws IOException { in createTunnel() argument
271 sink.timeout().timeout(writeTimeout, MILLISECONDS); in createTunnel()
/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/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DOkHttpClient.java151 private int writeTimeout = 10_000; field in OkHttpClient
183 this.writeTimeout = okHttpClient.writeTimeout; in OkHttpClient()
236 writeTimeout = (int) millis; in setWriteTimeout()
241 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/downloader/src/example/java/com/google/android/downloader/example/
DDownloaderTestActivity.java96 .writeTimeout(30, SECONDS) in onCreate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java1022 stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS);
1065 stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS);