/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/volley/src/main/java/com/android/volley/toolbox/ |
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 65 protected void deliverResponse(T response) { 66 mListener.onResponse(response); 70 abstract protected Response<T> parseNetworkResponse(NetworkResponse response);
|
/external/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());
|
/external/v8/src/inspector/ |
v8-debugger-agent-impl.cc | 148 Response V8DebuggerAgentImpl::enable() { 149 if (enabled()) return Response::OK(); 152 return Response::Error("Script execution is prohibited"); 155 return Response::OK(); 158 Response V8DebuggerAgentImpl::disable() { 159 if (!enabled()) return Response::OK(); 190 return Response::OK(); 221 Response V8DebuggerAgentImpl::setBreakpointsActive(bool active) { 222 if (!enabled()) return Response::Error(kDebuggerNotEnabled); 224 return Response::OK() 554 Response response = m_debugger->setScriptSource( local 577 Response response = scope.initialize(); local 732 Response response = scope.initialize(); local 762 Response response = scope.initialize(); local 803 Response response = setBlackboxPattern(pattern); local 951 Response response = injectedScript->wrapPropertyInArray( local 1004 Response response = toProtocolValue(debuggerContext, objects, &protocolValue); local 1157 Response response = currentCallFrames(&protocolCallFrames); local [all...] |
v8-runtime-agent-impl.h | 49 using protocol::Response; 60 Response enable() override; 61 Response disable() override; 78 Response releaseObject(const String16& objectId) override; 79 Response getProperties( 87 Response releaseObjectGroup(const String16& objectGroup) override; 88 Response runIfWaitingForDebugger() override; 89 Response setCustomObjectFormatterEnabled(bool) override; 90 Response discardConsoleEntries() override; 91 Response compileScript(const String16& expression, const String16& sourceURL [all...] |
injected-script.h | 52 using protocol::Response; 61 Response getProperties( 69 Response wrapObject( 73 Response wrapObjectProperty(v8::Local<v8::Object>, v8::Local<v8::Name> key, 77 Response wrapPropertyInArray(v8::Local<v8::Array>, 85 Response findObject(const RemoteObjectId&, v8::Local<v8::Value>*) const; 89 Response resolveCallArgument(protocol::Runtime::CallArgument*, 92 Response createExceptionDetails( 95 Response wrapEvaluateResult( 104 Response initialize() [all...] |
injected-script.cc | 122 Response InjectedScript::getProperties( 140 Response response = createExceptionDetails( local 142 if (!response.isSuccess()) return response; 145 return Response::OK(); 147 if (resultValue.IsEmpty()) return Response::InternalError(); 149 Response response = toProtocolValue(context, resultValue, &protocolValue); local 150 if (!response.isSuccess()) return response 178 Response response = wrapValue(value, groupName, forceValueType, local 202 Response response = wrapValue(property, groupName, forceValueType, local 260 Response response = toProtocolValue(context, r, &protocolValue); local 308 Response response = local 368 Response response = local 394 Response response = local 513 Response response = RemoteObjectId::parse(m_remoteObjectId, &remoteId); local 536 Response response = RemoteCallFrameId::parse(m_remoteCallFrameId, &remoteId); local [all...] |
v8-runtime-agent-impl.cc | 70 callback->sendFailure(Response::InternalError()); 74 callback->sendFailure(Response::Error(notPromiseError)); 92 rawCallback->sendFailure(Response::InternalError()); 100 rawCallback->sendFailure(Response::InternalError()); 179 Response::Error("Promise was collected")); 188 Response response = scope.initialize(); local 189 if (!response.isSuccess()) { 190 m_callback->sendFailure(response); 194 response = scope.injectedScript()->wrapObject 223 Response response = injectedScript->wrapEvaluateResult( local 271 Response response = ensureContext(m_inspector, m_session->contextGroupId(), local 333 Response response = scope.initialize(); local 354 Response response = scope.initialize(); local 449 Response response = scope.initialize(); local 483 protocol::Response response = scope.injectedScript()->wrapObject( local 500 Response response = scope.initialize(); local 537 Response response = ensureContext(m_inspector, m_session->contextGroupId(), local 590 Response response = ensureContext(m_inspector, m_session->contextGroupId(), local [all...] |
v8-schema-agent-impl.cc | 19 Response V8SchemaAgentImpl::getDomains( 26 return Response::OK();
|
/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);
143 UINT32 Response[4];
189 Response[0] = 0;
190 while( (!(Response[0] & MMC_R0_READY_FOR_DATA))
191 && (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/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());
|
/external/libbrillo/brillo/dbus/ |
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/nist-sip/java/javax/sip/ |
SipProvider.java | 6 import javax.sip.message.Response; 49 void sendResponse(Response response) throws SipException;
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
GetExample.java | 5 import com.squareup.okhttp.Response; 16 Response response = client.newCall(request).execute(); local 17 return response.body().string(); 22 String response = example.run("https://raw.github.com/square/okhttp/master/README.md"); local 23 System.out.println(response);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
AccessHeaders.java | 20 import com.squareup.okhttp.Response; 34 Response response = client.newCall(request).execute(); local 35 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 37 System.out.println("Server: " + response.header("Server")); 38 System.out.println("Date: " + response.header("Date")); 39 System.out.println("Vary: " + response.headers("Vary"));
|
CertificatePinning.java | 21 import com.squareup.okhttp.Response; 44 Response response = client.newCall(request).execute(); local 45 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 47 for (Certificate certificate : response.handshake().peerCertificates()) {
|
ConfigureTimeouts.java | 20 import com.squareup.okhttp.Response; 38 Response response = client.newCall(request).execute(); local 39 System.out.println("Response completed: " + response);
|
PostFile.java | 22 import com.squareup.okhttp.Response; 40 Response response = client.newCall(request).execute(); local 41 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 43 System.out.println(response.body().string());
|
PostForm.java | 22 import com.squareup.okhttp.Response; 37 Response response = client.newCall(request).execute(); local 38 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 40 System.out.println(response.body().string());
|
PostString.java | 22 import com.squareup.okhttp.Response; 45 Response response = client.newCall(request).execute(); local 46 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 48 System.out.println(response.body().string());
|
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());
|