Home
last modified time | relevance | path

Searched refs:VolleyError (Results 1 – 25 of 25) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java38 import com.android.volley.VolleyError;
168 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout()
171 } catch (VolleyError e) { in socketTimeout()
185 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnection()
188 } catch (VolleyError e) { in noConnection()
192 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnection()
203 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized()
206 } catch (VolleyError e) { in unauthorized()
221 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in forbidden()
224 } catch (VolleyError e) { in forbidden()
[all …]
DResponseTest.java24 import com.android.volley.VolleyError;
37 assertNotNull(Response.class.getMethod("error", VolleyError.class)); in publicMethods()
44 "onErrorResponse", VolleyError.class)); in publicMethods()
DRequestTest.java27 import com.android.volley.VolleyError;
73 assertNotNull(Request.class.getDeclaredMethod("parseNetworkError", VolleyError.class)); in publicMethods()
75 assertNotNull(Request.class.getMethod("deliverError", VolleyError.class)); in publicMethods()
/external/volley/src/main/java/com/android/volley/
DVolleyError.java21 public class VolleyError extends Exception { class
25 public VolleyError() { in VolleyError() method in VolleyError
29 public VolleyError(NetworkResponse response) { in VolleyError() method in VolleyError
33 public VolleyError(String exceptionMessage) { in VolleyError() method in VolleyError
38 public VolleyError(String exceptionMessage, Throwable reason) { in VolleyError() method in VolleyError
43 public VolleyError(Throwable cause) { in VolleyError() method in VolleyError
DResponse.java38 void onErrorResponse(VolleyError error); in onErrorResponse()
50 public static <T> Response<T> error(VolleyError error) { in error()
61 public final VolleyError error;
77 private Response(VolleyError error) { in Response()
DNetworkDispatcher.java158 } catch (VolleyError volleyError) { in processRequest()
164 VolleyError volleyError = new VolleyError(e); in processRequest()
173 private void parseAndDeliverNetworkError(Request<?> request, VolleyError error) { in parseAndDeliverNetworkError()
DRetryPolicy.java55 void retry(VolleyError error) throws VolleyError; in retry()
DDefaultRetryPolicy.java83 public void retry(VolleyError error) throws VolleyError { in retry()
DRequest.java598 protected VolleyError parseNetworkError(VolleyError volleyError) { in parseNetworkError()
617 public void deliverError(VolleyError error) { in deliverError()
DTimeoutError.java21 public class TimeoutError extends VolleyError {}
DNetwork.java28 NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest()
DServerError.java21 public class ServerError extends VolleyError {
DNetworkError.java21 public class NetworkError extends VolleyError {
DParseError.java21 public class ParseError extends VolleyError {
DResponseDelivery.java30 void postError(Request<?> request, VolleyError error); in postError()
DAuthFailureError.java23 public class AuthFailureError extends VolleyError {
DExecutorDelivery.java65 public void postError(Request<?> request, VolleyError error) { in postError()
/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java28 import com.android.volley.VolleyError;
102 public void onErrorResponse(VolleyError error) { in getImageListener()
283 public void onErrorResponse(VolleyError error) {
326 protected void onGetImageError(String cacheKey, VolleyError error) {
427 private VolleyError mError;
444 public void setError(VolleyError error) {
449 public VolleyError getError() {
DRequestFuture.java22 import com.android.volley.VolleyError;
59 private VolleyError mException;
155 public synchronized void onErrorResponse(VolleyError error) { in onErrorResponse()
DBasicNetwork.java33 import com.android.volley.VolleyError;
113 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest()
240 String logPrefix, Request<?> request, VolleyError exception) throws VolleyError { in attemptRetryOnException()
246 } catch (VolleyError e) { in attemptRetryOnException()
DNetworkImageView.java24 import com.android.volley.VolleyError;
202 public void onErrorResponse(VolleyError error) { in loadImageIfNecessary()
/external/volley/src/test/java/com/android/volley/mock/
DMockRequest.java23 import com.android.volley.VolleyError;
70 public void deliverError(VolleyError error) { in deliverError()
/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java82 verify(delivery, never()).postError(any(Request.class), any(VolleyError.class)); in verifyNoResponse()
110 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in nonExpiredCacheHit()
129 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in softExpiredCacheHit()
DNetworkDispatcherTest.java74 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in successPostsResponse()
104 verify(mDelivery).postError(any(Request.class), any(VolleyError.class)); in exceptionPostsError()
DRequestQueueIntegrationTest.java188 when(mMockNetwork.performRequest(request)).thenThrow(new VolleyError()); in add_requestFinishedListenerError()