Home
last modified time | relevance | path

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

12

/frameworks/volley/src/com/android/volley/
DNetworkResponse.java27 public class NetworkResponse { class
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse() method in NetworkResponse
43 public NetworkResponse(byte[] data) { in NetworkResponse() method in NetworkResponse
47 public NetworkResponse(byte[] data, Map<String, String> headers) { in NetworkResponse() method in NetworkResponse
DServerError.java19 import com.android.volley.NetworkResponse;
27 public ServerError(NetworkResponse networkResponse) { in ServerError()
DNetworkError.java19 import com.android.volley.NetworkResponse;
35 public NetworkError(NetworkResponse networkResponse) { in NetworkError()
DParseError.java19 import com.android.volley.NetworkResponse;
29 public ParseError(NetworkResponse networkResponse) { in ParseError()
DVolleyError.java24 public final NetworkResponse networkResponse;
30 public VolleyError(NetworkResponse response) { in VolleyError()
DAuthFailureError.java21 import com.android.volley.NetworkResponse;
38 public AuthFailureError(NetworkResponse response) { in AuthFailureError()
DNetwork.java29 public NetworkResponse performRequest(Request<?> request) throws VolleyError; in performRequest()
DCacheDispatcher.java120 new NetworkResponse(entry.data, entry.responseHeaders)); in run()
/frameworks/volley/tests/src/com/android/volley/mock/
DMockNetwork.java20 import com.android.volley.NetworkResponse;
46 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest()
55 return new NetworkResponse(mDataToReturn); in performRequest()
DWaitableQueue.java19 import com.android.volley.NetworkResponse;
64 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DMockRequest.java19 import com.android.volley.NetworkResponse;
96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DTestRequest.java19 import com.android.volley.NetworkResponse;
41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
/frameworks/volley/tests/src/com/android/volley/toolbox/
DImageRequestTest.java25 import com.android.volley.NetworkResponse;
39 NetworkResponse jpeg = new NetworkResponse(jpegBytes); in testParseNetworkResponse_resizing()
61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, in verifyResize()
DBasicNetworkTest.java19 import com.android.volley.NetworkResponse;
53 protected Response<String> parseNetworkResponse(NetworkResponse response) { in testHeadersAndPostParams()
DHttpHeaderParserTest.java22 import com.android.volley.NetworkResponse;
38 private NetworkResponse response;
45 response = new NetworkResponse(0, null, headers, false); in setUp()
/frameworks/volley/src/com/android/volley/toolbox/
DBasicNetwork.java25 import com.android.volley.NetworkResponse;
83 public NetworkResponse performRequest(Request<?> request) throws VolleyError { in performRequest()
100 return new NetworkResponse(HttpStatus.SC_NOT_MODIFIED, in performRequest()
112 return new NetworkResponse(statusCode, responseContents, responseHeaders, false); in performRequest()
121 NetworkResponse networkResponse = null; in performRequest()
129 networkResponse = new NetworkResponse(statusCode, responseContents, in performRequest()
DClearCacheRequest.java20 import com.android.volley.NetworkResponse;
63 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DJsonArrayRequest.java19 import com.android.volley.NetworkResponse;
46 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DStringRequest.java19 import com.android.volley.NetworkResponse;
64 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DJsonObjectRequest.java19 import com.android.volley.NetworkResponse;
64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DJsonRequest.java19 import com.android.volley.NetworkResponse;
69 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); in parseNetworkResponse()
DImageRequest.java20 import com.android.volley.NetworkResponse;
122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
137 private Response<Bitmap> doParse(NetworkResponse response) { in doParse()
DHttpHeaderParser.java20 import com.android.volley.NetworkResponse;
39 public static Cache.Entry parseCacheHeaders(NetworkResponse response) { in parseCacheHeaders()
/frameworks/volley/tests/src/com/android/volley/
DRequestQueueTest.java94 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in testAdd_dedupeByCacheKey()
154 public NetworkResponse performRequest(Request<?> request) { in performRequest()
171 return new NetworkResponse(new byte[16]); in performRequest()
188 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
DRequestTest.java68 protected Response<Object> parseNetworkResponse(NetworkResponse response) {

12