OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NetworkResponse
(Results
1 - 25
of
27
) sorted by null
1
2
/frameworks/volley/src/com/android/volley/
ServerError.java
19
import com.android.volley.
NetworkResponse
;
27
public ServerError(
NetworkResponse
networkResponse
) {
28
super(
networkResponse
);
Network.java
26
* @return A {@link
NetworkResponse
} with data and caching metadata; will never be null
29
public
NetworkResponse
performRequest(Request<?> request) throws VolleyError;
NetworkResponse.java
27
public class
NetworkResponse
{
35
public
NetworkResponse
(int statusCode, byte[] data, Map<String, String> headers,
43
public
NetworkResponse
(byte[] data) {
47
public
NetworkResponse
(byte[] data, Map<String, String> headers) {
NetworkError.java
19
import com.android.volley.
NetworkResponse
;
35
public NetworkError(
NetworkResponse
networkResponse
) {
36
super(
networkResponse
);
ParseError.java
19
import com.android.volley.
NetworkResponse
;
29
public ParseError(
NetworkResponse
networkResponse
) {
30
super(
networkResponse
);
VolleyError.java
24
public final
NetworkResponse
networkResponse
;
27
networkResponse
= null;
30
public VolleyError(
NetworkResponse
response) {
31
networkResponse
= response;
36
networkResponse
= null;
41
networkResponse
= null;
46
networkResponse
= null;
AuthFailureError.java
21
import com.android.volley.
NetworkResponse
;
38
public AuthFailureError(
NetworkResponse
response) {
CacheDispatcher.java
120
new
NetworkResponse
(entry.data, entry.responseHeaders));
NetworkDispatcher.java
105
NetworkResponse
networkResponse
= mNetwork.performRequest(request);
110
if (
networkResponse
.notModified && request.hasHadResponseDelivered()) {
116
Response<?> response = request.parseNetworkResponse(
networkResponse
);
/frameworks/volley/tests/src/com/android/volley/mock/
MockNetwork.java
20
import com.android.volley.
NetworkResponse
;
46
public
NetworkResponse
performRequest(Request<?> request) throws VolleyError {
55
return new
NetworkResponse
(mDataToReturn);
MockRequest.java
19
import com.android.volley.
NetworkResponse
;
96
protected Response<byte[]> parseNetworkResponse(
NetworkResponse
response) {
WaitableQueue.java
19
import com.android.volley.
NetworkResponse
;
64
protected Response<Object> parseNetworkResponse(
NetworkResponse
response) {
TestRequest.java
19
import com.android.volley.
NetworkResponse
;
41
protected Response<byte[]> parseNetworkResponse(
NetworkResponse
response) {
/frameworks/volley/src/com/android/volley/toolbox/
ClearCacheRequest.java
20
import com.android.volley.
NetworkResponse
;
63
protected Response<Object> parseNetworkResponse(
NetworkResponse
response) {
JsonArrayRequest.java
19
import com.android.volley.
NetworkResponse
;
46
protected Response<JSONArray> parseNetworkResponse(
NetworkResponse
response) {
JsonObjectRequest.java
19
import com.android.volley.
NetworkResponse
;
64
protected Response<JSONObject> parseNetworkResponse(
NetworkResponse
response) {
JsonRequest.java
19
import com.android.volley.
NetworkResponse
;
69
abstract protected Response<T> parseNetworkResponse(
NetworkResponse
response);
StringRequest.java
19
import com.android.volley.
NetworkResponse
;
64
protected Response<String> parseNetworkResponse(
NetworkResponse
response) {
BasicNetwork.java
25
import com.android.volley.
NetworkResponse
;
83
public
NetworkResponse
performRequest(Request<?> request) throws VolleyError {
100
return new
NetworkResponse
(HttpStatus.SC_NOT_MODIFIED,
112
return new
NetworkResponse
(statusCode, responseContents, responseHeaders, false);
121
NetworkResponse
networkResponse
= null;
129
networkResponse
= new
NetworkResponse
(statusCode, responseContents,
134
request, new AuthFailureError(
networkResponse
));
137
throw new ServerError(
networkResponse
);
[
all
...]
ImageRequest.java
20
import com.android.volley.
NetworkResponse
;
122
protected Response<Bitmap> parseNetworkResponse(
NetworkResponse
response) {
137
private Response<Bitmap> doParse(
NetworkResponse
response) {
HttpHeaderParser.java
20
import com.android.volley.
NetworkResponse
;
34
* Extracts a {@link Cache.Entry} from a {@link
NetworkResponse
}.
39
public static Cache.Entry parseCacheHeaders(
NetworkResponse
response) {
/frameworks/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.java
25
import com.android.volley.
NetworkResponse
;
39
NetworkResponse
jpeg = new
NetworkResponse
(jpegBytes);
61
private void verifyResize(
NetworkResponse
networkResponse
, int maxWidth, int maxHeight,
65
Response<Bitmap> response = request.parseNetworkResponse(
networkResponse
);
BasicNetworkTest.java
19
import com.android.volley.
NetworkResponse
;
53
protected Response<String> parseNetworkResponse(
NetworkResponse
response) {
/frameworks/volley/tests/src/com/android/volley/
RequestQueueTest.java
94
protected Response<Object> parseNetworkResponse(
NetworkResponse
response) {
154
public
NetworkResponse
performRequest(Request<?> request) {
171
return new
NetworkResponse
(new byte[16]);
188
protected Response<Object> parseNetworkResponse(
NetworkResponse
response) {
RequestTest.java
68
protected Response<Object> parseNetworkResponse(
NetworkResponse
response) {
Completed in 657 milliseconds
1
2