HomeSort by relevance Sort by last modified time
    Searched refs:Response (Results 26 - 50 of 196) sorted by null

12 3 4 5 6 7 8

  /external/nist-sip/java/javax/sip/
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/volley/src/com/android/volley/toolbox/
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
64 protected void deliverResponse(T response) {
65 mListener.onResponse(response);
69 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/volley/tests/src/com/android/volley/
ResponseDeliveryTest.java 32 private Response<byte[]> mSuccessResponse;
44 mSuccessResponse = Response.success(data, cacheEntry);
61 Response<byte[]> errorResponse = Response.error(new ServerError());
  /frameworks/volley/tests/src/com/android/volley/mock/
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));
TestRequest.java 21 import com.android.volley.Response;
32 public Base(String url, Response.ErrorListener listener) {
36 public Base(int method, String url, Response.ErrorListener listener) {
41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) {
46 protected void deliverResponse(byte[] response) {
  /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;
  /external/okhttp/src/main/java/com/squareup/okhttp/
Response.java 29 * An HTTP response. Instances of this class are not immutable: the response
36 public final class Response {
41 private final Response redirectedBy;
43 private Response(Builder builder) {
52 * The wire-level request that initiated this HTTP response. This is usually
57 * response compression.
58 * <li>It may be the request generated in response to an HTTP redirect.
105 * Returns the response for the HTTP redirect that triggered this response, o
    [all...]
  /external/chromium_org/chromeos/dbus/
shill_service_client_unittest.cc 88 // Create response.
89 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
90 dbus::MessageWriter writer(response.get());
106 response.get());
116 // Create response.
117 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty())
    [all...]
shill_device_client_unittest.cc 115 // Create response.
116 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
117 dbus::MessageWriter writer(response.get());
133 response.get());
142 // Create response.
143 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty())
    [all...]
shill_ipconfig_client_unittest.cc 87 // Create response.
88 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
89 dbus::MessageWriter writer(response.get());
115 response.get());
126 // Create response.
127 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty())
    [all...]
blocking_method_caller.h 31 scoped_ptr<dbus::Response> CallMethodAndBlock(dbus::MethodCall* method_call);
blocking_method_caller.cc 21 scoped_ptr<dbus::Response>* response,
25 *response = proxy->CallMethodAndBlock(
42 scoped_ptr<dbus::Response> BlockingMethodCaller::CallMethodAndBlock(
52 scoped_ptr<dbus::Response> response; local
56 &response,
63 return response.Pass();
  /external/chromium_org/chrome/browser/devtools/
devtools_protocol.cc 57 DevToolsProtocol::Response::~Response() {
60 DevToolsProtocol::Response::Response(int id, int error_code)
84 DevToolsProtocol::Response* DevToolsProtocol::ParseResponse(
101 return new Response(id, error_code);
  /external/chromium_org/dbus/
end_to_end_sync_unittest.cc 65 scoped_ptr<Response> response(
67 ASSERT_TRUE(response.get());
69 // Check the response. kHello should be echoed back.
70 MessageReader reader(response.get());
86 scoped_ptr<Response> response(
89 ASSERT_FALSE(response.get());
96 scoped_ptr<Response> response(
    [all...]
message_unittest.cc 20 scoped_ptr<Response> message(Response::CreateEmpty());
43 scoped_ptr<Response> message(Response::CreateEmpty());
107 scoped_ptr<Response> message(Response::CreateEmpty());
144 scoped_ptr<Response> message(Response::CreateEmpty());
202 scoped_ptr<Response> message(Response::CreateEmpty())
    [all...]
exported_object.h 26 class Response;
41 // Called to send a response from an exported method. |response| is the
42 // response message. Callers should pass NULL in the event of an error that
43 // prevents the sending of a response.
44 typedef base::Callback<void (scoped_ptr<Response> response)> ResponseSender;
47 // message. |sender| is the callback that's used to send a response.
135 // Callback invoked by service provider to send a response to a method call.
140 scoped_ptr<Response> response)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
handler.py 8 from servlet import Servlet, Request, Response
29 return Response.NotFound('"%s" servlet not found' % servlet_path)
test_servlet.py 9 from servlet import Request, Response, Servlet
49 return Response.NotFound('Test %s not found. Available tests are: %s' % (
71 return Response.InternalError(content=content)
73 return Response.Ok(content="%s test passed." % self._request.path)
render_servlet.py 12 from servlet import Servlet, Response
55 return Response.Redirect('/' + redirect,
68 response = self._GetSuccessResponse(path_404, server_instance)
69 return Response.NotFound(response.content.ToString(),
70 headers=response.headers)
73 return Response.NotFound('Not Found', headers=_MakeHeaders('text/plain'))
76 '''Returns the Response from trying to render |path| with
89 return Response.Redirect(redirect, permanent=False)
113 return Response.Ok(content, headers=_MakeHeaders(content_type)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/dbus/
liveness_service_provider.h 19 class Response;
35 // (An empty response should be returned.)
53 // Called on UI thread in response to a D-Bus request.
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordedResponse.java 20 import com.squareup.okhttp.Response;
29 * A received response or failure recorded by the response recorder.
33 public final Response response; field in class:RecordedResponse
37 RecordedResponse(Request request, Response response, String body, Failure failure) {
39 this.response = response;
45 assertEquals(expectedCode, response.code())
    [all...]
RecordingReceiver.java 20 import com.squareup.okhttp.Response;
29 public class RecordingReceiver implements Response.Receiver {
39 @Override public synchronized void onResponse(Response response) throws IOException {
41 response.request(), response, response.body().string(), null));
46 * Returns the recorded response triggered by {@code request}. Throws if the
47 * response isn't enqueued before the timeout.
63 throw new AssertionError("Timed out waiting for response to " + request)
    [all...]

Completed in 154 milliseconds

12 3 4 5 6 7 8