Home
last modified time | relevance | path

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

/external/mockwebserver/src/test/java/com/google/mockwebserver/
DCustomDispatcherTest.java48 mockWebServer.setDispatcher(dispatcher); in testSimpleDispatch()
72 mockWebServer.setDispatcher(dispatcher); in testOutOfOrderResponses()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DCustomDispatcherTest.java48 mockWebServer.setDispatcher(dispatcher); in simpleDispatch()
72 mockWebServer.setDispatcher(dispatcher); in outOfOrderResponses()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttpAsync.java52 client.setDispatcher(new Dispatcher(new ThreadPoolExecutor(benchmark.concurrencyLevel, in prepare()
DBenchmark.java170 server.setDispatcher(new Dispatcher() { in startServer()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java548 client.setDispatcher(new Dispatcher(executor)); in interceptorThrowsRuntimeExceptionAsynchronous()
570 client.setDispatcher(new Dispatcher(executor)); in applicationInterceptorReturnsNull()
596 client.setDispatcher(new Dispatcher(executor)); in networkInterceptorReturnsNull()
DDispatcherTest.java20 OkHttpClient client = new OkHttpClient().setDispatcher(dispatcher);
DCallTest.java1653 server.setDispatcher(new Dispatcher() { in cancelInFlightBeforeResponseReadThrowsIOE()
1689 server.setDispatcher(new Dispatcher() { in canceledBeforeIOSignalsOnFailure()
1728 server.setDispatcher(new Dispatcher() { in canceledBeforeResponseReadSignalsOnFailure()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java36 server.setDispatcher(this); in run()
/external/okhttp/mockwebserver/
DREADME.md137 server.setDispatcher(dispatcher);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java473 public OkHttpClient setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in OkHttpClient
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DOkHttpClient.java486 public OkHttpClient setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in OkHttpClient
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java588 public void setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in MockWebServer
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java812 public void setDispatcher(Dispatcher dispatcher) {