/external/volley/src/main/java/com/android/volley/toolbox/ |
ClearCacheRequest.java | 22 import com.android.volley.Response; 63 protected Response<Object> parseNetworkResponse(NetworkResponse response) { 68 protected void deliverResponse(Object response) {
|
/prebuilts/go/darwin-x86/src/net/http/ |
responsewrite_test.go | 15 Resp Response 23 Response{ 37 // Unchunked response without Content-Length. 39 Response{ 52 // HTTP/1.1 response with unknown length and Connection: close 54 Response{ 69 // HTTP/1.1 response with unknown length and not setting connection: close 71 Response{ 86 // HTTP/1.1 response with unknown length and not setting connection: close, but 89 Response{ [all...] |
filetransport.go | 34 func (t fileTransport) RoundTrip(req *Request) (resp *Response, err error) { 38 // sends our *Response on, once the *Response itself has been 49 func newPopulateResponseWriter() (*populateResponse, <-chan *Response) { 52 ch: make(chan *Response), 54 res: &Response{ 65 // populateResponse is a ResponseWriter that populates the *Response 66 // in res, and writes its body to a pipe connected to the response 67 // body. Once writes begin or finish() is called, the response is sent 70 res *Response [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
responsewrite_test.go | 15 Resp Response 23 Response{ 37 // Unchunked response without Content-Length. 39 Response{ 52 // HTTP/1.1 response with unknown length and Connection: close 54 Response{ 69 // HTTP/1.1 response with unknown length and not setting connection: close 71 Response{ 86 // HTTP/1.1 response with unknown length and not setting connection: close, but 89 Response{ [all...] |
filetransport.go | 34 func (t fileTransport) RoundTrip(req *Request) (resp *Response, err error) { 38 // sends our *Response on, once the *Response itself has been 49 func newPopulateResponseWriter() (*populateResponse, <-chan *Response) { 52 ch: make(chan *Response), 54 res: &Response{ 65 // populateResponse is a ResponseWriter that populates the *Response 66 // in res, and writes its body to a pipe connected to the response 67 // body. Once writes begin or finish() is called, the response is sent 70 res *Response [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
Tpm2Acpi.h | 46 UINT64 Response;
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
WebServerPlugin.java | 50 NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType);
|
SimpleWebServer.java | 54 import fi.iki.elonen.NanoHTTPD.Response.IStatus; 266 protected Response getForbiddenResponse(String s) { 267 return newFixedLengthResponse(Response.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "FORBIDDEN: " + s); 270 protected Response getInternalErrorResponse(String s) { 271 return newFixedLengthResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, "INTERNAL ERROR: " + s); 274 protected Response getNotFoundResponse() { 275 return newFixedLengthResponse(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, "Error 404, file not found."); 353 public static Response newFixedLengthResponse(IStatus status, String mimeType, String message) { 354 Response response = NanoHTTPD.newFixedLengthResponse(status, mimeType, message) local 424 Response response = null; local [all...] |
/external/skia/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 12 #include "../Response.h" 14 using namespace Response;
|
/external/volley/src/test/java/com/android/volley/mock/ |
MockRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 64 protected void deliverResponse(byte[] response) { 96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { 98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data));
|
/system/nvram/hal/ |
testing_nvram_implementation.cpp | 42 nvram::Response* response) override; 51 bool SendRequest(const nvram::Request& request, nvram::Response* response); 71 nvram::Response* response) { 72 if (!SendRequest(request, response)) { 73 response->result = NV_RESULT_INTERNAL_ERROR; 95 nvram::Response* response) { [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CacheResponse.java | 21 import com.squareup.okhttp.Response; 41 Response response1 = client.newCall(request).execute(); 45 System.out.println("Response 1 response: " + response1); 46 System.out.println("Response 1 cache response: " + response1.cacheResponse()); 47 System.out.println("Response 1 network response: " + response1.networkResponse()); 49 Response response2 = client.newCall(request).execute(); 53 System.out.println("Response 2 response: " + response2) [all...] |
CheckHandshake.java | 22 import com.squareup.okhttp.Response; 33 @Override public Response intercept(Chain chain) throws IOException { 55 Response response = client.newCall(request).execute(); local 56 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 58 System.out.println(response.body().string());
|
PerCallSettings.java | 20 import com.squareup.okhttp.Response; 36 Response response = cloned.newCall(request).execute(); local 37 System.out.println("Response 1 succeeded: " + response); 39 System.out.println("Response 1 failed: " + e); 46 Response response = cloned.newCall(request).execute(); local 47 System.out.println("Response 2 succeeded: " + response); [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
Mmc.h | 38 #define MMC_CSD_GET_CCC(Response) (Response[2] >> 20)
39 #define MMC_CSD_GET_TRANSPEED(Response) (Response[3] & 0xFF)
40 #define MMC_CSD_GET_READBLLEN(Response) ((Response[2] >> 16) & 0xF)
41 #define MMC_CSD_GET_WRITEBLLEN(Response) ((Response[0] >> 22) & 0xF)
42 #define MMC_CSD_GET_FILEFORMAT(Response) ((Response[0] >> 10) & 0x3) [all...] |
MmcIdentification.c | 95 DEBUG ((EFI_D_ERROR, "EmmcGetDeviceState(): Failed to get response of CMD13, Status=%r.\n", Status));
144 IN OCR_RESPONSE Response
317 UINT32 Response[4];
337 // Read Response
338 Status = MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_CSD, Response);
343 PrintCSD (Response);
344 if (MMC_CSD_GET_CCC(Response) & SD_CCC_SWITCH)
350 CardSize = HC_MMC_CSD_GET_DEVICESIZE (Response);
352 BlockSize = 1 << MMC_CSD_GET_READBLLEN (Response);
354 CardSize = MMC_CSD_GET_DEVICESIZE (Response);
[all...] |
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/ |
AppNanolets.java | 51 import fi.iki.elonen.NanoHTTPD.Response.IStatus; 52 import fi.iki.elonen.NanoHTTPD.Response.Status; 91 public NanoHTTPD.Response.IStatus getStatus() { 92 return NanoHTTPD.Response.Status.OK; 95 public NanoHTTPD.Response get(UriResource uriResource, Map<String, String> urlParams, NanoHTTPD.IHTTPSession session) {
|
/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/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...] |
/external/v8/src/inspector/ |
v8-value-copier.cc | 76 protocol::Response toProtocolValue(v8::Local<v8::Context> context, 79 using protocol::Response; 82 return Response::InternalError(); 85 if (!maxDepth) return Response::Error("Object reference chain is too long"); 90 return Response::OK(); 95 return Response::OK(); 102 return Response::OK(); 105 return Response::OK(); 110 return Response::OK(); 120 return Response::InternalError() 122 Response response = toProtocolValue(context, value, maxDepth, &element); local 154 Response response = local [all...] |
v8-profiler-agent-impl.cc | 204 Response V8ProfilerAgentImpl::enable() { 205 if (m_enabled) return Response::OK(); 210 return Response::OK(); 213 Response V8ProfilerAgentImpl::disable() { 214 if (!m_enabled) return Response::OK(); 223 return Response::OK(); 226 Response V8ProfilerAgentImpl::setSamplingInterval(int interval) { 228 return Response::Error("Cannot change sampling interval when profiling."); 231 return Response::OK(); 250 Response V8ProfilerAgentImpl::start() [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...] |
/external/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.java | 24 import com.android.volley.Response; 130 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); local 131 assertNotNull(response); 132 assertTrue(response.isSuccess()); 133 Bitmap bitmap = response.result; 167 assertNotNull(ImageRequest.class.getConstructor(String.class, Response.Listener.class, 168 int.class, int.class, Bitmap.Config.class, Response.ErrorListener.class)); 169 assertNotNull(ImageRequest.class.getConstructor(String.class, Response.Listener.class, 171 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...] |