Searched refs:response (Results 76 - 100 of 1408) sorted by relevance

1234567891011>>

/external/libsepol/include/sepol/
H A Dnodes.h10 const sepol_policydb_t * p, unsigned int *response);
15 const sepol_node_key_t * key, int *response);
21 sepol_node_t ** response);
H A Dports.h10 const sepol_policydb_t * p, unsigned int *response);
15 const sepol_port_key_t * key, int *response);
21 sepol_port_t ** response);
/external/chromium_org/third_party/webrtc/base/
H A Dasynchttprequest_unittest.cc73 request->response().document.reset(new MemoryStream());
89 request->response().document.reset(new MemoryStream());
100 t->response.set_success("text/plain", new MemoryStream(kServerResponse));
114 t->response.set_success("text/plain", out);
116 t->response.set_error(404);
138 std::string response; local
139 EXPECT_EQ(200U, req->response().scode);
140 ASSERT_TRUE(req->response().document);
141 req->response().document->Rewind();
142 req->response()
197 std::string response; local
225 std::string response; local
[all...]
/external/chromium_org/net/http/
H A Dhttp_vary_data_unittest.cc18 scoped_refptr<net::HttpResponseHeaders> response; member in struct:__anon9340::TestTransaction
24 response = new net::HttpResponseHeaders(temp);
48 EXPECT_FALSE(v.Init(t.request, *t.response.get()));
59 EXPECT_TRUE(v.Init(t1.request, *t1.response.get()));
65 EXPECT_FALSE(v.Init(t2.request, *t2.response.get()));
77 EXPECT_TRUE(v.Init(a.request, *a.response.get()));
79 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response.get()));
90 EXPECT_TRUE(v.Init(a.request, *a.response.get()));
92 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response.get()));
103 EXPECT_TRUE(v.Init(a.request, *a.response
[all...]
/external/smack/src/org/jivesoftware/smack/
H A DNonSASLAuthentication.java70 // Wait up to a certain number of seconds for a response from the server.
71 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
72 if (response == null) {
73 throw new XMPPException("No response from the server.");
76 else if (response.getType() == IQ.Type.ERROR) {
77 throw new XMPPException(response.getError());
80 Authentication authTypes = (Authentication) response;
103 // Wait up to a certain number of seconds for a response from the server.
104 response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
105 if (response
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DDefaultRequestDirectorTest.java60 Robolectric.addPendingHttpResponse(200, "a happy response body");
65 Robolectric.addPendingHttpResponse(new TestHttpResponse(200, "a happy response body"));
66 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null);
68 assertNotNull(response);
69 assertThat(response.getStatusLine().getStatusCode(), equalTo(200));
70 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body"));
75 Robolectric.addPendingHttpResponse(new TestHttpResponse(200, "a happy response body"));
78 new TestHttpResponse(200, "a cheery response body"));
80 HttpResponse response
[all...]
/external/chromium_org/content/browser/geolocation/
H A Dwifi_data_provider_linux.cc148 scoped_ptr<dbus::Response> response(
152 if (!response) {
157 dbus::MessageReader reader(response.get());
160 LOG(WARNING) << "Unexpected response for " << device_type << ": "
161 << response->ToString();
180 scoped_ptr<dbus::Response> response(
184 if (!response) {
189 dbus::MessageReader reader(response.get());
191 LOG(WARNING) << "Unexpected response: " << response
336 scoped_ptr<dbus::Response> response = access_point_proxy->CallMethodAndBlock( local
[all...]
/external/apache-http/src/org/apache/http/
H A DConnectionReuseStrategy.java70 * @param response
71 * The last response received over that connection.
78 boolean keepAlive(HttpResponse response, HttpContext context); argument
H A DHttpResponseInterceptor.java39 * Processes a response.
40 * Provides the ability to process a response before it is sent
59 * Processes a response.
60 * On the server side, this step is performed before the response is
64 * @param response the response to postprocess
70 void process(HttpResponse response, HttpContext context) argument
/external/apache-http/src/org/apache/http/client/
H A DResponseHandler.java38 * Handler that encapsulates the process of generating a response object
54 * corresponding to that response.
56 * @param response The response to process
57 * @return A value determined by the response
62 T handleResponse(HttpResponse response) throws ClientProtocolException, IOException; argument
H A DRedirectHandler.java42 * a new location in response to an HTTP response received from the target
61 * given the response from the target server.
63 * @param response the response received from the target server
69 boolean isRedirectRequested(HttpResponse response, HttpContext context); argument
73 * given the response from the target server and the current request
76 * @param response the response received from the target server
81 URI getLocationURI(HttpResponse response, HttpContex argument
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/
H A Dcontentscript.js11 chrome.extension.sendRequest(payload, function(response) {});
/external/chromium_org/dbus/
H A Dmock_unittest.cc73 // Called when the response is received.
74 void OnResponse(Response* response) { argument
75 // |response| will be deleted on exit of the function. Copy the
77 if (response) {
78 MessageReader reader(response);
92 // Returns a response for the given method call. Used to implement
101 scoped_ptr<Response> response = Response::CreateEmpty(); local
102 MessageWriter writer(response.get());
104 return response.release();
118 // Creates a response an
124 Response* response = CreateMockProxyResponse(method_call, timeout_ms); local
133 RunResponseCallback( ObjectProxy::ResponseCallback response_callback, Response* response) argument
[all...]
/external/chromium_org/ppapi/api/
H A Dppb_url_response_info.idl18 * This enumeration contains properties set on a URL response.
35 * in the response header's 'Location' field if this is a redirect response,
44 * used in a new request if this is a redirect response, an empty string
53 * response, e.g., 200 if the request was successful. Refer to the
62 * from the response. Refer to the
86 * IsURLResponseInfo() determines if a response is a
100 * GetProperty() gets a response property.
105 * the type of property in the response.
107 * @return A <code>PP_Var</code> containing the response propert
[all...]
/external/chromium_org/sync/engine/
H A Dtraffic_logger.h21 const sync_pb::ClientToServerResponse& response);
/external/chromium_org/tools/
H A Dbisect-manual-test.py24 # Loop until we get a response that we can parse.
27 response = raw_input()
28 if response and response in ('g', 'b'):
29 if response in ('g'):
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-evaluate-bool-constructor.js53 var response = JSON.parse(resp);
54 assertTrue(response.success, 'Command failed: ' + resp);
55 assertEquals('object', response.body.type);
56 assertEquals('Object', response.body.className);
/external/nist-sip/java/javax/sip/
H A DServerTransaction.java6 void sendResponse(Response response) argument
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
H A DSocks5Utils.java46 * message or a SOCKS5 response message.
65 byte[] response = new byte[7 + addressLength];
66 System.arraycopy(header, 0, response, 0, header.length);
68 in.readFully(response, header.length, addressLength + 2);
70 return response;
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Dchap.h15 size_t challenge_len, u8 *response);
/external/wpa_supplicant_8/src/eap_common/
H A Dchap.h15 size_t challenge_len, u8 *response);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Dchap.h15 size_t challenge_len, u8 *response);
/external/apache-http/src/org/apache/http/protocol/
H A DResponseConnControl.java47 * A response interceptor that suggests connection keep-alive to the client.
67 public void process(final HttpResponse response, final HttpContext context) argument
69 if (response == null) {
70 throw new IllegalArgumentException("HTTP response may not be null");
76 int status = response.getStatusLine().getStatusCode();
84 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
89 HttpEntity entity = response.getEntity();
91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
94 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
104 response
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dpreview.py56 response = LocalRenderer.Render(self.path, headers=dict(self.headers))
58 self.send_response(response.status)
59 for k, v in response.headers.iteritems():
62 self.wfile.write(response.content.ToString())
91 response = LocalRenderer.Render(path)
92 if response.status != 200:
93 print('Error status: %s' % response.status)
102 print(response.content.ToString())
/external/chromium_org/chrome/test/ispy/server/
H A Drebaseline_handler.py28 self.response.headers['Content-Type'] = 'json/application'
29 self.response.write(json.dumps(

Completed in 3899 milliseconds

1234567891011>>