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

1 2 3 4 5 6 7 8 91011>>

  /external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
Response.java 18 final class Response {
21 Response(String data) {
SimpleComponent.java 23 ListenableFuture<Response> response(); method in interface:SimpleComponent
  /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/volley/src/test/java/com/android/volley/toolbox/
JsonRequestTest.java 19 import com.android.volley.Response;
35 Response.Listener.class, Response.ErrorListener.class));
37 Response.Listener.class, Response.ErrorListener.class));
40 Response.Listener.class, Response.ErrorListener.class));
42 Response.Listener.class, Response.ErrorListener.class));
45 Response.Listener.class, Response.ErrorListener.class))
    [all...]
StringRequestTest.java 19 import com.android.volley.Response;
32 assertNotNull(StringRequest.class.getConstructor(String.class, Response.Listener.class,
33 Response.ErrorListener.class));
35 Response.Listener.class, Response.ErrorListener.class));
ResponseTest.java 21 import com.android.volley.Response;
37 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class));
38 assertNotNull(Response.class.getMethod("error", VolleyError.class));
39 assertNotNull(Response.class.getMethod("isSuccess"));
41 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class));
43 assertNotNull(Response.ErrorListener.class.getDeclaredMethod("onErrorResponse",
  /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() {
  /external/v8/src/inspector/
v8-heap-profiler-agent-impl.h 19 using protocol::Response;
28 Response collectGarbage() override;
30 Response enable() override;
31 Response startTrackingHeapObjects(Maybe<bool> trackAllocations) override;
32 Response stopTrackingHeapObjects(Maybe<bool> reportProgress) override;
34 Response disable() override;
36 Response takeHeapSnapshot(Maybe<bool> reportProgress) override;
38 Response getObjectByHeapObjectId(
41 Response addInspectedHeapObject(
43 Response getHeapObjectId(const String16& objectId
    [all...]
v8-console-agent-impl.h 17 using protocol::Response;
25 Response enable() override;
26 Response disable() override;
27 Response clearMessages() override;
v8-console-agent-impl.cc 29 Response V8ConsoleAgentImpl::enable() {
30 if (m_enabled) return Response::OK();
35 return Response::OK();
38 Response V8ConsoleAgentImpl::disable() {
39 if (!m_enabled) return Response::OK();
43 return Response::OK();
46 Response V8ConsoleAgentImpl::clearMessages() { return Response::OK(); }
remote-object-id.h 12 using protocol::Response;
30 static Response parse(const String16&, std::unique_ptr<RemoteObjectId>*);
42 static Response parse(const String16&, std::unique_ptr<RemoteCallFrameId>*);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
InternalCache.java 19 import com.squareup.okhttp.Response;
29 Response get(Request request) throws IOException;
31 CacheRequest put(Response response) throws IOException;
40 * Handles a conditional request hit by updating the stored cache response
41 * with the headers from {@code network}. The cached response body is not
42 * updated. If the stored response has changed since {@code cached} was
45 void update(Response cached, Response network) throws IOException;
50 /** Track an HTTP response being satisfied with {@code cacheStrategy}. *
    [all...]
  /external/volley/src/main/java/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);
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
WebSocketListener.java 18 import com.squareup.okhttp.Response;
34 void onOpen(WebSocket webSocket, Response response);
39 * @param response Present when the failure is a direct result of the response (e.g., failed
40 * upgrade, non-101 response code, etc.). {@code null} otherwise.
42 void onFailure(IOException e, Response response);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Authenticator.java 27 * challenge in {@code response}. Returns null if the challenge cannot be
28 * satisfied. This method is called in response to an HTTP 401 unauthorized
36 * return response.request().newBuilder()
41 Request authenticate(Proxy proxy, Response response) throws IOException;
45 * challenge made by {@code response}. Returns null if the challenge cannot be
46 * satisfied. This method is called in response to an HTTP 407 unauthorized
54 * return response.request().newBuilder()
59 Request authenticateProxy(Proxy proxy, Response response) throws IOException
    [all...]
Interceptor.java 23 * on the request or response.
26 Response intercept(Chain chain) throws IOException;
30 Response proceed(Request request) throws IOException;
Callback.java 30 * Called when the HTTP response was successfully returned by the remote
31 * server. The callback may proceed to read the response body with {@link
32 * Response#body}. The response is still live until its response body is
33 * closed with {@code response.body().close()}. The recipient of the callback
34 * may even consume the response body on another thread.
36 * <p>Note that transport-layer success (receiving a HTTP response code,
38 * success: {@code response} may still indicate an unhappy HTTP response
    [all...]
  /external/volley/src/main/java/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
51 * @param listener Listener to receive the JSON response
61 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) {
63 String jsonString = new String(response.data,
64 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET))
    [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
42 * @param listener Listener to receive the JSON response
64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) {
66 String jsonString = new String(response.data,
67 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET));
68 return Response.success(new JSONObject(jsonString)
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpStream.java 20 import com.squareup.okhttp.Response;
48 /** Read and return response headers. */
49 Response.Builder readResponseHeaders() throws IOException;
51 /** Returns a stream that reads the response body. */
52 ResponseBody openResponseBody(Response response) throws IOException;
  /external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DummyPlugin.java 42 import fi.iki.elonen.NanoHTTPD.Response;
43 import fi.iki.elonen.NanoHTTPD.Response.Status;
57 public Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType) {
60 return new Response(Status.OK, "text/xml", data, bytes.length);
  /external/volley/src/test/java/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;
  /frameworks/base/telecomm/java/android/telecom/
Response.java 22 public interface Response<IN, OUT> {

Completed in 229 milliseconds

1 2 3 4 5 6 7 8 91011>>