Home
last modified time | relevance | path

Searched refs:Response (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/external/tcpdump/tests/
Daoe_1.out5 AoE length 534, Ver 1, Flags: [Response]
10 AoE length 1046, Ver 1, Flags: [Response]
11 AoE length 1046, Ver 1, Flags: [Response]
12 AoE length 1046, Ver 1, Flags: [Response]
13 AoE length 1046, Ver 1, Flags: [Response]
18 AoE length 1046, Ver 1, Flags: [Response]
19 AoE length 1046, Ver 1, Flags: [Response]
20 AoE length 1046, Ver 1, Flags: [Response]
21 AoE length 1046, Ver 1, Flags: [Response]
23 AoE length 1046, Ver 1, Flags: [Response]
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DJsonRequestTest.java19 import com.android.volley.Response;
35 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
37 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
40 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
42 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
45 Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
47 JSONObject.class, Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
/external/v8/src/inspector/
Dv8-debugger-agent-impl.cc158 Response V8DebuggerAgentImpl::enable() { in enable()
159 if (enabled()) return Response::OK(); in enable()
162 return Response::Error("Script execution is prohibited"); in enable()
165 return Response::OK(); in enable()
168 Response V8DebuggerAgentImpl::disable() { in disable()
169 if (!enabled()) return Response::OK(); in disable()
196 return Response::OK(); in disable()
227 Response V8DebuggerAgentImpl::setBreakpointsActive(bool active) { in setBreakpointsActive()
228 if (!enabled()) return Response::Error(kDebuggerNotEnabled); in setBreakpointsActive()
230 return Response::OK(); in setBreakpointsActive()
[all …]
Dv8-debugger-agent-impl.h29 using protocol::Response;
45 Response enable() override;
46 Response disable() override;
47 Response setBreakpointsActive(bool active) override;
48 Response setSkipAllPauses(bool skip) override;
49 Response setBreakpointByUrl(
55 Response setBreakpoint(
59 Response removeBreakpoint(const String16& breakpointId) override;
60 Response continueToLocation(
62 Response searchInContent(
[all …]
Dv8-heap-profiler-agent-impl.cc175 Response V8HeapProfilerAgentImpl::collectGarbage() { in collectGarbage()
177 return Response::OK(); in collectGarbage()
180 Response V8HeapProfilerAgentImpl::startTrackingHeapObjects( in startTrackingHeapObjects()
187 return Response::OK(); in startTrackingHeapObjects()
190 Response V8HeapProfilerAgentImpl::stopTrackingHeapObjects( in stopTrackingHeapObjects()
195 return Response::OK(); in stopTrackingHeapObjects()
198 Response V8HeapProfilerAgentImpl::enable() { in enable()
200 return Response::OK(); in enable()
203 Response V8HeapProfilerAgentImpl::disable() { in disable()
212 return Response::OK(); in disable()
[all …]
Dv8-heap-profiler-agent-impl.h19 using protocol::Response;
28 Response collectGarbage() override;
30 Response enable() override;
31 Response startTrackingHeapObjects(Maybe<bool> trackAllocations) override;
32 Response stopTrackingHeapObjects(Maybe<bool> reportProgress) override;
34 Response disable() override;
36 Response takeHeapSnapshot(Maybe<bool> reportProgress) override;
38 Response getObjectByHeapObjectId(
41 Response addInspectedHeapObject(
43 Response getHeapObjectId(const String16& objectId,
[all …]
Dinjected-script.cc122 Response InjectedScript::getProperties( in getProperties()
140 Response response = createExceptionDetails( in getProperties()
145 return Response::OK(); in getProperties()
147 if (resultValue.IsEmpty()) return Response::InternalError(); in getProperties()
149 Response response = toProtocolValue(context, resultValue, &protocolValue); in getProperties()
154 if (errors.hasErrors()) return Response::Error(errors.errors()); in getProperties()
156 return Response::OK(); in getProperties()
171 Response InjectedScript::wrapObject( in wrapObject()
178 Response response = wrapValue(value, groupName, forceValueType, in wrapObject()
188 if (!result->get()) return Response::Error(errors.errors()); in wrapObject()
[all …]
Dv8-profiler-agent-impl.h23 using protocol::Response;
34 Response enable() override;
35 Response disable() override;
36 Response setSamplingInterval(int) override;
37 Response start() override;
38 Response stop(std::unique_ptr<protocol::Profiler::Profile>*) override;
40 Response startPreciseCoverage() override;
41 Response stopPreciseCoverage() override;
42 Response takePreciseCoverage(
45 Response getBestEffortCoverage(
Dv8-runtime-agent-impl.cc71 callback->sendFailure(Response::InternalError()); in add()
75 callback->sendFailure(Response::Error(notPromiseError)); in add()
93 rawCallback->sendFailure(Response::InternalError()); in add()
101 rawCallback->sendFailure(Response::InternalError()); in add()
180 Response::Error("Promise was collected")); in cleanup()
189 Response response = scope.initialize(); in wrapObject()
224 Response response = injectedScript->wrapEvaluateResult( in wrapEvaluateResultAsync()
235 Response ensureContext(V8InspectorImpl* inspector, int contextGroupId, in ensureContext()
244 return Response::Error("Cannot find default execution context"); in ensureContext()
247 return Response::OK(); in ensureContext()
[all …]
Dinjected-script.h52 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 …]
Dv8-profiler-agent-impl.cc202 Response V8ProfilerAgentImpl::enable() { in enable()
203 if (m_enabled) return Response::OK(); in enable()
206 return Response::OK(); in enable()
209 Response V8ProfilerAgentImpl::disable() { in disable()
210 if (!m_enabled) return Response::OK(); in disable()
219 return Response::OK(); in disable()
222 Response V8ProfilerAgentImpl::setSamplingInterval(int interval) { in setSamplingInterval()
224 return Response::Error("Cannot change sampling interval when profiling."); in setSamplingInterval()
227 return Response::OK(); in setSamplingInterval()
246 Response V8ProfilerAgentImpl::start() { in start()
[all …]
Dv8-console-agent-impl.cc29 Response V8ConsoleAgentImpl::enable() { in enable()
30 if (m_enabled) return Response::OK(); in enable()
35 return Response::OK(); in enable()
38 Response V8ConsoleAgentImpl::disable() { in disable()
39 if (!m_enabled) return Response::OK(); in disable()
43 return Response::OK(); in disable()
46 Response V8ConsoleAgentImpl::clearMessages() { return Response::OK(); } in clearMessages()
Dremote-object-id.cc31 Response RemoteObjectId::parse(const String16& objectId, in parse()
36 if (!parsedObjectId) return Response::Error("Invalid remote object id"); in parse()
39 if (!success) return Response::Error("Invalid remote object id"); in parse()
41 return Response::OK(); in parse()
47 Response RemoteCallFrameId::parse(const String16& objectId, in parse()
52 if (!parsedObjectId) return Response::Error("Invalid call frame id"); in parse()
56 if (!success) return Response::Error("Invalid call frame id"); in parse()
58 return Response::OK(); in parse()
Dv8-runtime-agent-impl.h49 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,
Dv8-value-copier.cc76 protocol::Response toProtocolValue(v8::Local<v8::Context> context, in toProtocolValue()
79 using protocol::Response; in toProtocolValue()
82 return Response::InternalError(); in toProtocolValue()
85 if (!maxDepth) return Response::Error("Object reference chain is too long"); in toProtocolValue()
90 return Response::OK(); in toProtocolValue()
95 return Response::OK(); in toProtocolValue()
102 return Response::OK(); in toProtocolValue()
105 return Response::OK(); in toProtocolValue()
110 return Response::OK(); in toProtocolValue()
120 return Response::InternalError(); in toProtocolValue()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_unittest.cc14 using dbus::Response;
20 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
29 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
44 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
65 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
88 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
108 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
129 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
142 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
158 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
[all …]
Ddbus_param_writer_unittest.cc15 using dbus::Response;
21 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
28 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
52 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
72 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
79 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
107 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
131 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
138 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
166 std::unique_ptr<Response> message = Response::CreateEmpty(); in TEST()
Ddbus_object.h243 template<typename Response, typename... Args>
246 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) { in AddMethodHandler() argument
247 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value, in AddMethodHandler()
249 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add( in AddMethodHandler()
255 template<typename Response, typename... Args>
258 void (*handler)(std::unique_ptr<Response>, Args...)) { in AddMethodHandler() argument
259 static_assert(std::is_base_of<DBusMethodResponseBase, Response>::value, in AddMethodHandler()
261 Handler<DBusInterfaceMethodHandler<Response, Args...>>::Add( in AddMethodHandler()
267 template<typename Response,
274 void(Class::*handler)(std::unique_ptr<Response>, Args...)) { in AddMethodHandler() argument
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java36 public final class Response { class
44 private Response networkResponse;
45 private Response cacheResponse;
46 private final Response priorResponse;
50 private Response(Builder builder) { in Response() method in Response
157 public Response networkResponse() { in networkResponse()
167 public Response cacheResponse() { in cacheResponse()
177 public Response priorResponse() { in priorResponse()
229 private Response networkResponse;
230 private Response cacheResponse;
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java60 final Response interceptorResponse = new Response.Builder() in applicationInterceptorsCanShortCircuitResponses()
69 @Override public Response intercept(Chain chain) throws IOException { in applicationInterceptorsCanShortCircuitResponses()
74 Response response = client.newCall(request).execute(); in applicationInterceptorsCanShortCircuitResponses()
82 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotShortCircuitResponses()
83 return new Response.Builder() in networkInterceptorsCannotShortCircuitResponses()
112 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotCallProceedMultipleTimes()
136 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotChangeServerAddress()
164 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsHaveConnectionAccess()
183 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsObserveNetworkHeaders()
192 Response networkResponse = chain.proceed(networkRequest); in networkInterceptorsObserveNetworkHeaders()
[all …]
/external/volley/src/main/java/com/android/volley/
DResponse.java24 public class Response<T> { class
42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { in success()
43 return new Response<T>(result, cacheEntry); in success()
50 public static <T> Response<T> error(VolleyError error) { in error()
51 return new Response<T>(error); in error()
74 private Response(T result, Cache.Entry cacheEntry) { in Response() method in Response
80 private Response(VolleyError error) { in Response() method in Response
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java54 import fi.iki.elonen.NanoHTTPD.Response.IStatus;
266 protected Response getForbiddenResponse(String s) { in getForbiddenResponse()
267 …return newFixedLengthResponse(Response.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "FORBIDDEN: " +… in getForbiddenResponse()
270 protected Response getInternalErrorResponse(String s) { in getInternalErrorResponse()
271 …return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "INTERNAL … in getInternalErrorResponse()
274 protected Response getNotFoundResponse() { in getNotFoundResponse()
275 …return newFixedLengthResponse(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Error 404, fil… in getNotFoundResponse()
353 public static Response newFixedLengthResponse(IStatus status, String mimeType, String message) { in newFixedLengthResponse()
354 Response response = NanoHTTPD.newFixedLengthResponse(status, mimeType, message); in newFixedLengthResponse()
359 private Response respond(Map<String, String> headers, IHTTPSession session, String uri) { in respond()
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DJsonArrayRequest.java21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
61 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
65 return Response.success(new JSONArray(jsonString), in parseNetworkResponse()
68 return Response.error(new ParseError(e)); in parseNetworkResponse()
70 return Response.error(new ParseError(je)); in parseNetworkResponse()
DImageRequest.java28 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, in ImageRequest()
73 ScaleType scaleType, Config decodeConfig, Response.ErrorListener errorListener) { in ImageRequest()
89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest()
90 Config decodeConfig, Response.ErrorListener errorListener) { in ImageRequest()
155 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
162 return Response.error(new ParseError(e)); in parseNetworkResponse()
170 private Response<Bitmap> doParse(NetworkResponse response) { in doParse()
211 return Response.error(new ParseError(response)); in doParse()
[all …]
DJsonObjectRequest.java21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse()
68 return Response.success(new JSONObject(jsonString), in parseNetworkResponse()
71 return Response.error(new ParseError(e)); in parseNetworkResponse()
73 return Response.error(new ParseError(je)); in parseNetworkResponse()

12345678910>>...16