/external/libbrillo/brillo/dbus/ |
dbus_method_response.cc | 19 // Response hasn't been sent by the handler. Abort the call. 26 auto response = GetDBusError(method_call_, error); local 27 SendRawResponse(std::move(response)); 41 SendRawResponse(std::unique_ptr<dbus::Response>()); 45 std::unique_ptr<dbus::Response> response) { 47 method_call_ = nullptr; // Mark response as sent. 48 sender_.Run(scoped_ptr<dbus::Response>{response.release()}); 51 std::unique_ptr<dbus::Response> [all...] |
dbus_param_reader_unittest.cc | 14 using dbus::Response; 20 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 29 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 44 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 65 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 88 std::unique_ptr<Response> message(Response::CreateEmpty().release()) [all...] |
dbus_param_writer_unittest.cc | 15 using dbus::Response; 21 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 28 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 52 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 72 std::unique_ptr<Response> message(Response::CreateEmpty().release()); 79 std::unique_ptr<Response> message(Response::CreateEmpty().release()) [all...] |
dbus_object.h | 45 void Method3(std::unique_ptr<DBusMethodResponse<int_32>> response, 48 response->ReplyWithError(brillo::errors::dbus::kDomain, 54 response->Return(message_len); 107 // void(std::unique_ptr<DBusMethodResponse<T...>> response, 110 // void(std::unique_ptr<DBusMethodResponse<T...>> response, 114 // response. 243 template<typename Response, typename... Args> 246 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) { 247 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value, 248 "Response must be DBusMethodResponse<T...>") [all...] |
/external/libchrome/dbus/ |
mock_object_proxy.h | 29 Response*(MethodCall* method_call, 32 scoped_ptr<Response> CallMethodAndBlockWithErrorDetails( 36 return scoped_ptr<Response>( 39 MOCK_METHOD2(MockCallMethodAndBlock, Response*(MethodCall* method_call, 41 scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call, 43 return scoped_ptr<Response>(MockCallMethodAndBlock(method_call,
|
/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...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
RecordingOkAuthenticator.java | 20 import com.squareup.okhttp.Response; 26 public final List<Response> responses = new ArrayList<>(); 34 public Response onlyResponse() { 44 @Override public Request authenticate(Proxy proxy, Response response) { 45 responses.add(response); 47 return response.request().newBuilder() 52 @Override public Request authenticateProxy(Proxy proxy, Response response) { 53 responses.add(response); [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
StringRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 28 * A canned request for retrieving the response body at a given URL as a String. 38 * @param listener Listener to receive the String response 51 * @param listener Listener to receive the String response 59 protected void deliverResponse(String response) { 60 mListener.onResponse(response); 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { [all...] |
ImageRequest.java | 28 import com.android.volley.Response; 45 private final Response.Listener<Bitmap> mListener; 72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, 73 ScaleType scaleType, Config decodeConfig, Response.ErrorListener errorListener) { 89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, 90 Config decodeConfig, Response.ErrorListener errorListener) { 155 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { 159 return doParse(response); 161 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl()) [all...] |
JsonRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 29 * A request for retrieving a T type response body at a given URL that also 32 * @param <T> JSON type of response expected 64 protected void deliverResponse(T response) { 65 mListener.onResponse(response); 69 abstract protected Response<T> parseNetworkResponse(NetworkResponse response);
|
/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/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/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/ |
ResponseProducerModule.java | 31 static Response response(String greeting, Request request, int requestNumber) { method in class:ResponseProducerModule 32 return new Response(String.format("%s, %s #%d!", greeting, request.name(), requestNumber));
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
InternalRewrite.java | 39 import fi.iki.elonen.NanoHTTPD.Response; 44 public class InternalRewrite extends Response {
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ResponseEventExt.java | 6 import javax.sip.message.Response; 16 Dialog dialog, Response response) { 17 super(source,clientTransaction,dialog,response); 22 * Return true if this is a forked response. 24 * @return true if the response event is for a forked response. 31 * Set the original transaction for a forked response. 33 * @param originalTransaction - the original transaction for which this response event is a fork. 40 * Get the original transaction for which this is a forked response [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelper.java | 12 import javax.sip.message.Response; 30 * the specified Response (Challenge) and appends it to the challenged 36 * the 401/407 challenge response 55 public abstract ClientTransaction handleChallenge(Response challenge,
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
__init__.py | 3 from webob.response import * 7 'Request', 'LegacyRequest', 'Response', 'UTC', 'day', 'week', 'hour', 11 BaseRequest.ResponseClass = Response
|
/external/nist-sip/java/javax/sip/ |
Dialog.java | 9 import javax.sip.message.Response; 65 Request createPrack(Response relResponse) 67 Response createReliableProvisionalResponse(int statusCode) 74 void sendReliableProvisionalResponse(Response relResponse)
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
Authenticate.java | 22 import com.squareup.okhttp.Response; 31 @Override public Request authenticate(Proxy proxy, Response response) { 32 System.out.println("Authenticating for response: " + response); 33 System.out.println("Challenges: " + response.challenges()); 35 return response.request().newBuilder() 40 @Override public Request authenticateProxy(Proxy proxy, Response response) { 49 Response response = client.newCall(request).execute() local [all...] |
LoggingInterceptors.java | 21 import com.squareup.okhttp.Response; 31 @Override public Response intercept(Chain chain) throws IOException { 36 Response response = chain.proceed(request); 39 logger.info(String.format("Received response for %s in %.1fms%n%s", 40 request.httpUrl(), (t2 - t1) / 1e6d, response.headers())); 41 return response; 51 Response response = client.newCall(request).execute(); local 52 response.body().close() [all...] |
RewriteResponseCacheControl.java | 22 import com.squareup.okhttp.Response; 29 @Override public Response intercept(Chain chain) throws IOException { 30 Response originalResponse = chain.proceed(chain.request()); 56 // Force this request's response to be written to the cache. This way, subsequent responses 65 Response response = client.newCall(request).execute(); local 66 response.body().close(); 67 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 69 System.out.println(" Network: " + (response.networkResponse() != null)) [all...] |
/external/skia/tools/skiaserve/urlhandlers/ |
RootHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
/frameworks/volley/src/test/java/com/android/volley/ |
ResponseDeliveryTest.java | 36 private Response<byte[]> mSuccessResponse; 45 mSuccessResponse = Response.success(data, cacheEntry); 62 Response<byte[]> errorResponse = Response.error(new ServerError());
|
/system/webservd/libwebserv/ |
request_handler_callback.cc | 24 std::unique_ptr<Response> response) { 25 callback_.Run(std::move(request), std::move(response));
|
/external/nist-sip/java/javax/sip/message/ |
MessageFactory.java | 32 Response createResponse(int statusCode, CallIdHeader callId, 37 Response createResponse(int statusCode, CallIdHeader callId, 42 Response createResponse(int statusCode, CallIdHeader callId, 46 Response createResponse(int statusCode, Request request, 50 Response createResponse(int statusCode, Request request, 54 Response createResponse(int statusCode, Request request) 57 Response createResponse(String response) throws ParseException;
|