/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
CacheAdapter.java | 19 import com.squareup.okhttp.Response; 46 @Override public Response get(Request request) throws IOException { 54 @Override public CacheRequest put(Response response) throws IOException { 55 URI uri = response.request().uri(); 56 HttpURLConnection connection = JavaApiConverter.createJavaUrlConnectionForCachePut(response); 81 @Override public void update(Response cached, Response network) throws IOException { 86 // with the original cached response.
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
CacheAdapter.java | 20 import com.android.okhttp.Response; 48 @Override public Response get(Request request) throws IOException { 56 @Override public CacheRequest put(Response response) throws IOException { 57 URI uri = response.request().uri(); 58 HttpURLConnection connection = JavaApiConverter.createJavaUrlConnectionForCachePut(response); 83 @Override public void update(Response cached, Response network) throws IOException { 88 // with the original cached response.
|
/external/libbrillo/brillo/http/ |
http_utils.h | 49 // For more advanced functionality you need to use Request/Response objects 55 // can be obtained from the returned Response object. 56 BRILLO_EXPORT std::unique_ptr<Response> SendRequestAndBlock( 68 BRILLO_EXPORT std::unique_ptr<Response> SendRequestWithNoDataAndBlock( 76 // with the response object. On failure, |error_callback| is called with the 119 // the returned Response object. 120 BRILLO_EXPORT std::unique_ptr<Response> GetAndBlock( 138 // the returned Response object. 139 BRILLO_EXPORT std::unique_ptr<Response> HeadAndBlock( 155 // from the returned Response object [all...] |
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...] |
/external/libchrome/dbus/ |
object_proxy.h | 33 class Response; 73 // Called when an error response is returned or no response is returned. 77 // Called when the response is returned. Used for CallMethod(). 78 using ResponseCallback = base::OnceCallback<void(Response*)>; 80 // Called when the response is returned or an error occurs. Used for 86 base::OnceCallback<void(Response*, ErrorResponse*)>; 108 // Calls the method of the remote object and blocks until the response 113 virtual std::unique_ptr<Response> CallMethodAndBlockWithErrorDetails( 118 // Calls the method of the remote object and blocks until the response [all...] |
exported_object.h | 27 class Response; 42 // Called to send a response from an exported method. |response| is the 43 // response message. Callers should pass NULL in the event of an error that 44 // prevents the sending of a response. 45 typedef base::Callback<void(std::unique_ptr<Response> response)> 49 // message. |sender| is the callback that's used to send a response. 146 // Callback invoked by service provider to send a response to a method call. 151 std::unique_ptr<Response> response) [all...] |
/external/v8/src/inspector/ |
injected-script.cc | 73 callback->sendFailure(Response::InternalError()); 77 callback->sendFailure(Response::InternalError()); 92 callback->sendFailure(Response::InternalError()); 100 callback->sendFailure(Response::InternalError()); 164 Response response = scope.initialize(); local 165 if (!response.isSuccess()) return; 173 response = scope.injectedScript()->wrapObject( 176 if (!response.isSuccess()) { 177 callback->sendFailure(response); 189 Response response = scope.initialize(); local 242 Response response = scope.initialize(); local 349 Response response = createExceptionDetails( local 358 Response response = toProtocolValue(context, resultValue, &protocolValue); local 387 Response response = wrapValue(value, groupName, forceValueType, local 432 Response response = toProtocolValue(context, r, &protocolValue); local 528 Response response = local 598 Response response = local 629 Response response = local 757 Response response = RemoteObjectId::parse(m_remoteObjectId, &remoteId); local 778 Response response = RemoteCallFrameId::parse(m_remoteCallFrameId, &remoteId); local [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
MmcIdentification.c | 94 DEBUG ((EFI_D_ERROR, "EmmcGetDeviceState(): Failed to get response of CMD13, Status=%r.\n", Status));
143 IN OCR_RESPONSE Response
306 UINT32 Response[4];
326 // Read Response
327 Status = MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_CSD, Response);
332 PrintCSD (Response);
333 if (MMC_CSD_GET_CCC(Response) & SD_CCC_SWITCH) {
340 CardSize = HC_MMC_CSD_GET_DEVICESIZE (Response);
342 BlockSize = 1 << MMC_CSD_GET_READBLLEN (Response);
344 CardSize = MMC_CSD_GET_DEVICESIZE (Response);
[all...] |
MmcDebug.c | 128 IN UINT32 Response
131 DEBUG ((EFI_D_INFO, "Response: 0x%X\n", Response));
132 if (Response & MMC_R0_READY_FOR_DATA) {
136 switch ((Response >> 9) & 0xF) {
|
/external/syzkaller/vendor/google.golang.org/appengine/internal/remote_api/ |
remote_api.pb.go | 15 Response 182 type Response struct { 183 Response []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` 191 func (m *Response) Reset() { *m = Response{} } 192 func (m *Response) String() string { return proto.CompactTextString(m) } 193 func (*Response) ProtoMessage() {} 195 func (m *Response) GetResponse() []byte [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiCHAP.c | 75 The initator checks the CHAP response replied by target against its own
79 @param[in] TargetResponse The response from target.
81 @retval EFI_SUCCESS The response from target passed authentication.
82 @retval EFI_SECURITY_VIOLATION The response from target was not expected value.
115 This function checks the received iSCSI Login Response during the security
120 @retval EFI_SUCCESS The Login Response passed the CHAP validation.
141 CHAR8 *Response;
162 // Build the key-value list from the data segment of the Login Response.
175 // The first Login Response.
236 // Calculate Response value [all...] |
/external/libbrillo/brillo/dbus/ |
dbus_object_internal_impl.h | 9 // sent back to the caller of D-Bus method via the response message. 54 // a success or error response message had been sent). 61 // (that is, they do not send an error response). 118 auto response = method_response.CreateCustomResponse(); 119 dbus::MessageWriter writer(response.get()); 121 method_response.SendRawResponse(std::move(response)); 140 // synchronous method handlers that may fail and return an error response 167 auto response = method_response.CreateCustomResponse(); 168 dbus::MessageWriter writer(response.get()); 170 method_response.SendRawResponse(std::move(response)); [all...] |
dbus_object_test_helpers.h | 37 // instance of D-Bus method call response message. We use this in tests 38 // to get the response in case the handler processes a method call request 43 void ReceiveResponse(std::unique_ptr<dbus::Response> response) { 44 response_ = std::move(response); 47 std::unique_ptr<dbus::Response> response_; 53 // call sites. Returns a response from the method handler or nullptr if the 54 // method hasn't provided the response message immediately 56 inline std::unique_ptr<dbus::Response> CallMethod( 59 std::unique_ptr<dbus::Response> response local [all...] |
/external/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.java | 28 import com.android.volley.Response; 135 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); local 136 assertNotNull(response); 137 assertTrue(response.isSuccess()); 138 Bitmap bitmap = response.result; 176 Response.Listener.class, 180 Response.ErrorListener.class)); 184 Response.Listener.class, 189 Response.ErrorListener.class)) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
InterceptorTest.java | 60 final Response interceptorResponse = new Response.Builder() 69 @Override public Response intercept(Chain chain) throws IOException { 74 Response response = client.newCall(request).execute(); local 75 assertSame(interceptorResponse, response); 82 @Override public Response intercept(Chain chain) throws IOException { 83 return new Response.Builder() 112 @Override public Response intercept(Chain chain) throws IOException { 136 @Override public Response intercept(Chain chain) throws IOException 208 Response response = client.newCall(request).execute(); local 305 Response response = client.newCall(request).execute(); local 349 Response response = client.newCall(request).execute(); local 404 Response response = client.newCall(request).execute(); local 519 Response response = client.newCall(request).execute(); local [all...] |
ConnectionReuseTest.java | 125 Response response = client.newCall(request).execute(); local 126 assertEquals("b", response.body().string()); 143 Response response = client.newCall(request).execute(); local 144 assertEquals("b", response.body().string()); 158 Response responseA = client.newCall(request).execute(); 162 Response responseB = client.newCall(request).execute(); 176 Response responseA = client.newCall(requestA).execute(); 184 Response responseB = client.newCall(requestB).execute() 237 Response response = client.newCall(requests[i]).execute(); local 245 Response response = client.newCall(request).execute(); local [all...] |
SocksProxyTest.java | 55 Response response1 = client.newCall(request1).execute(); 59 Response response2 = client.newCall(request2).execute(); 83 Response response = client.newCall(request).execute(); local 84 assertEquals("abc", response.body().string()); 102 Response response1 = client.newCall(request).execute();
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
PutStreamIntegrationTest.java | 59 public Response serve(IHTTPSession session) { 70 return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, e.getMessage()); 73 String response = String.valueOf(method) + ':' + new String(body); local 74 return newFixedLengthResponse(response); 78 public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) {
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
RequestFuture.java | 21 import com.android.volley.Response; 31 * <p>Used by providing as your response and error listeners. For example: 44 * JSONObject response = future.get(); 45 * // do something with response 53 * @param <T> The type of parsed response this future expects. 55 public class RequestFuture<T> implements Future<T>, Response.Listener<T>, Response.ErrorListener { 148 public synchronized void onResponse(T response) { 150 mResult = response;
|
/cts/tests/tests/syncmanager/common/proto/ |
sync_manager_cts.proto | 68 message Response { 74 optional Response response = 2;
|
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/ |
Response.php | 12 * Generated from protobuf message <code>grpc.testing.Response</code> 14 class Response extends \Google\Protobuf\Internal\Message
|
/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/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
Progress.java | 21 import com.squareup.okhttp.Response; 50 @Override public Response intercept(Chain chain) throws IOException { 51 Response originalResponse = chain.proceed(chain.request()); 58 Response response = client.newCall(request).execute(); local 59 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 61 System.out.println(response.body().string());
|
/external/skia/tools/skiaserve/urlhandlers/ |
ClipAlphaHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
ColorModeHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|