Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 80) sorted by relevance

1234

/device/google/cuttlefish_common/guest/hals/ril/libril/
Dril_service.h27 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 …]
Dril_service.cpp106 void convertRilHardwareConfigListToHal(void *response, size_t responseLen,
109 void convertRilRadioCapabilityToHal(void *response, size_t responseLen, RadioCapability& rc);
111 void convertRilLceDataInfoToHal(void *response, size_t responseLen, LceDataInfo& lce);
113 void convertRilSignalStrengthToHal(void *response, size_t responseLen,
122 void convertRilDataCallListToHal(void *response, size_t responseLen,
125 void convertRilCellInfoListToHal(void *response, size_t responseLen, hidl_vec<CellInfo>& records);
3536 void *response, size_t responseLen) { in responseIntOrEmpty() argument
3540 if (response == NULL && responseLen == 0) { in responseIntOrEmpty()
3544 } else if (response == NULL || responseLen != sizeof(int)) { in responseIntOrEmpty()
3548 int *p_int = (int *) response; in responseIntOrEmpty()
[all …]
/device/google/marlin/dataservices/rmnetctl/src/
Dlibrmnetctl.c107 struct rmnet_nl_msg_s *response) { in rmnetctl_transact() argument
126 if (!response){ in rmnetctl_transact()
187 memcpy(response, (void *)NLMSG_DATA(response_buf), in rmnetctl_transact()
189 if (sizeof(*response) < sizeof(struct rmnet_nl_msg_s)) { in rmnetctl_transact()
196 if (request->message_type != response->message_type) { in rmnetctl_transact()
387 struct rmnet_nl_msg_s request, response; in rmnet_associate_network_device() local
408 if ((*error_code = rmnetctl_transact(hndl, &request, &response)) in rmnet_associate_network_device()
411 if (_rmnetctl_check_code(response.crd, error_code) != RMNETCTL_SUCCESS) in rmnet_associate_network_device()
413 return_code = _rmnetctl_set_codes(response.return_code, error_code); in rmnet_associate_network_device()
422 struct rmnet_nl_msg_s request, response; in rmnet_get_network_device_associated() local
[all …]
/device/google/cuttlefish_common/guest/libs/remoter/
Dremoter_framework_pkt.h171 int socket, struct remoter_response_packet* response) { in remoter_read_response() argument
178 sizeof(response->length)); in remoter_read_response()
181 read(socket, response, sizeof(response->length)))) < 0) { in remoter_read_response()
187 } else if (len != sizeof(response->length)) { in remoter_read_response()
193 if (response->length != sizeof(*response)) { in remoter_read_response()
197 remaining_data = response->length - sizeof(response->length); in remoter_read_response()
198 uint8_t* cursor = ((uint8_t*)response) + sizeof(response->length); in remoter_read_response()
235 struct remoter_response_packet* response) { in remoter_send_response() argument
236 int len = socket->Write(response, sizeof(*response)); in remoter_send_response()
247 struct remoter_response_packet* response) { in remoter_do_single_request_with_socket() argument
[all …]
/device/google/cuttlefish_common/guest/hals/gatekeeper/
DSoftGateKeeperDevice.cpp56 EnrollResponse response; in enroll() local
58 impl_->Enroll(request, &response); in enroll()
60 if (response.error == ERROR_RETRY) { in enroll()
61 return response.retry_timeout; in enroll()
62 } else if (response.error != ERROR_NONE) { in enroll()
66 *enrolled_password_handle = response.enrolled_password_handle.buffer.release(); in enroll()
72 *enrolled_password_handle_length = response.enrolled_password_handle.length; in enroll()
94 VerifyResponse response; in verify() local
96 impl_->Verify(request, &response); in verify()
98 if (response.error == ERROR_RETRY) { in verify()
[all …]
/device/generic/goldfish/gatekeeper/
DSoftGateKeeperDevice.cpp56 EnrollResponse response; in enroll() local
58 impl_->Enroll(request, &response); in enroll()
60 if (response.error == ERROR_RETRY) { in enroll()
61 return response.retry_timeout; in enroll()
62 } else if (response.error != ERROR_NONE) { in enroll()
66 *enrolled_password_handle = response.enrolled_password_handle.buffer.release(); in enroll()
72 *enrolled_password_handle_length = response.enrolled_password_handle.length; in enroll()
94 VerifyResponse response; in verify() local
96 impl_->Verify(request, &response); in verify()
98 if (response.error == ERROR_RETRY) { in verify()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_docxmlrpc.py98 response = self.client.getresponse()
100 self.assertEqual(response.status, 200)
101 self.assertEqual(response.getheader("Content-type"), "text/html")
104 response.read()
108 response = self.client.getresponse()
110 self.assertEqual(response.status, 404)
111 self.assertEqual(response.getheader("Content-type"), "text/plain")
113 response.read()
123 response = self.client.getresponse()
127 response.read())
[all …]
Dtest_httpservers.py115 def verify_http_server_response(self, response): argument
116 match = self.HTTPResponseMatch.search(response)
304 def check_status_and_reason(self, response, status, data=None): argument
305 body = response.read()
306 self.assertTrue(response)
307 self.assertEqual(response.status, status)
308 self.assertIsNotNone(response.reason)
314 response = self.request(self.tempdir_name + '/test')
315 self.check_status_and_reason(response, 200, data=self.data)
316 response = self.request(self.tempdir_name + '/')
[all …]
/device/google/wahoo/wifi_offload/
Dchre_interface.cpp72 void SocketCallbacks::handleHubInfoResponse(const fbs::HubInfoResponseT& response) { in handleHubInfoResponse() argument
74 LOG(VERBOSE) << "Hub Info name: " << getStringFromByteVector(response.name); in handleHubInfoResponse()
75 LOG(VERBOSE) << "Version : " << response.chre_platform_version; in handleHubInfoResponse()
76 LOG(VERBOSE) << "Legacy Platform Version: " << response.platform_version; in handleHubInfoResponse()
77 LOG(VERBOSE) << "Legacy Toolchain Version: " << response.toolchain_version; in handleHubInfoResponse()
78 LOG(VERBOSE) << "Peak Mips: " << response.peak_mips; in handleHubInfoResponse()
79 LOG(VERBOSE) << "Stopped Power: " << response.stopped_power; in handleHubInfoResponse()
80 LOG(VERBOSE) << "Sleep Power: " << response.sleep_power; in handleHubInfoResponse()
81 LOG(VERBOSE) << "Peak Power: " << response.peak_power; in handleHubInfoResponse()
82 LOG(VERBOSE) << "Platform ID: " << response.platform_id; in handleHubInfoResponse()
[all …]
Dchre_interface.h43 void handleHubInfoResponse(const ::chre::fbs::HubInfoResponseT& response) override;
44 void handleNanoappListResponse(const ::chre::fbs::NanoappListResponseT& response) override;
45 void handleLoadNanoappResponse(const ::chre::fbs::LoadNanoappResponseT& response) override;
46 void handleUnloadNanoappResponse(const ::chre::fbs::UnloadNanoappResponseT& response) override;
/device/generic/goldfish/keymaster/trusty/
Dtrusty_keymaster_device.cpp181 ConfigureResponse response; in configure() local
182 keymaster_error_t err = Send(KM_CONFIGURE, request, &response); in configure()
195 AddEntropyResponse response; in add_rng_entropy() local
196 return Send(KM_ADD_RNG_ENTROPY, request, &response); in add_rng_entropy()
218 GenerateKeyResponse response(message_version_); in generate_key() local
219 keymaster_error_t err = Send(KM_GENERATE_KEY, request, &response); in generate_key()
225 key_blob->key_material_size = response.key_blob.key_material_size; in generate_key()
227 DuplicateBuffer(response.key_blob.key_material, response.key_blob.key_material_size); in generate_key()
233 response.enforced.CopyToParamSet(&characteristics->hw_enforced); in generate_key()
234 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in generate_key()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
Dcss_pm_scpi.c121 uint32_t response; in css_scp_sys_shutdown() local
130 response = scpi_sys_power_state(scpi_system_shutdown); in css_scp_sys_shutdown()
132 if (response != SCP_OK) { in css_scp_sys_shutdown()
133 ERROR("CSS System Off: SCP error %u.\n", response); in css_scp_sys_shutdown()
146 uint32_t response; in css_scp_sys_reboot() local
155 response = scpi_sys_power_state(scpi_system_reboot); in css_scp_sys_reboot()
157 if (response != SCP_OK) { in css_scp_sys_reboot()
158 ERROR("CSS System Reset: SCP error %u.\n", response); in css_scp_sys_reboot()
Dcss_bom_bootloader.c104 uint32_t response; in css_scp_boot_image_xfer() local
157 response = scp_boot_message_wait(sizeof(response)); in css_scp_boot_image_xfer()
160 if (response != 0) { in css_scp_boot_image_xfer()
161 ERROR("SCP BOOT_CMD_INFO returned error %u\n", response); in css_scp_boot_image_xfer()
176 response = scp_boot_message_wait(sizeof(response)); in css_scp_boot_image_xfer()
179 if (response != 0) { in css_scp_boot_image_xfer()
180 ERROR("SCP BOOT_CMD_DATA returned error %u\n", response); in css_scp_boot_image_xfer()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DSimpleXMLRPCServer.py258 response = dispatch_method(method, params)
260 response = self._dispatch(method, params)
262 response = (response,)
263 response = xmlrpclib.dumps(response, methodresponse=1,
266 response = xmlrpclib.dumps(fault, allow_none=self.allow_none,
271 response = xmlrpclib.dumps(
276 return response
502 response = self.server._marshaled_dispatch(
522 if len(response) > self.encode_threshold:
526 response = xmlrpclib.gzip_encode(response)
[all …]
Dxmlrpclib.py1199 def __init__(self, response): argument
1204 self.stringio = StringIO.StringIO(response.read())
1294 response = h.getresponse(buffering=True)
1295 if response.status == 200:
1297 return self.parse_response(response)
1307 if (response.getheader("content-length", 0)):
1308 response.read()
1311 response.status, response.reason,
1312 response.msg,
1447 def parse_response(self, response): argument
[all …]
DDocXMLRPCServer.py236 response = self.server.generate_html_documentation()
239 self.send_header("Content-length", str(len(response)))
241 self.wfile.write(response)
270 response = self.generate_html_documentation()
273 print 'Content-Length: %d' % len(response)
275 sys.stdout.write(response)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dserver.py127 response = ""
128 while "\n" not in response and len(response) < 100:
132 response = response + data
134 response = string.atol(string.strip(response))
137 print "Invalid response syntax", repr(response)
139 if not self._compare_challenge_response(challenge, response):
141 print "Invalid response value", repr(response)
Dsecurity.py28 def _compare_challenge_response(self, challenge, response): argument
29 return self._encode_challenge(challenge) == response
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scpi/
Dcss_scpi.c179 scpi_cmd_t response; in scpi_get_css_power_state() local
211 scpi_secure_message_receive(&response); in scpi_get_css_power_state()
213 if (response.status != SCP_OK) in scpi_get_css_power_state()
217 if (!CHECK_RESPONSE(response, cluster)) in scpi_get_css_power_state()
241 scpi_cmd_t response; in scpi_sys_power_state() local
256 scpi_secure_message_receive(&response); in scpi_sys_power_state()
260 return response.status; in scpi_sys_power_state()
Dcss_mhu.c64 uint32_t response; in mhu_secure_message_wait() local
65 while (!(response = mmio_read_32(PLAT_CSS_MHU_BASE + SCP_INTR_S_STAT))) in mhu_secure_message_wait()
68 return response; in mhu_secure_message_wait()
/device/generic/goldfish/ril/
Dreference-ril.c223 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
284 static int parse_technology_response(const char *response, int *current, int32_t *preferred);
364 static int parseSimResponseLine(char* line, RIL_SIM_IO_Response* response) { in parseSimResponseLine() argument
369 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine()
371 err = at_tok_nextint(&line, &response->sw2); in parseSimResponseLine()
375 err = at_tok_nextstr(&line, &response->simResponse); in parseSimResponseLine()
430 static void parseAuthResponse(char* line, RIL_SIM_IO_Response* response) { in parseAuthResponse() argument
440 sscanf(line + (len -5), "%2x%2x", &(response->sw1), &(response->sw2)); in parseAuthResponse()
442 response->simResponse = strdup(data_ptr); in parseAuthResponse()
654 RIL_Data_Call_Response_v11 *response = responses; in requestOrSendDataCallList() local
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-shmem.c225 xf_proxy_message_t *response; in xf_shmem_process_output() local
246 response = XF_PROXY_RESPONSE(core, XF_QUEUE_IDX(write_idx)); in xf_shmem_process_output()
249 response->session_id = m->id; in xf_shmem_process_output()
250 response->opcode = m->opcode; in xf_shmem_process_output()
251 response->length = m->length; in xf_shmem_process_output()
252 response->address = xf_ipc_b2a(core, m->buffer); in xf_shmem_process_output()
254 XF_PROXY_FLUSH(response, sizeof(*response)); in xf_shmem_process_output()
/device/google/cuttlefish_common/host/commands/stop_cvd/
Dmain.cc143 cvd::LauncherResponse response; in main() local
144 auto bytes_recv = monitor_socket->Recv(&response, sizeof(response), 0); in main()
150 if (response != cvd::LauncherResponse::kSuccess) { in main()
151 LOG(ERROR) << "Received '" << static_cast<char>(response) in main()
/device/google/cuttlefish_common/host/commands/launch/
Dmain.cc329 auto response = cvd::LauncherResponse::kSuccess; in ServerLoop() local
330 client->Write(&response, sizeof(response)); in ServerLoop()
333 auto response = cvd::LauncherResponse::kError; in ServerLoop() local
334 client->Write(&response, sizeof(response)); in ServerLoop()
340 auto response = cvd::LauncherResponse::kError; in ServerLoop() local
341 client->Write(&response, sizeof(response)); in ServerLoop()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_private.h40 int hikey_get_partition_size(const char *arg, int left, char *response);
41 int hikey_get_partition_type(const char *arg, int left, char *response);

1234