/external/skia/tools/skiaserve/ |
Response.h | 15 namespace Response { 16 // SendOK just sends an empty response with a 200 OK status code.
|
Response.cpp | 8 #include "Response.h" 42 namespace Response { 43 // SendOK just sends an empty response with a 200 OK status code. 47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), local 50 int ret = MHD_queue_response(connection, 200, response); 51 MHD_destroy_response(response); 56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), local 59 int ret = MHD_queue_response(connection, 500, response); 60 MHD_destroy_response(response); 66 MHD_Response* response = MHD_create_response_from_buffer(data->size() local 96 MHD_Response* response = MHD_create_response_from_buffer( local [all...] |
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/ |
Response.java | 18 final class Response { 21 Response(String data) {
|
/system/webservd/libwebserv/ |
response.h | 36 // Response class is a proxy for HTTP response used by the request handler 37 // to provide response HTTP headers and data. 38 class LIBWEBSERV_EXPORT Response { 40 virtual ~Response() = default; 42 // Adds a single HTTP response header to the response. 46 // Adds number of HTTP response headers to the response. 50 // Generic reply method for sending arbitrary binary data response [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Response.java | 22 public interface Response<IN, OUT> {
|
/external/libweave/include/weave/provider/ |
http_client.h | 24 // However, user code should also implement Response interface, that will be 44 // and provide results and response data. 52 // of the Response interface. For example, the following could be used as a 54 // struct ResponseImpl : public provider::HttpClient::Response { 75 class Response { 81 virtual ~Response() {} 86 base::Callback<void(std::unique_ptr<Response> response, ErrorPtr error)>;
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
static.py | 6 from webob.response import Response 57 return Response( 147 return Response( 165 return Response(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
libhttplib2.tex | 121 A 3xx redirect response code was provided but no Location: header 139 The headers claimed that the content of the response was compressed but the 178 \begin{classdesc}{Response}{info} 179 Response is a subclass of \class{dict} and instances of this 235 The return value is a tuple of (response, content), the first being and instance of the 236 \class{Response} class, the second being a string that contains the response entity body. 285 those error conditions will be turned into \class{Response} objects 292 Defaults to \code{False}. If \code{True}, then any etags present in the cached response 324 \subsection{Response Objects [all...] |
/frameworks/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...] |
/packages/services/Telephony/src/com/android/services/telephony/activation/ |
SimActivationManager.java | 24 * or fails. When done, sends back a response if needed. 32 public interface Response { 40 public void runActivation(int trigger, Response response) { 49 if (response != null) { 50 response.onResponse(TelephonyManager.SIM_ACTIVATION_RESULT_COMPLETE);
|
/external/chromium-trace/catapult/third_party/WebOb/docs/comment-example-code/ |
example.py | 6 from webob import Request, Response, html_escape 25 # Not an HTML response, we don't want to
|
/external/chromium-trace/catapult/third_party/WebOb/docs/jsonrpc-example-code/ |
jsonrpc.py | 2 from webob import Request, Response 63 return Response( 69 return Response( 133 def __init__(self, message, response): 135 self.response = response 141 def __init__(self, message, code, error, response): 145 self.response = response 148 self.response.request.url [all...] |
/external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/ |
example.py | 3 from webob import Request, Response 97 resp = Response(text) 121 return Response(text)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/ |
response.py | 29 class FPSResponse(Response): 35 if name != action + 'Response': 66 class Response(ResponseElement): 75 return super(Response, self).startElement(name, attrs, connection)
|
/external/chromium-trace/catapult/third_party/typ/typ/ |
pool.py | 33 Response = 'Response' 39 values = [Request, Response, Close, Done, Error, Interrupt] 87 assert msg_type == _MessageType.Response 169 responses.put((_MessageType.Response, resp))
|
/external/autotest/frontend/shared/ |
rest_client.py | 45 class Response(object): 143 logging.debug('Response verification failed, clearing headers and ' 150 logging.debug('Response: %s', headers['status']) 152 return Response(headers, response_body) 159 response = self._do_request(method, self.href, query_parameters, 162 if 300 <= response.status < 400: # redirection 163 return self._do_request(method, response.headers['location'], 165 if 400 <= response.status < 500: 166 raise ClientError(str(response)) 167 if 500 <= response.status < 600 [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
http_wrapper.py | 29 'Response', 143 class Response(collections.namedtuple( 146 """Class encapsulating data for an HTTP response.""" 154 """Return the length of this response. 160 Response length (as int or long) 194 def CheckResponse(response): 195 if response is None: 196 # Caller shouldn't call us if the response is None, but handle anyway. 198 'Request to url %s did not return a response.' % 199 response.request_url [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Response.java | 32 * An HTTP response. Instances of this class are not immutable: the response 36 public final class Response { 44 private Response networkResponse; 45 private Response cacheResponse; 46 private final Response priorResponse; 50 private Response(Builder builder) { 64 * The wire-level request that initiated this HTTP response. This is not 69 * <li>It may be the request generated in response to an HTTP redirect or 105 * Returns the TLS handshake of the connection that carried this response, o [all...] |
/external/pdfium/fpdfsdk/src/fpdfxfa/ |
fpdfxfa_app.cpp | 194 void CPDFXFA_App::Response(CFX_WideString& wsAnswer,
|
/external/libbrillo/brillo/http/ |
http_request.cc | 134 std::unique_ptr<Response> Request::GetResponseAndBlock( 137 return std::unique_ptr<Response>(); 138 std::unique_ptr<Response> response(new Response(connection_)); 140 transport_.reset(); // Indicate that the response has been received 141 return response; 285 "HTTP response already received"); 291 // ********************** Response Class ********************** 293 Response::Response(const std::shared_ptr<Connection>& connection [all...] |
/device/google/contexthub/util/nanotool/ |
nanomessage.h | 104 * A response to writing an event to the ContextHub. 111 struct Response { 113 } __attribute__((packed)) response; member in class:android::WriteEventResponse 117 * A response to reading an event from the ContextHub. 144 // Event data associated with this response.
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/beanstalk/ |
response.py | 22 # Everything is either a 'Response', 'list', or 'None/str/int/bool'. 24 if isinstance(value, Response): 43 class Response(BaseObject): 44 def __init__(self, response): 45 super(Response, self).__init__() 47 if response['ResponseMetadata']: 48 self.response_metadata = ResponseMetadata(response['ResponseMetadata']) 54 def __init__(self, response): 57 self.request_id = str(response['RequestId']) 61 def __init__(self, response) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/roboto/ |
awsqueryrequest.py | 164 Response = {} 283 self.process_markers(self.Response) 452 response = self.main() 453 self.cli_formatter(response) 501 self._generic_cli_formatter(self.Response, data)
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
TestThread.java | 62 private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<Response>(); 199 * Receives a response from this thread. 201 * @throws TimeoutException if this thread does not offer a response within a resonable amount of 206 private Response getResponse(String methodName) throws Exception { 207 Response response = responseQueue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); local 208 if (response == null) { 211 assertEquals(methodName, response.methodName); 212 return response; [all...] |
/external/libchrome/dbus/ |
message.h | 45 // sub classes such as MethodCall and Response instead. 201 // Response is a type of message used for receiving a response from a 203 class CHROME_DBUS_EXPORT Response : public Message { 205 // Returns a newly created Response from the given raw message of the 207 static scoped_ptr<Response> FromRawMessage(DBusMessage* raw_message); 209 // Returns a newly created Response from the given method call. 212 static scoped_ptr<Response> FromMethodCall(MethodCall* method_call); 214 // Returns a newly created Response with an empty payload. 216 static scoped_ptr<Response> CreateEmpty() [all...] |