/external/libbrillo/brillo/dbus/ |
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...] |
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(std::move(response)); 51 std::unique_ptr<dbus::Response> 53 return dbus::Response::FromMethodCall(method_call_) [all...] |
utils.h | 20 // A helper function to create a D-Bus error response object as unique_ptr<>. 21 BRILLO_EXPORT std::unique_ptr<dbus::Response> CreateDBusErrorResponse( 26 // Create a D-Bus error response object from brillo::Error. If the last 31 BRILLO_EXPORT std::unique_ptr<dbus::Response> GetDBusError(
|
/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/v8/src/inspector/ |
v8-value-utils.cc | 11 protocol::Response toProtocolValue(v8::Local<v8::Context> context, 14 using protocol::Response; 19 if (!maxDepth) return Response::Error("Object reference chain is too long"); 24 return Response::OK(); 29 return Response::OK(); 36 return Response::OK(); 39 return Response::OK(); 44 return Response::OK(); 54 return Response::InternalError(); 56 Response response = toProtocolValue(context, value, maxDepth, &element) local 90 Response response = local [all...] |
v8-debugger-agent-impl.cc | 253 Response buildScopes(v8::Isolate* isolate, v8::debug::ScopeIterator* iterator, 257 if (!injectedScript) return Response::OK(); 258 if (iterator->Done()) return Response::OK(); 264 Response result = injectedScript->wrapObject( 294 return Response::OK(); 341 Response V8DebuggerAgentImpl::enable(String16* outDebuggerId) { 344 if (enabled()) return Response::OK(); 347 return Response::Error("Script execution is prohibited"); 350 return Response::OK(); 353 Response V8DebuggerAgentImpl::disable() 562 Response response = scope.initialize(); local 892 Response response = currentCallFrames(&callFrames); local 907 Response response = scope.initialize(); local 1068 Response response = scope.initialize(); local 1106 Response response = scope.initialize(); local 1148 Response response = scope.initialize(); local 1185 Response response = setBlackboxPattern(pattern); local 1592 Response response = currentCallFrames(&protocolCallFrames); local [all...] |
injected-script.h | 54 using protocol::Response; 62 virtual void sendFailure(const protocol::DispatchResponse& response) = 0; 76 Response getProperties( 84 Response wrapObject( 97 Response findObject(const RemoteObjectId&, v8::Local<v8::Value>*) const; 101 Response resolveCallArgument(protocol::Runtime::CallArgument*, 104 Response createExceptionDetails( 107 Response wrapEvaluateResult( 119 Response initialize(); 131 virtual Response findInjectedScript(V8InspectorSessionImpl*) = 0 [all...] |
/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/ |
Response.h | 15 namespace Response { 16 // SendOK just sends an empty response with a 200 OK status code.
|
/external/skia/tools/skiaserve/urlhandlers/ |
QuitHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
RootHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
/external/skqp/tools/skiaserve/ |
Response.h | 15 namespace Response { 16 // SendOK just sends an empty response with a 200 OK status code.
|
/external/skqp/tools/skiaserve/urlhandlers/ |
QuitHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
RootHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
/external/volley/src/test/java/com/android/volley/ |
ResponseDeliveryTest.java | 35 private Response<byte[]> mSuccessResponse; 45 mSuccessResponse = Response.success(data, cacheEntry); 65 Response<byte[]> errorResponse = Response.error(new ServerError());
|
/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;
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
MmcBlockIo.c | 36 UINT32 Response[4];
56 //Read Response
57 MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_R1, Response);
58 PrintResponseR1 (Response[0]);
116 UINT32 Response[4];
121 MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_R1b, Response);
144 UINT32 Response[4];
191 Response[0] = 0;
192 while(!(Response[0] & MMC_R0_READY_FOR_DATA)
193 && (MMC_R0_CURRENTSTATE (Response) != MMC_R0_STATE_TRAN) [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpDeleteRequestTest.java | 45 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, ""); 63 this.testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (InputStream) null); 81 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String) null); 99 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.ACCEPTED, "application/xml", "<body />"); 118 this.testServer.response = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.OK, "application/xml", "<body />") [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
JsonRequest.java | 23 import com.android.volley.Response; 24 import com.android.volley.Response.ErrorListener; 25 import com.android.volley.Response.Listener; 30 * A request for retrieving a T type response body at a given URL that also optionally sends along a 33 * @param <T> JSON type of response expected 84 protected void deliverResponse(T response) { 85 Response.Listener<T> listener; 90 listener.onResponse(response); 95 protected abstract Response<T> parseNetworkResponse(NetworkResponse response); [all...] |
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/ |
WebSocketResponseHandlerTest.java | 53 import fi.iki.elonen.NanoHTTPD.Response; 121 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 128 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 140 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 143 assertEquals(Response.Status.BAD_REQUEST, handshakeResponse.getStatus()); 149 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 156 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 164 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); 167 assertEquals(Response.Status.BAD_REQUEST, handshakeResponse.getStatus());
|