/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 39 import com.android.volley.VolleyError; 169 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout() 172 } catch (VolleyError e) { in socketTimeout() 186 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault() 189 } catch (VolleyError e) { in noConnectionDefault() 193 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault() 204 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry() 207 } catch (VolleyError e) { in noConnectionRetry() 223 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry() 226 } catch (VolleyError e) { in noConnectionNoRetry() [all …]
|
D | BasicAsyncNetworkTest.java | 41 import com.android.volley.VolleyError; 207 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout() 209 verify(mockCallback, times(1)).onError(any(VolleyError.class)); in socketTimeout() 224 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault() 226 verify(mockCallback, times(1)).onError(any(VolleyError.class)); in noConnectionDefault() 229 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault() 242 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry() 244 verify(mockCallback, times(1)).onError(any(VolleyError.class)); in noConnectionRetry() 260 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry() 262 verify(mockCallback, times(1)).onError(any(VolleyError.class)); in noConnectionNoRetry() [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 | AsyncNetwork.java | 39 void onError(VolleyError volleyError); in onError() 58 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest() 61 final AtomicReference<VolleyError> error = new AtomicReference<>(); in performRequest() 72 public void onError(VolleyError volleyError) { in performRequest() 82 throw new VolleyError(e); in performRequest() 90 throw new VolleyError("Neither response entry was set"); in performRequest()
|
D | Response.java | 40 void onErrorResponse(VolleyError error); in onErrorResponse() 52 public static <T> Response<T> error(VolleyError error) { in error() 63 @Nullable public final VolleyError error; 79 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 | 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 | AsyncRequestQueue.java | 304 VolleyError volleyError; 306 ParseErrorTask(Request<T> request, VolleyError volleyError) { in ParseErrorTask() 313 VolleyError parsedError = mRequest.parseNetworkError(volleyError); in run() 362 public void onError(final VolleyError volleyError) { in run()
|
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 | Request.java | 623 protected VolleyError parseNetworkError(VolleyError volleyError) { in parseNetworkError() 642 public void deliverError(VolleyError error) { in deliverError()
|
D | AuthFailureError.java | 23 public class AuthFailureError extends VolleyError {
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | NetworkUtility.java | 32 import com.android.volley.VolleyError; 121 final String logPrefix, final Request<?> request, final VolleyError exception) in attemptRetryOnException() 122 throws VolleyError { in attemptRetryOnException() 127 } catch (VolleyError e) { in attemptRetryOnException() 145 throws VolleyError { in handleException()
|
D | ImageLoader.java | 29 import com.android.volley.VolleyError; 104 public void onErrorResponse(VolleyError error) { in getImageListener() 285 public void onErrorResponse(VolleyError error) { 328 protected void onGetImageError(String cacheKey, VolleyError error) { 429 private VolleyError mError; 446 public void setError(VolleyError error) { 451 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 | 24 import com.android.volley.VolleyError; 93 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest()
|
D | NetworkImageView.java | 25 import com.android.volley.VolleyError; 249 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()
|