/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 38 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 …]
|
D | ResponseTest.java | 24 import com.android.volley.VolleyError; 37 assertNotNull(Response.class.getMethod("error", VolleyError.class)); in publicMethods() 44 "onErrorResponse", VolleyError.class)); in publicMethods()
|
D | RequestTest.java | 27 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/ |
D | VolleyError.java | 21 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
|
D | Response.java | 38 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()
|
D | NetworkDispatcher.java | 158 } catch (VolleyError volleyError) { in processRequest() 164 VolleyError volleyError = new VolleyError(e); in processRequest() 173 private void parseAndDeliverNetworkError(Request<?> request, VolleyError error) { in parseAndDeliverNetworkError()
|
D | RetryPolicy.java | 55 void retry(VolleyError error) throws VolleyError; in retry()
|
D | DefaultRetryPolicy.java | 83 public void retry(VolleyError error) throws VolleyError { in retry()
|
D | Request.java | 598 protected VolleyError parseNetworkError(VolleyError volleyError) { in parseNetworkError() 617 public void deliverError(VolleyError error) { in deliverError()
|
D | TimeoutError.java | 21 public class TimeoutError extends VolleyError {}
|
D | Network.java | 28 NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest()
|
D | ServerError.java | 21 public class ServerError extends VolleyError {
|
D | NetworkError.java | 21 public class NetworkError extends VolleyError {
|
D | ParseError.java | 21 public class ParseError extends VolleyError {
|
D | ResponseDelivery.java | 30 void postError(Request<?> request, VolleyError error); in postError()
|
D | AuthFailureError.java | 23 public class AuthFailureError extends VolleyError {
|
D | ExecutorDelivery.java | 65 public void postError(Request<?> request, VolleyError error) { in postError()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageLoader.java | 28 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() {
|
D | RequestFuture.java | 22 import com.android.volley.VolleyError; 59 private VolleyError mException; 155 public synchronized void onErrorResponse(VolleyError error) { in onErrorResponse()
|
D | BasicNetwork.java | 33 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()
|
D | NetworkImageView.java | 24 import com.android.volley.VolleyError; 202 public void onErrorResponse(VolleyError error) { in loadImageIfNecessary()
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | MockRequest.java | 23 import com.android.volley.VolleyError; 70 public void deliverError(VolleyError error) { in deliverError()
|
/external/volley/src/test/java/com/android/volley/ |
D | CacheDispatcherTest.java | 82 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()
|
D | NetworkDispatcherTest.java | 74 verify(mDelivery, never()).postError(any(Request.class), any(VolleyError.class)); in successPostsResponse() 104 verify(mDelivery).postError(any(Request.class), any(VolleyError.class)); in exceptionPostsError()
|
D | RequestQueueIntegrationTest.java | 188 when(mMockNetwork.performRequest(request)).thenThrow(new VolleyError()); in add_requestFinishedListenerError()
|