HomeSort by relevance Sort by last modified time
    Searched refs:response (Results 76 - 100 of 2178) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
TestNanolets.java 111 CloseableHttpResponse response = httpclient.execute(httpget); local
112 HttpEntity entity = response.getEntity();
116 response.close();
119 response = httpclient.execute(httppost);
120 entity = response.getEntity();
124 response.close();
127 response = httpclient.execute(httpgput);
128 entity = response.getEntity();
132 response.close();
135 response = httpclient.execute(httpdelete)
148 CloseableHttpResponse response = httpclient.execute(httpget); local
160 CloseableHttpResponse response = httpclient.execute(httpget); local
172 CloseableHttpResponse response = httpclient.execute(httpget); local
184 CloseableHttpResponse response = httpclient.execute(httpget); local
196 CloseableHttpResponse response = httpclient.execute(httpget); local
241 CloseableHttpResponse response = httpclient.execute(httpget); local
253 CloseableHttpResponse response = httpclient.execute(httpget); local
265 CloseableHttpResponse response = httpclient.execute(httpget); local
284 CloseableHttpResponse response = httpclient.execute(httphead); local
326 CloseableHttpResponse response = httpclient.execute(httphead); local
    [all...]
  /external/apache-http/src/org/apache/http/
HttpServerConnection.java 77 * Sends the response line and headers of a response over this connection.
78 * @param response the response whose headers to send.
82 void sendResponseHeader(HttpResponse response)
86 * Sends the response entity of a response over this connection.
87 * @param response the response whose entity to send.
91 void sendResponseEntity(HttpResponse response)
    [all...]
  /external/apache-http/src/org/apache/http/impl/
NoConnectionReuseStrategy.java 59 public boolean keepAlive(final HttpResponse response, final HttpContext context) {
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
  /external/autotest/frontend/tko/
resources_test_fixme.py 30 response = self.request('get', 'test_results')
31 self.check_collection(response, 'test_name',
36 response = self.request('get', 'test_results?afe_job_id=1')
37 self.check_collection(response, 'test_name', ['mytest1', 'mytest2'])
41 response = self.request('get', 'test_results/1')
42 self.assertEquals(response['test_name'], 'mytest1')
43 self.assertEquals(response['status'], 'GOOD')
44 self.assertEquals(response['reason'], '')
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/samples/
call_compute_service.py 17 response = request.execute() variable
19 print 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...]
  /external/wpa_supplicant_8/src/eap_common/
chap.c 16 size_t challenge_len, u8 *response)
27 return md5_vector(3, addr, len, response);
  /frameworks/volley/src/main/java/com/android/volley/
ExecutorDelivery.java 31 * Creates a new response delivery interface.
45 * Creates a new response delivery interface, mockable version
54 public void postResponse(Request<?> request, Response<?> response) {
55 postResponse(request, response, null);
59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) {
61 request.addMarker("post-response");
62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable));
68 Response<?> response = Response.error(error) local
    [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);
  /system/webservd/libwebserv/
request_handler_callback.cc 24 std::unique_ptr<Response> response) {
25 callback_.Run(std::move(request), std::move(response));
request_handler_interface.h 21 #include <libwebserv/response.h>
28 // send response.
32 void(std::unique_ptr<Request>, std::unique_ptr<Response>);
36 std::unique_ptr<Response> response) = 0;
  /external/selinux/libselinux/src/
query_user_context.c 16 char response[10]; /* string to hold the user's response */ local
25 if (fgets(response, sizeof(response), stdin) == NULL)
28 choice = strtol(response, NULL, 10);
40 char response[10]; /* The user's response */ local
51 if (fgets(response, sizeof(response), stdin) == NULL)
55 if ((response[0] == 'y') || (response[0] == 'Y'))
108 char response[10]; \/* Used to get yes or no answers from user *\/ local
    [all...]
  /system/bt/device/src/
controller.c 84 BT_HDR *response; local
87 response = AWAIT_COMMAND(packet_factory->make_reset());
88 packet_parser->parse_generic_command_complete(response);
91 response = AWAIT_COMMAND(packet_factory->make_read_buffer_size());
93 response, &acl_data_size_classic, &acl_buffer_count_classic);
97 response = AWAIT_COMMAND(
106 packet_parser->parse_generic_command_complete(response);
110 response = AWAIT_COMMAND(packet_factory->make_read_local_version_info());
111 packet_parser->parse_read_local_version_info_response(response, &bt_version);
114 response = AWAIT_COMMAND(packet_factory->make_read_bd_addr())
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
ResponseDate.java 42 * A response interceptor that adds a Date header.
64 public void process(final HttpResponse response, final HttpContext context)
66 if (response == null) {
68 ("HTTP response may not be null.");
70 int status = response.getStatusLine().getStatusCode();
72 !response.containsHeader(HTTP.DATE_HEADER)) {
74 response.setHeader(HTTP.DATE_HEADER, httpdate);
ResponseServer.java 42 * A response interceptor that adds a Server header.
62 public void process(final HttpResponse response, final HttpContext context)
64 if (response == null) {
67 if (!response.containsHeader(HTTP.SERVER_HEADER)) {
68 String s = (String) response.getParams().getParameter(
71 response.addHeader(HTTP.SERVER_HEADER, s);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
exceptions.py 27 def __init__(self, expected_responses, response):
28 self.status = response.status
29 self.body = response.read()
35 msg += '(%d, code=%s, message=%s)' % (response.status,
40 response.status,
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
SynchronousGet.java 21 import com.squareup.okhttp.Response;
32 Response response = client.newCall(request).execute(); local
33 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
35 Headers responseHeaders = response.headers();
40 System.out.println(response.body().string());
  /frameworks/base/core/java/android/accounts/
AbstractAccountAuthenticator.java 105 * and return the result via that response when the activity finishes (or whenever else the
157 public void addAccount(IAccountAuthenticatorResponse response, String accountType,
168 new AccountAuthenticatorResponse(response),
177 response.onResult(result);
180 handleException(response, "addAccount", accountType, e);
185 public void confirmCredentials(IAccountAuthenticatorResponse response,
193 new AccountAuthenticatorResponse(response), account, options);
202 response.onResult(result);
205 handleException(response, "confirmCredentials", account.toString(), e);
210 public void getAuthTokenLabel(IAccountAuthenticatorResponse response,
    [all...]
  /external/libmicrohttpd/src/examples/
fileserver_example_dirs.c 88 struct MHD_Response *response; local
120 response = MHD_create_response_from_buffer (strlen (emsg),
123 if (response == NULL)
125 ret = MHD_queue_response (connection, MHD_HTTP_SERVICE_UNAVAILABLE, response);
126 MHD_destroy_response (response);
130 response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN,
135 if (response == NULL)
140 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
141 MHD_destroy_response (response);
146 response = MHD_create_response_from_callback (buf.st_size, 32 * 1024, /* 32k page size *
    [all...]
  /system/core/gatekeeperd/tests/
gatekeeper_test.cpp 35 static void do_enroll(SoftGateKeeper &gatekeeper, EnrollResponse *response) {
43 gatekeeper.Enroll(request, response);
48 EnrollResponse response; local
49 do_enroll(gatekeeper, &response);
50 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error);
56 EnrollResponse response; local
60 gatekeeper.Enroll(request, &response);
62 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_INVALID, response.error);
78 VerifyResponse response; local
80 gatekeeper.Verify(request, &response);
116 VerifyResponse response; local
164 VerifyResponse response; local
198 VerifyResponse response; local
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
bucket.py 162 with the stored object in the response. See
197 response = self.connection.make_request('HEAD', self.name, key_name,
200 response.read()
203 if response.status / 100 == 2:
206 k.metadata = boto.utils.get_aws_metadata(response.msg, provider)
209 response.getheader(field)
214 clen = response.getheader('content-length')
216 k.size = int(response.getheader('content-length'))
220 k.handle_version_headers(response)
221 k.handle_encryption_headers(response)
    [all...]
  /external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
TestCorsHttpServer.java 99 CloseableHttpResponse response = httpclient.execute(httpOption); local
100 Assert.assertEquals(200, response.getStatusLine().getStatusCode());
101 Assert.assertNotNull("Cors should have added a header: Access-Control-Allow-Origin", response.getLastHeader("Access-Control-Allow-Origin"));
102 Assert.assertEquals("Cors should have added a header: Access-Control-Allow-Origin: *", "*", response.getLastHeader("Access-Control-Allow-Origin").getValue());
103 response.close();
110 CloseableHttpResponse response = httpclient.execute(httpget); local
111 HttpEntity entity = response.getEntity();
114 Assert.assertNotNull("Cors should have added a header: Access-Control-Allow-Origin", response.getLastHeader("Access-Control-Allow-Origin"));
115 Assert.assertEquals("Cors should have added a header: Access-Control-Allow-Origin: *", "*", response.getLastHeader("Access-Control-Allow-Origin").getValue());
117 response.close()
127 CloseableHttpResponse response = httpclient.execute(httpOption); local
145 CloseableHttpResponse response = httpclient.execute(httpOption); local
    [all...]
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/
ARDJoinResponse.m 41 ARDJoinResponse *response = [[ARDJoinResponse alloc] init];
43 response.result = [[self class] resultTypeFromString:resultString];
46 response.isInitiator = [params[kARDJoinInitiatorKey] boolValue];
47 response.roomId = params[kARDJoinRoomIdKey];
48 response.clientId = params[kARDJoinClientIdKey];
59 response.messages = signalingMessages;
63 response.webSocketURL = [NSURL URLWithString:webSocketURLString];
65 response.webSocketRestURL = [NSURL URLWithString:webSocketRestURLString];
67 return response;
  /system/update_engine/
omaha_response_handler_action.cc 53 const OmahaResponse& response = GetInputObject(); local
54 if (!response.update_exists) {
66 LOG(ERROR) << "There are no suitable URLs in the response to use.";
72 install_plan_.version = response.version;
87 // Fill up the other properties based on the response.
88 install_plan_.payload_size = response.size;
89 install_plan_.payload_hash = response.hash;
90 install_plan_.metadata_size = response.metadata_size;
91 install_plan_.metadata_signature = response.metadata_signature;
92 install_plan_.public_key_rsa = response.public_key_rsa
    [all...]
  /bionic/tools/bionicbb/
gmail.py 62 response = service.users().messages().list(
64 if 'messages' in response:
65 msgs.extend(response['messages'])
66 while 'nextPageToken' in response:
67 page_token = response['nextPageToken']
68 response = service.users().messages().list(
70 msgs.extend(response['messages'])

Completed in 346 milliseconds

1 2 34 5 6 7 8 91011>>