HomeSort by relevance Sort by last modified time
    Searched refs:response (Results 1 - 25 of 2355) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/net/
ParseException.java 24 public String response; field in class:ParseException
26 ParseException(String response) {
27 this.response = response;
ICaptivePortal.aidl 25 oneway void appResponse(int response);
  /external/libmicrohttpd/src/microhttpd/
response.h 21 * @file response.h
22 * @brief Methods for managing response objects
31 * Increment response RC. Should this be part of the
35 MHD_increment_response_rc (struct MHD_Response *response);
response.c 21 * @file response.c
22 * @brief Methods for managing response objects
28 #include "response.h"
42 * Add a header or footer line to the response.
44 * @param response response to add a header to
51 add_response_entry (struct MHD_Response *response,
58 if ( (NULL == response) ||
84 hdr->next = response->first_header;
85 response->first_header = hdr
247 struct MHD_Response *response; local
318 struct MHD_Response *response = cls; local
340 struct MHD_Response *response = cls; local
368 struct MHD_Response *response; local
419 struct MHD_Response *response; local
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
TunnelRefusedException.java 47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) {
51 this.response = response;
55 return this.response;
  /system/tpm/trunks/aidl/android/trunks/
ITrunksClient.aidl 20 oneway void OnCommandResponse(in byte[] response);
  /system/keymaster/include/keymaster/
android_keymaster.h 53 void GetVersion(const GetVersionRequest& request, GetVersionResponse* response);
55 SupportedAlgorithmsResponse* response);
57 SupportedBlockModesResponse* response);
59 SupportedPaddingModesResponse* response);
61 SupportedDigestsResponse* response);
63 SupportedImportFormatsResponse* response);
65 SupportedExportFormatsResponse* response);
67 void AddRngEntropy(const AddEntropyRequest& request, AddEntropyResponse* response);
68 void Configure(const ConfigureRequest& request, ConfigureResponse* response);
69 void GenerateKey(const GenerateKeyRequest& request, GenerateKeyResponse* response);
    [all...]
  /external/skia/tools/skiaserve/
Response.cpp 8 #include "Response.h"
42 namespace Response {
43 // SendOK just sends an empty response with a 200 OK status code.
47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), local
50 int ret = MHD_queue_response(connection, 200, response);
51 MHD_destroy_response(response);
56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), local
59 int ret = MHD_queue_response(connection, 500, response);
60 MHD_destroy_response(response);
66 MHD_Response* response = MHD_create_response_from_buffer(data->size() local
83 MHD_Response* response = MHD_create_response_from_buffer( local
    [all...]
  /external/tpm2/include/tpm2/
ExecCommand_fp.h 11 unsigned int *responseSize, // OUT: response buffer size
12 unsigned char **response // OUT: response buffer
  /system/bt/hci/include/
hci_packet_parser.h 30 void (*parse_generic_command_complete)(BT_HDR* response);
32 void (*parse_read_buffer_size_response)(BT_HDR* response,
36 void (*parse_read_local_version_info_response)(BT_HDR* response,
39 void (*parse_read_bd_addr_response)(BT_HDR* response,
43 BT_HDR* response, uint8_t* supported_commands_ptr,
47 BT_HDR* response, uint8_t* page_number_ptr, uint8_t* max_page_number_ptr,
50 void (*parse_ble_read_white_list_size_response)(BT_HDR* response,
53 void (*parse_ble_read_buffer_size_response)(BT_HDR* response,
58 BT_HDR* response, uint8_t* supported_states,
62 BT_HDR* response, bt_device_features_t* supported_features)
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
URLConnectionBenchmark.java 42 private MockResponse response; field in class:URLConnectionBenchmark.SingleResponseDispatcher
43 SingleResponseDispatcher(MockResponse response) {
44 this.response = response;
47 return response;
55 MockResponse response = new MockResponse(); local
56 responseHeaders.apply(response);
57 transferEncoding.setBody(response, bodySize, chunkSize);
59 // keep serving the same response for all iterations
60 server.setDispatcher(new SingleResponseDispatcher(response));
    [all...]
  /frameworks/base/tools/preload/loadclass/
LoadClass.java 59 StringBuilder response = new StringBuilder("DECAFBAD"); local
64 response.append(',').append(memoryInfo.nativeSharedDirty);
65 response.append(',').append(memoryInfo.dalvikSharedDirty);
66 response.append(',').append(memoryInfo.otherSharedDirty);
67 response.append(',').append(memoryInfo.nativePrivateDirty);
68 response.append(',').append(memoryInfo.dalvikPrivateDirty);
69 response.append(',').append(memoryInfo.otherPrivateDirty);
71 response.append(',').append(allocCount);
72 response.append(',').append(allocSize);
73 response.append(',').append(freedCount)
    [all...]
  /system/keymaster/
android_keymaster.cpp 86 SupportedResponse<T>* response) {
88 response->error = KM_ERROR_UNSUPPORTED_ALGORITHM;
105 SupportedAlgorithmsResponse* response) {
106 if (response == NULL)
109 response->error = KM_ERROR_OK;
115 response->results_length = algorithm_count;
116 response->results = dup_array(algorithms, algorithm_count);
117 if (!response->results)
118 response->error = KM_ERROR_MEMORY_ALLOCATION_FAILED;
125 SupportedResponse<T>* response) {
    [all...]
  /system/bt/hci/src/
hci_packet_parser.cc 34 static uint8_t* read_command_complete_header(BT_HDR* response,
38 static void parse_generic_command_complete(BT_HDR* response) {
39 read_command_complete_header(response, NO_OPCODE_CHECKING,
42 buffer_allocator->free(response);
45 static void parse_read_buffer_size_response(BT_HDR* response,
48 uint8_t* stream = read_command_complete_header(response, HCI_READ_BUFFER_SIZE,
55 buffer_allocator->free(response);
58 static void parse_read_local_version_info_response(BT_HDR* response,
61 response, HCI_READ_LOCAL_VERSION_INFO, 8 /* bytes after */);
69 buffer_allocator->free(response);
    [all...]
  /hardware/ril/libril/
ril_service.h 27 int token, RIL_Errno e, void *response, size_t responselen);
30 int responseType, int serial, RIL_Errno e, void *response,
34 int responseType, int serial, RIL_Errno e, void *response,
38 int responseType, int serial, RIL_Errno e, void *response,
42 int responseType, int serial, RIL_Errno e, void *response,
46 int responseType, int serial, RIL_Errno e, void *response,
50 int responseType, int serial, RIL_Errno e, void *response,
55 void *response, size_t responselen);
58 int responseType, int serial, RIL_Errno e, void *response,
62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen)
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
GZipIntegrationTest.java 60 public Response response; field in class:GZipIntegrationTest.TestServer
67 public Response serve(IHTTPSession session) {
68 return response;
72 protected boolean useGzipWhenAccepted(Response r) {
84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
87 HttpResponse response = httpclient.execute(request); local
88 Header contentEncoding = response.getFirstHeader("content-encoding");
96 testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data)
99 HttpResponse response = httpclient.execute(request); local
110 HttpResponse response = httpclient.execute(request); local
121 HttpResponse response = httpclient.execute(request); local
131 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); local
141 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); local
149 HttpResponse response = httpclient.execute(request); local
161 HttpResponse response = httpclient.execute(request); local
    [all...]
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
PushPromise.java 25 private final MockResponse response; field in class:PushPromise
27 public PushPromise(String method, String path, Headers headers, MockResponse response) {
31 this.response = response;
47 return response;
  /frameworks/base/tests/AmSlam/src/test/amslam/
PingReceiver.java 29 Intent response = new Intent(this, PongReceiver.class); local
30 response.putExtra("start_time", intent.getLongExtra("start_time", 0));
31 response.putExtra("bounce_time", SystemClock.uptimeMillis());
32 response.putExtra("receiver", getClass().getSimpleName());
33 sendBroadcast(response);
  /frameworks/base/core/java/android/accounts/
IAccountAuthenticator.aidl 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType,
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType);
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
60 void editProperties(in IAccountAuthenticatorResponse response, String accountType);
66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account,
72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account);
77 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response,
84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
ResponseContent.java 46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context)
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response.containsHeader
    [all...]
  /system/core/libappfuse/tests/
FuseBufferTest.cc 116 FuseResponse response; local
118 memset(response.read_data, 'a', 10);
120 response.Reset(0, -1, 2);
121 EXPECT_EQ(sizeof(fuse_out_header), response.header.len);
122 EXPECT_EQ(-1, response.header.error);
123 EXPECT_EQ(2u, response.header.unique);
124 EXPECT_EQ('a', response.read_data[0]);
125 EXPECT_EQ('a', response.read_data[9]);
127 response.Reset(5, -4, 3);
128 EXPECT_EQ(sizeof(fuse_out_header) + 5, response.header.len)
140 FuseResponse response; local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
MyHostFelicaService.java 39 byte[] response = new byte[13];
40 response[0] = 0x0D; // length
41 response[1] = RESPONSE_SYSTEM_CODES; // get system codes resp
42 System.arraycopy(sc_request, 2, response, 2, 8);
43 response[10] = 0x01;
44 response[11] = 0x40;
45 response[12] = 0x01;
46 return response;
50 byte[] response = new byte[echo_request.length];
51 response[0] = (byte) echo_request.length
    [all...]
  /external/gptfdisk/
support.cc 51 // (If def is outside of the low-high range, an explicit response
54 int response, num; local
63 num = sscanf(line, "%d", &response);
64 if (num == 1) { // user provided a response
65 if ((response < low) || (response > high))
68 response = def;
70 } while ((response < low) || (response > high));
73 response = low
80 char response; local
104 uint64_t response; local
135 uint64_t response = def, bytesPerUnit = 1, mult = 1, divide = 1; local
    [all...]
  /external/vboot_reference/firmware/lib/tpm_lite/
tlcl.c 43 /* Gets the size field of a TPM request or response. */
64 uint8_t* response, int max_length) {
77 response, &response_length);
79 /* Communication with TPM failed, so response is garbage */
84 /* Otherwise, use the result code from the response */
85 result = TpmReturnCode(response);
88 * (and possibly expected length from the response header). See
92 VBDEBUG(("TPM: response: %x%x %x%x%x%x %x%x%x%x\n",
93 response[0], response[1]
141 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
176 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
195 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
213 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
235 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
280 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
295 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE + TPM_PUBEK_SIZE]; local
326 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
343 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
387 uint8_t response[kTpmResponseHeaderLength + kPcrDigestLength]; local
404 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
421 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
439 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcAsyncChannel.java 123 * Response {@link #rspIsInactive}
135 public boolean rspIsInactive(Message response) {
136 boolean retVal = response.arg1 == 1;
148 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); local
149 if ((response != null) && (response.what == RSP_IS_INACTIVE)) {
150 value = rspIsInactive(response);
152 log("rspIsInactive error response=" + response);
163 * Response {@link #rspCid
188 Message response = sendMessageSynchronously(REQ_GET_CID); local
230 Message response = sendMessageSynchronously(REQ_GET_APNSETTING); local
272 Message response = sendMessageSynchronously(REQ_GET_LINK_PROPERTIES); local
299 Message response = local
340 Message response = sendMessageSynchronously(REQ_GET_NETWORK_CAPABILITIES); local
    [all...]

Completed in 3065 milliseconds

1 2 3 4 5 6 7 8 91011>>