HomeSort by relevance Sort by last modified time
    Searched refs:Response (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/nist-sip/java/gov/nist/javax/sip/message/
ResponseExt.java 3 import javax.sip.message.Response;
6 *Extension for the jain-sip Response interface. This is a convenience
9 public interface ResponseExt extends Response, MessageExt {
  /external/nist-sip/java/javax/sip/
ServerTransaction.java 3 import javax.sip.message.Response;
6 void sendResponse(Response response)
ResponseEvent.java 4 import javax.sip.message.Response;
8 private Response mResponse;
12 Dialog dialog, Response response) {
15 mResponse = response;
23 public Response getResponse() {
Dialog.java 9 import javax.sip.message.Response;
65 Request createPrack(Response relResponse)
67 Response createReliableProvisionalResponse(int statusCode)
74 void sendReliableProvisionalResponse(Response relResponse)
SipProvider.java 6 import javax.sip.message.Response;
49 void sendResponse(Response response) throws SipException;
  /frameworks/support/volley/src/com/android/volley/
Response.java 20 * Encapsulates a parsed response for delivery.
22 * @param <T> Parsed type of this response
24 public class Response<T> {
28 /** Called when a response is received. */
29 public void onResponse(T response);
41 /** Returns a successful response containing the parsed result. */
42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) {
43 return new Response<T>(result, cacheEntry);
47 * Returns a failed response containing the given error code and an optional
50 public static <T> Response<T> error(VolleyError error)
    [all...]
ResponseDelivery.java 21 * Parses a response from the network or cache and delivers it.
23 public void postResponse(Request<?> request, Response<?> response);
26 * Parses a response from the network or cache and delivers it. The provided
29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable);
ExecutorDelivery.java 34 * Creates a new response delivery interface.
48 * Creates a new response delivery interface, mockable version
57 public void postResponse(Request<?> request, Response<?> response) {
58 postResponse(request, response, null);
62 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) {
64 request.addMarker("post-response");
65 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable));
71 Response<?> response = Response.error(error) local
    [all...]
  /frameworks/support/volley/src/com/android/volley/toolbox/
JsonArrayRequest.java 21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
31 * A request for retrieving a {@link JSONArray} response body at a given URL.
38 * @param listener Listener to receive the JSON response
46 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) {
49 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
50 return Response.success(new JSONArray(jsonString)
    [all...]
JsonObjectRequest.java 21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an
41 * @param listener Listener to receive the JSON response
50 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) {
53 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
54 return Response.success(new JSONObject(jsonString)
    [all...]
StringRequest.java 21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
28 * A canned request for retrieving the response body at a given URL as a String.
36 * @param listener Listener to receive the String response
45 protected void deliverResponse(String response) {
46 mListener.onResponse(response);
50 protected Response<String> parseNetworkResponse(NetworkResponse response) {
53 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers))
    [all...]
JsonRequest.java 21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
29 * A request for retrieving a T type response body at a given URL that also
32 * @param <T> JSON type of response expected
53 protected void deliverResponse(T response) {
54 mListener.onResponse(response);
58 abstract protected Response<T> parseNetworkResponse(NetworkResponse response);
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,
70 Config decodeConfig, Response.ErrorListener errorListener) {
122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) {
126 return doParse(response);
128 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl());
129 return Response.error(new ParseError(e));
137 private Response<Bitmap> doParse(NetworkResponse response)
    [all...]
ClearCacheRequest.java 22 import com.android.volley.Response;
63 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
68 protected void deliverResponse(Object response) {
  /frameworks/support/volley/tests/src/com/android/volley/mock/
MockResponseDelivery.java 20 import com.android.volley.Response;
33 public Response<?> responsePosted = null;
35 public void postResponse(Request<?> request, Response<?> response) {
37 responsePosted = response;
41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) {
43 responsePosted = response;
MockRequest.java 21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
64 protected void deliverResponse(byte[] response) {
96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) {
98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data));
WaitableQueue.java 21 import com.android.volley.Response;
64 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
69 protected void deliverResponse(Object response) {
  /external/nist-sip/java/gov/nist/javax/sip/
ResponseEventExt.java 6 import javax.sip.message.Response;
16 Dialog dialog, Response response) {
17 super(source,clientTransaction,dialog,response);
22 * Return true if this is a forked response.
24 * @return true if the response event is for a forked response.
31 * Set the original transaction for a forked response.
33 * @param originalTransaction - the original transaction for which this response event is a fork.
40 * Get the original transaction for which this is a forked response
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
AuthenticationHelper.java 12 import javax.sip.message.Response;
30 * the specified Response (Challenge) and appends it to the challenged
36 * the 401/407 challenge response
55 public abstract ClientTransaction handleChallenge(Response challenge,
  /external/nist-sip/java/javax/sip/message/
MessageFactory.java 32 Response createResponse(int statusCode, CallIdHeader callId,
37 Response createResponse(int statusCode, CallIdHeader callId,
42 Response createResponse(int statusCode, CallIdHeader callId,
46 Response createResponse(int statusCode, Request request,
50 Response createResponse(int statusCode, Request request,
54 Response createResponse(int statusCode, Request request)
57 Response createResponse(String response) throws ParseException;
Response.java 5 public interface Response extends Message {
  /frameworks/support/volley/tests/src/com/android/volley/
ResponseDeliveryTest.java 32 private Response<byte[]> mSuccessResponse;
44 mSuccessResponse = Response.success(data, cacheEntry);
88 Response<byte[]> errorResponse = Response.error(new ServerError());
  /frameworks/base/voip/java/com/android/server/sip/
SipSessionGroup.java 83 import javax.sip.message.Response;
129 // external address observed from any response
398 Response response = evt.getResponse(); local
399 ViaHeader viaHeader = (ViaHeader)(response.getHeader(
448 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST;
452 if (dialog == null) return Response.DECLINE;
457 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST;
464 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST;
466 return Response.OK
475 int response = processInviteWithReplaces(event, replaces); local
925 Response response = event.getResponse(); local
951 Response response = event.getResponse(); local
    [all...]
  /frameworks/base/services/java/com/android/server/
NativeDaemonConnector.java 226 * response.
229 * native daemon, or if the response matches
239 * response.
242 * native daemon, or if the response matches
251 "Expected exactly one response, but received " + events.length);
259 * final terminal response.
262 * native daemon, or if the response matches
273 * final terminal response.
276 * native daemon, or if the response matches
288 * final terminal response. Note that the timeout does not count time i
    [all...]
  /frameworks/support/volley/tests/src/com/android/volley/toolbox/
BasicNetworkTest.java 21 import com.android.volley.Response;
53 protected Response<String> parseNetworkResponse(NetworkResponse response) {
58 protected void deliverResponse(String response) {

Completed in 861 milliseconds

1 2 3