Home
last modified time | relevance | path

Searched refs:onResponse (Results 1 – 22 of 22) sorted by relevance

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DOkHttpCallback.kt9 val onResponse: ((call: Call, response: Response) -> Unit)? = null, constant in com.airbnb.lottie.samples.OkHttpCallback
12 …override fun onResponse(call: Call, response: Response) = onResponse?.invoke(call, response) ?: Un… method in com.airbnb.lottie.samples.OkHttpCallback
/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java111 public void onResponse(ImageContainer response, boolean isImmediate) { in getImageListener() method
142 void onResponse(ImageContainer response, boolean isImmediate);
233 imageListener.onResponse(container, true);
242 imageListener.onResponse(imageContainer, true);
275 public void onResponse(Bitmap response) {
506 container.mListener.onResponse(container, false);
DNetworkImageView.java260 public void onResponse( in loadImageIfNecessary()
274 onResponse(response, /* isImmediate= */ false); in loadImageIfNecessary()
DStringRequest.java82 listener.onResponse(response); in deliverResponse()
DJsonRequest.java90 listener.onResponse(response); in deliverResponse()
DRequestFuture.java148 public synchronized void onResponse(T response) { in onResponse() method in RequestFuture
DImageRequest.java257 listener.onResponse(response); in deliverResponse()
/external/volley/src/test/java/com/android/volley/toolbox/
DImageLoaderTest.java65 verify(listener).onResponse(ic, true); in getWithCacheHit()
77 verify(listener, times(2)).onResponse(any(ImageLoader.ImageContainer.class), eq(true)); in getWithCacheMiss()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCallback.java45 void onResponse(Response response) throws IOException; in onResponse() method
DCall.java179 responseCallback.onResponse(response); in execute()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCallback.java41 void onResponse(Response response) throws IOException; in onResponse() method
DCall.java177 responseCallback.onResponse(response); in execute()
/external/volley/src/main/java/com/android/volley/
DResponse.java31 void onResponse(T response); in onResponse() method
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DAsynchronousGet.java38 @Override public void onResponse(Response response) throws IOException { in run()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingCallback.java37 @Override public synchronized void onResponse(Response response) throws IOException { in onResponse() method in RecordingCallback
DCallTest.java655 @Override public void onResponse(Response response) throws IOException { in exceptionThrownByOnResponseIsRedactedAndLogged()
712 @Override public void onResponse(Response response) throws IOException { in connectionReuseWhenResponseBodyConsumed_Async()
1784 @Override public void onResponse(Response response) throws IOException { in canceledAfterResponseIsDeliveredBreaksStreamButSignalsOnce()
1898 @Override public void onResponse(Response response) throws IOException { in asyncResponseCanBeConsumedLater()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttpAsync.java72 @Override public void onResponse(Response response) throws IOException { in prepare()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java96 @Override public void onResponse(Response response) throws IOException { in enqueue()
/external/downloader/src/main/java/com/google/android/downloader/
DOkHttp3UrlEngine.java130 public void onResponse(Call call, Response response) { in send()
DOkHttp2UrlEngine.java130 public void onResponse(Response response) { in send()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DHappoSnapshotter.kt132 override fun onResponse(call: Call, response: Response) { in <lambda>() method
/external/okhttp/
DCHANGELOG.md458 `onResponse()` throws an `IOException`. That failure will now be logged