Home
last modified time | relevance | path

Searched refs:DISCONNECT_AFTER_REQUEST (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DSocketPolicy.java66 DISCONNECT_AFTER_REQUEST, enumConstant
DMockWebServer.java528 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_REQUEST) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java152 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in silentRetryWhenIdempotentRequestFailsOnReusedConnection()
DCallTest.java897 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in recoverWhenRetryOnConnectionFailureIsTrue()
910 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in noRecoverWhenRetryOnConnectionFailureIsFalse()
1110 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in postBodyRetransmittedOnFailureRecovery()
DURLConnectionTest.java2740 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST));
/external/downloader/src/test/java/com/google/android/downloader/
DMockWebServerUrlEngineTestHelper.java248 .setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST) in executeRequest_networkError_failsInternalError()