/system/bt/hci/src/ |
hci_packet_parser.c | 35 BT_HDR *response, 39 static void parse_generic_command_complete(BT_HDR *response) { 40 read_command_complete_header(response, NO_OPCODE_CHECKING, 0 /* bytes after */); 42 buffer_allocator->free(response); 46 BT_HDR *response, 50 uint8_t *stream = read_command_complete_header(response, HCI_READ_BUFFER_SIZE, 5 /* bytes after */); 56 buffer_allocator->free(response); 60 BT_HDR *response, 63 uint8_t *stream = read_command_complete_header(response, HCI_READ_LOCAL_VERSION_INFO, 8 /* bytes after */); 71 buffer_allocator->free(response); [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...] |
HttpRequestExecutor.java | 49 * Takes care of request preprocessing and response postprocessing 73 * Decide whether a response comes with an entity. 75 * Unknown methods and response codes are supposed to 79 * methods and response codes not specified in RFC 2616. 82 * @param response the response, to obtain the status code 85 final HttpResponse response) { 90 int status = response.getStatusLine().getStatusCode(); 98 * Synchronously send a request and obtain the response. 103 * @return the response to the request, postprocesse 124 HttpResponse response = doSendRequest(request, conn, context); local 203 HttpResponse response = null; local 279 HttpResponse response = null; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocketServletConnectionD00.java | 40 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException 68 response.setHeader("Upgrade","WebSocket"); 69 response.addHeader("Connection","Upgrade"); 72 response.addHeader("Sec-WebSocket-Origin",origin); 74 response.addHeader("Sec-WebSocket-Location",(request.isSecure()?"wss://":"ws://") + host + uri); 77 response.addHeader("Sec-WebSocket-Protocol",subprotocol); 79 response.sendError(101, "WebSocket Protocol Handshake"); 83 response.setHeader("Upgrade","WebSocket"); 84 response.addHeader("Connection","Upgrade"); 85 response.addHeader("WebSocket-Origin",origin) [all...] |
WebSocketServletConnectionD06.java | 39 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException 43 response.setHeader("Upgrade","WebSocket"); 44 response.addHeader("Connection","Upgrade"); 45 response.addHeader("Sec-WebSocket-Accept",hashKey(key)); 48 response.addHeader("Sec-WebSocket-Protocol",subprotocol); 51 response.sendError(101);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/ |
connection.py | 28 import boto.mws.response namespace 58 decorated_attrs = ('action', 'response', 'section', 110 if isinstance(value, boto.mws.response.ResponseElement): 250 response = self._response_factory(action, connection=self) 252 return func(self, request, response, *args, **kw) 265 ResponseFactory = boto.mws.response.ResponseFactory 279 (boto.mws.response, self.ResponseFactory), 302 and return the response, optionally as raw text. 310 response = self._mexe(request, override_num_retries=None) 313 body = response.read( [all...] |
/external/autotest/client/site_tests/power_LoadTest/extension/ |
ct.js | 7 chrome.runtime.sendMessage(request, function(response) { 8 if (response.should_scroll) { 11 var start_interval = Math.max(10000, response.scroll_interval); 13 window.scrollBy(0, response.scroll_by); 16 setTimeout(smoothScrollDown, response.scroll_interval); 17 } else if (response.should_scroll_up) { 22 window.scrollBy(0, -1 * response.scroll_by); 25 setTimeout(smoothScrollUp, response.scroll_interval); 26 } else if (response.scroll_loop) {
|
/libcore/ojluni/src/main/java/sun/net/ |
TransferProtocolClient.java | 54 * Pulls the response from the server and returns the code as a 62 String response; local 75 response = replyBuf.toString(); 78 System.out.print(response); 81 if (response.length() == 0) { 85 code = Integer.parseInt(response.substring(0, 3)); 89 /* this line doesn't contain a response code, so 94 serverResponse.addElement(response); 98 (response.length() >= 4 && response.charAt(3) == '-')) [all...] |
/external/autotest/frontend/afe/ |
resources_test.py | 48 response = self.request('get', 'hosts?locked=true&has_label=label1') 49 self.check_collection(response, 'hostname', ['host1', 'host2']) 53 response = self.request('get', 'hosts?hostname:in=host1,host2') 54 self.check_collection(response, 'hostname', ['host1', 'host2']) 58 response = self.request('get', 'hosts?start_index=1&items_per_page=2') 59 self.check_collection(response, 'hostname', ['host2', 'host3']) 60 self.assertEquals(response['total_results'], 9) 61 self.assertEquals(response['items_per_page'], 2) 62 self.assertEquals(response['start_index'], 1) 66 response = self.request [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneCommandInterface.java | 175 public void setMute (boolean enableMute, Message response) { 179 public void getMute (Message response) { 229 int retry, int messageRef, Message response) { 234 Message response) { 242 public void deleteSmsOnSim(int index, Message response) { 246 public void deleteSmsOnRuim(int index, Message response) { 250 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { 254 public void writeSmsToRuim(int status, String pdu, Message response) { 308 public void queryCallWaiting(int serviceClass, Message response) { 313 Message response) { [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 | 49 // (If def is outside of the low-high range, an explicit response 52 int response, num; local 61 num = sscanf(line, "%d", &response); 62 if (num == 1) { // user provided a response 63 if ((response < low) || (response > high)) 66 response = def; 68 } while ((response < low) || (response > high)); 71 response = low 78 char response; local 102 uint64_t response; local 133 uint64_t response = def, bytesPerUnit = 1, mult = 1, divide = 1; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 176 public void setMute (boolean enableMute, Message response) { 180 public void getMute (Message response) { 230 int retry, int messageRef, Message response) { 235 Message response) { 243 public void deleteSmsOnSim(int index, Message response) { 247 public void deleteSmsOnRuim(int index, Message response) { 251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { 255 public void writeSmsToRuim(int status, String pdu, Message response) { 309 public void queryCallWaiting(int serviceClass, Message response) { 314 Message response) { [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 | 121 * Response {@link #rspIsInactive} 133 public boolean rspIsInactive(Message response) { 134 boolean retVal = response.arg1 == 1; 146 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); local 147 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { 148 value = rspIsInactive(response); 150 log("rspIsInactive error response=" + response); 161 * Response {@link #rspCid 186 Message response = sendMessageSynchronously(REQ_GET_CID); local 228 Message response = sendMessageSynchronously(REQ_GET_APNSETTING); local 270 Message response = sendMessageSynchronously(REQ_GET_LINK_PROPERTIES); local 297 Message response = local 338 Message response = sendMessageSynchronously(REQ_GET_NETWORK_CAPABILITIES); local [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultProxyAuthenticationHandler.java | 58 final HttpResponse response, 60 if (response == null) { 61 throw new IllegalArgumentException("HTTP response may not be null"); 63 int status = response.getStatusLine().getStatusCode(); 68 final HttpResponse response, 70 if (response == null) { 71 throw new IllegalArgumentException("HTTP response may not be null"); 73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
|
DefaultTargetAuthenticationHandler.java | 58 final HttpResponse response, 60 if (response == null) { 61 throw new IllegalArgumentException("HTTP response may not be null"); 63 int status = response.getStatusLine().getStatusCode(); 68 final HttpResponse response, 70 if (response == null) { 71 throw new IllegalArgumentException("HTTP response may not be null"); 73 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/cognito/identity/ |
test_cognito_identity.py | 34 response = self.cognito_identity.list_identity_pools(max_results=5) 37 self.assertIn(expected_identity, response['IdentityPools']) 40 response = self.cognito_identity.describe_identity_pool( 43 self.assertEqual(response['IdentityPoolName'], self.identity_pool_name) 44 self.assertEqual(response['IdentityPoolId'], self.identity_pool_id) 45 self.assertFalse(response['AllowUnauthenticatedIdentities'])
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ses/ |
test_identity.py | 70 response = self.service_connection\ 73 response = response['GetIdentityDkimAttributesResponse'] 74 result = response['GetIdentityDkimAttributesResult'] 120 response = self.service_connection\ 126 response = response['SetIdentityNotificationTopicResponse'] 127 result = response['SetIdentityNotificationTopicResult'] 129 self.assertEqual(2, len(response)) 135 response = self.service_connection [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sts/ |
test_connection.py | 70 response = self.service_connection.assume_role('arn:role', 'mysession') 76 self.assertEqual(response.credentials.access_key, 'accesskey') 77 self.assertEqual(response.credentials.secret_key, 'secretkey') 78 self.assertEqual(response.credentials.session_token, 'session_token') 79 self.assertEqual(response.user.arn, 'arn:role') 80 self.assertEqual(response.user.assume_role_id, 'roleid:myrolesession') 84 response = self.service_connection.assume_role( 97 self.assertEqual(response.credentials.access_key, 'accesskey') 98 self.assertEqual(response.credentials.secret_key, 'secretkey') 99 self.assertEqual(response.credentials.session_token, 'session_token' [all...] |
/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"));
|
/hardware/bsp/intel/peripheral/libmraa/examples/c++/ |
Blink-IO.cpp | 63 mraa::Result response = gpio->dir(mraa::DIR_OUT); local 64 if (response != mraa::SUCCESS) { 65 mraa::printError(response); 70 response = gpio->write(1); 72 response = gpio->write(0); 76 return response;
|
/external/chromium-trace/catapult/third_party/webapp2/tests/resources/ |
handlers.py | 6 self.response.out.write('I am a laaazy view.') 11 self.response.out.write('I am a custom method.') 14 def handle_exception(request, response, exception): 15 return webapp2.Response(body='Hello, custom response world!')
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
ScopedHandler.java | 68 * public void doScope(String target, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException 73 * super.doScope(target,request,response); 81 * public void doHandle(String target, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException 86 * super.doHandle(target,request,response); 132 public final void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException 135 doScope(target,baseRequest,request, response); 137 doHandle(target,baseRequest,request, response); 144 public abstract void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) 151 public final void nextScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) 158 _nextScope.doScope(target,baseRequest,request, response); [all...] |
/external/selinux/libsemanage/include/semanage/ |
booleans_policy.h | 11 semanage_bool_t ** response); 14 const semanage_bool_key_t * key, int *response); 17 unsigned int *response);
|