Home
last modified time | relevance | path

Searched refs:setDispatcher (Results 1 – 17 of 17) 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/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestDispatchers.kt23 mainDispatcher.setDispatcher(dispatcher) in setMain()
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/internal/
DMainTestDispatcher.kt53 public fun setDispatcher(dispatcher: CoroutineDispatcher) { in setDispatcher() method in kotlinx.coroutines.test.internal.TestMainDispatcher
/external/downloader/src/test/java/com/google/android/downloader/
DOkHttp2UrlEngineTest.java51 client.setDispatcher(new Dispatcher(dispatchExecutorService)); in setUp()
DDownloaderTest.java100 mockWebServer.setDispatcher(dispatcher); in setUp()
522 mockWebServer.setDispatcher(new QueueDispatcher()); in downloadOneFile_retryAfterFailure()
/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.java1655 server.setDispatcher(new Dispatcher() { in cancelInFlightBeforeResponseReadThrowsIOE()
1697 server.setDispatcher(new Dispatcher() { in canceledBeforeIOSignalsOnFailure()
1736 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.java596 public void setDispatcher(Dispatcher dispatcher) { in setDispatcher() method in MockWebServer
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java813 public void setDispatcher(Dispatcher dispatcher) {