Home
last modified time | relevance | path

Searched refs:setConnectionPool (Results 1 – 10 of 10) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java104 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsAreNotReusedIfPoolIsSizeZero()
115 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsReusedWithRedirectEvenIfPoolIsSizeZero()
132 client.setConnectionPool(new ConnectionPool(0, 5000)); in connectionsNotReusedWithRedirectIfDiscardingResponseIsSlow()
209 client.setConnectionPool(new ConnectionPool(5, 250, TimeUnit.MILLISECONDS)); in connectionsAreEvicted()
DCacheTest.java1026 client.setConnectionPool(pool); in conditionalCacheHitIsNotDoublePooled()
DURLConnectionTest.java1292 client.client().setConnectionPool(pool); in endOfStreamResponseIsNotPooled()
/external/okhttp/android/main/java/com/squareup/okhttp/
DHttpsHandler.java57 okUrlFactory.client().setConnectionPool(configAwareConnectionPool.get()); in newOkUrlFactory()
DHttpHandler.java63 okUrlFactory.client().setConnectionPool(configAwareConnectionPool.get()); in newOkUrlFactory()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java186 client.setConnectionPool(ConnectionPool.getDefault()); in createClient()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java405 public OkHttpClient setConnectionPool(ConnectionPool connectionPool) { in setConnectionPool() method in OkHttpClient
/external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptorTest.java68 client.setConnectionPool(null); in setUp()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java399 client.client().setConnectionPool(connectionPool); in disconnectWithStreamNotEstablished()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java854 client.client().setConnectionPool(pool); in conditionalCacheHitIsNotDoublePooled()