/frameworks/volley/src/com/android/volley/ |
D | Response.java | 24 public class Response<T> { class 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { in success() 43 return new Response<T>(result, cacheEntry); in success() 50 public static <T> Response<T> error(VolleyError error) { in error() 51 return new Response<T>(error); in error() 74 private Response(T result, Cache.Entry cacheEntry) { in Response() method in Response 80 private Response(VolleyError error) { in Response() method in Response
|
D | ExecutorDelivery.java | 54 public void postResponse(Request<?> request, Response<?> response) { in postResponse() 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() 68 Response<?> response = Response.error(error); in postError() 79 private final Response mResponse; 82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { in ResponseDeliveryRunnable()
|
D | ResponseDelivery.java | 23 public void postResponse(Request<?> request, Response<?> response); in postResponse() 29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); in postResponse()
|
D | Request.java | 76 private final Response.ErrorListener mErrorListener; 121 public Request(String url, Response.ErrorListener listener) { in Request() 131 public Request(int method, String url, Response.ErrorListener listener) { in Request() 532 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); in parseNetworkResponse()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | JsonArrayRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 46 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 50 return Response.success(new JSONArray(jsonString), in parseNetworkResponse() 53 return Response.error(new ParseError(e)); in parseNetworkResponse() 55 return Response.error(new ParseError(je)); in parseNetworkResponse()
|
D | JsonObjectRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 68 return Response.success(new JSONObject(jsonString), in parseNetworkResponse() 71 return Response.error(new ParseError(e)); in parseNetworkResponse() 73 return Response.error(new ParseError(je)); in parseNetworkResponse()
|
D | ImageRequest.java | 23 import com.android.volley.Response; 44 private final Response.Listener<Bitmap> mListener; 69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest() 70 Config decodeConfig, Response.ErrorListener errorListener) { in ImageRequest() 122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 129 return Response.error(new ParseError(e)); in parseNetworkResponse() 137 private Response<Bitmap> doParse(NetworkResponse response) { in doParse() 178 return Response.error(new ParseError(response)); in doParse() 180 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse()
|
D | StringRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 71 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | JsonRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 69 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); in parseNetworkResponse()
|
D | RequestFuture.java | 20 import com.android.volley.Response; 54 public class RequestFuture<T> implements Future<T>, Response.Listener<T>, 55 Response.ErrorListener {
|
D | ClearCacheRequest.java | 22 import com.android.volley.Response; 63 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionGroup.java | 79 import javax.sip.message.Response; 397 Response response = evt.getResponse(); in extractExternalAddress() 450 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 454 if (dialog == null) return Response.DECLINE; in processInviteWithReplaces() 459 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 466 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 468 return Response.OK; in processInviteWithReplaces() 482 if (response == Response.OK) { in processNewInviteRequest() 515 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in process() 822 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in processExceptions() [all …]
|
D | SipHelper.java | 66 import javax.sip.message.Response; 355 Response response = mMessageFactory.createResponse(Response.RINGING, in sendRinging() 378 Response response = mMessageFactory.createResponse(Response.OK, in sendInviteOk() 405 Response response = mMessageFactory.createResponse( in sendInviteBusyHere() 406 Response.BUSY_HERE, request); in sendInviteBusyHere() 426 Response response = event.getResponse(); in sendInviteAck() 451 Response response = mMessageFactory.createResponse( in sendResponse() 485 Response response = mMessageFactory.createResponse( in sendInviteRequestTerminated() 486 Response.REQUEST_TERMINATED, inviteRequest); in sendInviteRequestTerminated()
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
D | MockResponseDelivery.java | 20 import com.android.volley.Response; 33 public Response<?> responsePosted = null; 35 public void postResponse(Request<?> request, Response<?> response) { in postResponse() 41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse()
|
D | MockRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data)); in parseNetworkResponse()
|
D | TestRequest.java | 21 import com.android.volley.Response; 32 public Base(String url, Response.ErrorListener listener) { in Base() 36 public Base(int method, String url, Response.ErrorListener listener) { in Base() 41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
|
D | WaitableQueue.java | 21 import com.android.volley.Response; 64 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
|
/frameworks/volley/tests/src/com/android/volley/ |
D | ResponseDeliveryTest.java | 32 private Response<byte[]> mSuccessResponse; 44 mSuccessResponse = Response.success(data, cacheEntry); in setUp() 61 Response<byte[]> errorResponse = Response.error(new ServerError()); in testPostError_callsDeliverError()
|
D | RequestTest.java | 68 protected Response<Object> parseNetworkResponse(NetworkResponse response) { 96 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
|
D | RequestQueueTest.java | 94 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in testAdd_dedupeByCacheKey() 188 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 191 return Response.success(new Object(), CacheTestUtils.makeRandomCacheEntry(null)); in parseNetworkResponse()
|
/frameworks/base/docs/html/training/volley/ |
D | request-custom.jd | 53 <p>A {@code Response} encapsulates a parsed response for delivery, for a given type 59 protected Response<T> parseNetworkResponse( 64 return Response.success(gson.fromJson(json, clazz), 77 <li>Your implementation must return a {@code Response<T>}, which contains your typed 84 <pre>return Response.success(myDecodedObject, 144 protected Response<T> parseNetworkResponse(NetworkResponse response) { 149 return Response.success( 153 return Response.error(new ParseError(e)); 155 return Response.error(new ParseError(e));
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 21 import com.android.volley.Response; 53 protected Response<String> parseNetworkResponse(NetworkResponse response) { in testHeadersAndPostParams()
|
D | ImageRequestTest.java | 26 import com.android.volley.Response; 65 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); in verifyResize()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Response.java | 22 public interface Response<IN, OUT> { interface
|
/frameworks/base/docs/html/google/play/billing/ |
D | billing_reference.jd | 10 <li><a href="#billing-codes">Server Response Codes</a></li> 33 <h2 id="billing-codes">Server Response Codes</h2> 40 <th scope="col">Response Code</th> 146 <strong>Table 3.</strong> Response data from an In-app Billing Version 3 purchase request.</p> 213 <strong>Table 5.</strong> Response data from a {@code getPurchases} request.</p>
|