HomeSort by relevance Sort by last modified time
    Searched refs:Response (Results 201 - 225 of 436) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/libbrillo/brillo/http/
http_utils.cc 24 std::unique_ptr<Response> GetAndBlock(const std::string& url,
45 std::unique_ptr<Response> HeadAndBlock(const std::string& url,
64 std::unique_ptr<Response> PostTextAndBlock(const std::string& url,
91 std::unique_ptr<Response> SendRequestAndBlock(
107 return std::unique_ptr<Response>();
112 std::unique_ptr<Response> SendRequestWithNoDataAndBlock(
182 std::unique_ptr<Response> PostBinaryAndBlock(
236 std::unique_ptr<Response> PostFormDataAndBlock(
252 std::unique_ptr<Response> PostFormDataAndBlock(
261 return std::unique_ptr<Response>();
    [all...]
http_proxy.cc 23 bool ParseProxyInfo(dbus::Response* response,
26 if (!response) {
33 dbus::MessageReader reader(response);
39 << " returned an invalid D-Bus response";
92 dbus::Response* response) {
94 bool result = ParseProxyInfo(response, &proxies);
112 std::unique_ptr<dbus::Response> response = proxy->CallMethodAndBlock local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java 65 * the response, the client will issue a conditional {@code GET}. The server will then send either
66 * the updated response if it has changed, or a short 'not modified' response if the client's copy
74 * <h3>Force a Network Response</h3>
85 * If it is only necessary to force a cached response to be validated by the server, use the more
96 * <h3>Force a Cache Response</h3>
108 * Response forceCacheResponse = client.newCall(request).execute();
115 * This technique works even better in situations where a stale response is better than no response.
127 * <p>The {@link CacheControl} class can configure request caching directives and parse response
201 Response response = entry.response(request, snapshot); local
660 public Response response(Request request, DiskLruCache.Snapshot snapshot) { method in class:Entry
    [all...]
  /external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/
HttpLoggingInterceptorTest.java 23 import com.squareup.okhttp.Response;
147 Response response = client.newCall(request().build()).execute(); local
148 response.body().close();
165 Response response = client.newCall(request().build()).execute(); local
166 response.body().close();
198 Response response = client.newCall(request).execute(); local
199 response.body().close()
235 Response response = client.newCall(request).execute(); local
278 Response response = client.newCall(request().post(body).build()).execute(); local
315 Response response = client.newCall(request().build()).execute(); local
349 Response response = client.newCall(request().build()).execute(); local
390 Response response = client.newCall(request().build()).execute(); local
423 Response response = client.newCall(request).execute(); local
465 Response response = client.newCall(request().build()).execute(); local
505 Response response = client.newCall(request().build()).execute(); local
547 Response response = client.newCall(request().build()).execute(); local
    [all...]
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
Cache.java 66 * the response, the client will issue a conditional {@code GET}. The server will then send either
67 * the updated response if it has changed, or a short 'not modified' response if the client's copy
75 * <h3>Force a Network Response</h3>
86 * If it is only necessary to force a cached response to be validated by the server, use the more
97 * <h3>Force a Cache Response</h3>
109 * Response forceCacheResponse = client.newCall(request).execute();
116 * This technique works even better in situations where a stale response is better than no response.
128 * <p>The {@link CacheControl} class can configure request caching directives and parse response
203 Response response = entry.response(request, snapshot); local
662 public Response response(Request request, DiskLruCache.Snapshot snapshot) { method in class:Entry
    [all...]
  /external/volley/src/test/java/com/android/volley/
RequestTest.java 82 protected void deliverResponse(Object response) {}
85 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
131 protected void deliverResponse(Object response) {}
134 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
144 protected void deliverResponse(Object response) {}
147 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
178 protected void deliverResponse(Object response) {}
    [all...]
  /external/nanohttpd/core/src/main/java/fi/iki/elonen/
NanoHTTPD.java 94 import fi.iki.elonen.NanoHTTPD.Response.IStatus;
95 import fi.iki.elonen.NanoHTTPD.Response.Status;
318 * Response's HTTP Headers.
320 * @param response
321 * The Response object to which headers the queued cookies
324 public void unloadQueue(Response response) {
326 response.addHeader("Set-Cookie", cookie.getHTTPHeader());
596 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Syntax error. Usage: GET /example/file.html");
602 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Missing URI. Usage: GET /example/file.html")
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
Cp.c 29 @param[in] Resp The response to the overwrite query (if always).
53 @param[out] Resp pointer to response from question. Pass back on looped calling
68 VOID *Response;
88 Response = *Resp;
100 // if the destination file existed check response and possibly prompt user
103 if (Response == NULL && !SilentMode) {
104 Status = ShellPromptForResponseHii(ShellPromptResponseTypeYesNoAllCancel, STRING_TOKEN (STR_GEN_DEST_EXIST_OVR), gShellLevel2HiiHandle, &Response);
107 // possibly return based on response
110 switch (*(SHELL_PROMPT_RESPONSE*)Response) {
117 *Resp = Response;
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
AuthenticatorAdapter.java 23 import com.squareup.okhttp.Response;
37 @Override public Request authenticate(Proxy proxy, Response response) throws IOException {
38 List<Challenge> challenges = response.challenges();
39 Request request = response.request();
59 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException {
60 List<Challenge> challenges = response.challenges();
61 Request request = response.request();
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
JavaApiConverter.java 23 import com.squareup.okhttp.Response;
64 * Creates an OkHttp {@link Response} using the supplied {@link URI} and {@link URLConnection}
66 * returns {@code null} the response is uncacheable.
68 public static Response createOkResponseForCachePut(URI uri, URLConnection urlConnection)
73 Response.Builder okResponseBuilder = new Response.Builder();
102 // A network response is required for the Cache to find any Vary headers it needs.
103 Response networkResponse = okResponseBuilder.build();
106 // Response headers
110 // Response bod
    [all...]
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
AuthenticatorAdapter.java 24 import com.android.okhttp.Response;
39 @Override public Request authenticate(Proxy proxy, Response response) throws IOException {
40 List<Challenge> challenges = response.challenges();
41 Request request = response.request();
61 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException {
62 List<Challenge> challenges = response.challenges();
63 Request request = response.request();
  /external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
JavaApiConverter.java 24 import com.android.okhttp.Response;
66 * Creates an OkHttp {@link Response} using the supplied {@link URI} and {@link URLConnection}
68 * returns {@code null} the response is uncacheable.
70 public static Response createOkResponseForCachePut(URI uri, URLConnection urlConnection)
75 Response.Builder okResponseBuilder = new Response.Builder();
104 // A network response is required for the Cache to find any Vary headers it needs.
105 Response networkResponse = okResponseBuilder.build();
108 // Response headers
112 // Response bod
    [all...]
  /external/tensorflow/tensorflow/core/distributed_runtime/rpc/
grpc_remote_master.cc 46 CreateSessionResponse* response) override {
47 return CallWithRetry(call_options, request, response,
53 ExtendSessionResponse* response) override {
54 return CallWithRetry(call_options, request, response,
60 PartialRunSetupResponse* response) override {
61 return CallWithRetry(call_options, request, response,
66 MutableRunStepResponseWrapper* response) override {
68 get_proto_from_wrapper(response),
74 CloseSessionResponse* response) override {
75 return CallWithRetry(call_options, request, response,
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioGpuDxe/
Commands.c 120 // request, response.
227 success, elicits a VirtioGpuRespOkNodata response
232 producing a response. If Fence is TRUE, then
268 volatile VIRTIO_GPU_CONTROL_HEADER Response;
295 VirtioAppendDesc (&VgpuDev->Ring, (UINTN)&Response, sizeof Response,
308 // Parse the response.
310 if (ResponseSize != sizeof Response) {
311 DEBUG ((EFI_D_ERROR, "%a: malformed response to Request=0x%x\n",
316 if (Response.Type == VirtioGpuRespOkNodata) {
    [all...]
  /external/syzkaller/vendor/google.golang.org/api/gensupport/
send.go 19 type Hook func(ctx context.Context, req *http.Request) func(resp *http.Response)
35 func SendRequest(ctx context.Context, client *http.Client, req *http.Request) (*http.Response, error) {
45 post := make([]func(resp *http.Response), len(hooks))
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
Http.h 207 /// Response status code returned by the remote host.
242 /// When used to await a response, Response points to storage containing HTTP response
245 EFI_HTTP_RESPONSE_DATA *Response;
249 /// provided by the caller. On response, this count is provided by the HTTP driver.
254 /// caller. On response, this array is allocated and populated by the HTTP driver. It
256 /// response.
264 /// Body associated with the HTTP request or response. This can be NULL depending on
285 /// EFI_HTTP_ERROR: The response message was successfully received but contains a
    [all...]
  /external/autotest/frontend/client/src/autotest/common/
XhrJsonRpcProxy.java 8 import com.google.gwt.http.client.Response;
54 public void onResponseReceived(Request request, Response response) {
57 String responseText = response.getText();
58 int statusCode = response.getStatusCode();
61 response.getStatusText(),
62 response.getHeadersAsString() + "\n\n" + responseText);
  /external/libbrillo/brillo/dbus/
utils.cc 17 std::unique_ptr<dbus::Response> CreateDBusErrorResponse(
25 std::unique_ptr<dbus::Response> GetDBusError(dbus::MethodCall* method_call,
  /external/libchrome/dbus/
object_manager.h 133 class Response;
269 // Called by dbus:: in response to the GetManagedObjects() method call.
270 void OnGetManagedObjects(Response* response);
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttpAsync.java 23 import com.squareup.okhttp.Response;
72 @Override public void onResponse(Response response) throws IOException {
73 ResponseBody body = response.body();
77 long start = (Long) response.request().tag();
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
AndroidShimResponseCache.java 61 Response okResponse = delegate.internalCache.get(okRequest);
69 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection);
110 * supply a response or validate a locally cached response.
117 * Returns the number of HTTP requests whose response was provided by the
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
JavaApiConverterTest.java 24 import com.squareup.okhttp.Response;
119 Response response = JavaApiConverter.createOkResponseForCacheGet(request, cacheResponse); local
120 Request cacheRequest = response.request();
125 assertEquals(Protocol.HTTP_1_1, response.protocol());
126 assertEquals(200, response.code());
127 assertEquals("Fantastic", response.message());
128 Headers okResponseHeaders = response.headers();
130 assertEquals("HelloWorld", response.body().string());
131 assertNull(response.handshake())
199 Response response = JavaApiConverter.createOkResponseForCacheGet(request, cacheResponse); local
    [all...]
  /external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/
AndroidShimResponseCache.java 63 Response okResponse = delegate.internalCache.get(okRequest);
71 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection);
112 * supply a response or validate a locally cached response.
119 * Returns the number of HTTP requests whose response was provided by the
  /external/python/google-api-python-client/tests/
test_protobuf_model.py 83 resp = httplib2.Response({'status': '200'})
87 content = self.model.response(resp, content)
91 resp = httplib2.Response({'status': '204'})
95 content = self.model.response(resp, content)
  /external/volley/src/test/java/com/android/volley/toolbox/
RequestTest.java 25 import com.android.volley.Response;
40 int.class, String.class, Response.ErrorListener.class));

Completed in 1153 milliseconds

1 2 3 4 5 6 7 891011>>