Searched refs:setConnectionPool (Results 1 – 10 of 10) sorted by relevance
104 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()
1026 client.setConnectionPool(pool); in conditionalCacheHitIsNotDoublePooled()
1292 client.client().setConnectionPool(pool); in endOfStreamResponseIsNotPooled()
57 okUrlFactory.client().setConnectionPool(configAwareConnectionPool.get()); in newOkUrlFactory()
63 okUrlFactory.client().setConnectionPool(configAwareConnectionPool.get()); in newOkUrlFactory()
186 client.setConnectionPool(ConnectionPool.getDefault()); in createClient()
405 public OkHttpClient setConnectionPool(ConnectionPool connectionPool) { in setConnectionPool() method in OkHttpClient
68 client.setConnectionPool(null); in setUp()
399 client.client().setConnectionPool(connectionPool); in disconnectWithStreamNotEstablished()
854 client.client().setConnectionPool(pool); in conditionalCacheHitIsNotDoublePooled()