/frameworks/support/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 | 57 public void postResponse(Request<?> request, Response<?> response) { in postResponse() 62 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() 71 Response<?> response = Response.error(error); in postError() 87 private final Response mResponse; 90 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 | 47 private final Response.ErrorListener mErrorListener; 92 public Request(String url, Response.ErrorListener listener) { in Request() 396 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); in parseNetworkResponse()
|
D | NetworkDispatcher.java | 106 Response<?> response = request.parseNetworkResponse(networkResponse); in run()
|
D | CacheDispatcher.java | 116 Response<?> response = request.parseNetworkResponse( in run()
|
/frameworks/support/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; 50 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 54 return Response.success(new JSONObject(jsonString), in parseNetworkResponse() 57 return Response.error(new ParseError(e)); in parseNetworkResponse() 59 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()); 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; 50 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 57 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; 58 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); in parseNetworkResponse()
|
D | ClearCacheRequest.java | 22 import com.android.volley.Response; 63 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipSessionGroup.java | 83 import javax.sip.message.Response; 398 Response response = evt.getResponse(); in extractExternalAddress() 448 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 452 if (dialog == null) return Response.DECLINE; in processInviteWithReplaces() 457 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 464 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; in processInviteWithReplaces() 466 return Response.OK; in processInviteWithReplaces() 480 if (response == Response.OK) { in processNewInviteRequest() 512 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in process() 796 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in processExceptions() [all …]
|
D | SipHelper.java | 68 import javax.sip.message.Response; 357 Response response = mMessageFactory.createResponse(Response.RINGING, in sendRinging() 380 Response response = mMessageFactory.createResponse(Response.OK, in sendInviteOk() 407 Response response = mMessageFactory.createResponse( in sendInviteBusyHere() 408 Response.BUSY_HERE, request); in sendInviteBusyHere() 428 Response response = event.getResponse(); in sendInviteAck() 453 Response response = mMessageFactory.createResponse( in sendResponse() 487 Response response = mMessageFactory.createResponse( in sendInviteRequestTerminated() 488 Response.REQUEST_TERMINATED, inviteRequest); in sendInviteRequestTerminated()
|
/frameworks/support/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 | WaitableQueue.java | 21 import com.android.volley.Response; 64 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
|
/frameworks/base/services/java/com/android/server/ |
D | NativeDaemonConnector.java | 485 private static class Response { class in NativeDaemonConnector.ResponseQueue 489 public Response(int c, String r) {cmdNum = c; request = r;} in Response() method in NativeDaemonConnector.ResponseQueue.Response 492 private final LinkedList<Response> mResponses; 496 mResponses = new LinkedList<Response>(); in ResponseQueue() 501 Response found = null; in add() 503 for (Response r : mResponses) { in add() 517 Response r = mResponses.remove(); in add() 521 found = new Response(cmdNum, null); in add() 536 Response found = null; in remove() 539 for (Response response : mResponses) { in remove() [all …]
|
/frameworks/support/volley/tests/src/com/android/volley/ |
D | ResponseDeliveryTest.java | 32 private Response<byte[]> mSuccessResponse; 44 mSuccessResponse = Response.success(data, cacheEntry); in setUp() 88 Response<byte[]> errorResponse = Response.error(new ServerError()); in testPostError_callsDeliverError()
|
D | RequestQueueTest.java | 94 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in testAdd_dedupeByCacheKey() 285 protected Response<Object> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() 288 return Response.success(new Object(), CacheTestUtils.makeRandomCacheEntry(null)); in parseNetworkResponse()
|
D | RequestTest.java | 68 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
|
/frameworks/support/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/native/include/utils/ |
D | Looper.h | 330 struct Response { struct 363 Vector<Response> mResponses;
|
/frameworks/native/libs/utils/ |
D | Looper.cpp | 161 const Response& response = mResponses.itemAt(mResponseIndex++); in pollOnce() 312 Response& response = mResponses.editItemAt(i); in pollInner() 390 Response response; in pushResponse()
|