Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 23 of 23) sorted by relevance

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c137 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion() local
138 resp->hwType = htole16(platHwType()); in getOsHwVersion()
139 resp->hwVer = htole16(platHwVer()); in getOsHwVersion()
140 resp->blVer = htole16(platBlVer()); in getOsHwVersion()
141 resp->osVer = htole16(OS_VER); in getOsHwVersion()
142 resp->variantVer = htole32(VARIANT_VER); in getOsHwVersion()
144 return sizeof(*resp); in getOsHwVersion()
150 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion() local
154 resp->appVer = htole32(appVer); in getAppVersion()
155 return sizeof(*resp); in getAppVersion()
[all …]
DhostIntf.c405 static void hostIntfTxSendAck(uint32_t resp) in hostIntfTxSendAck() argument
409 if (resp == NANOHUB_FAST_UNHANDLED_ACK) { in hostIntfTxSendAck()
412 } else if (resp == NANOHUB_FAST_DONT_ACK) { in hostIntfTxSendAck()
415 hostIntfTxPacket(mRxCmd->reason, resp, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfTxSendAck()
434 uint32_t resp = NANOHUB_FAST_UNHANDLED_ACK; in hostIntfGenerateAck() local
447 resp = mRxCmd->fastHandler(rxPayload, rx_len, txPayload, mRxTimestamp); in hostIntfGenerateAck()
449 hostIntfTxSendAck(resp); in hostIntfGenerateAck()
1114 struct NanohubHalSysMgmtTx *resp; in hostIntfNotifyReboot() local
1115 resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot()
1116 if (resp) { in hostIntfNotifyReboot()
[all …]
/device/linaro/dragonboard/shared/utils/rmtfs/
Drmtfs.c56 struct rmtfs_open_resp resp = {}; in rmtfs_open() local
68 qmi_result_error(&resp.result, QMI_RMTFS_ERR_MALFORMED_MSG); in rmtfs_open()
74 qmi_result_error(&resp.result, QMI_RMTFS_ERR_INTERNAL); in rmtfs_open()
79 resp.caller_id = caller_id; in rmtfs_open()
80 resp.caller_id_valid = true; in rmtfs_open()
84 req.path, caller_id, resp.result.result, resp.result.error); in rmtfs_open()
87 QMI_RESPONSE, QMI_RMTFS_OPEN, txn, &resp, in rmtfs_open()
104 struct rmtfs_close_resp resp = {}; in rmtfs_close() local
115 qmi_result_error(&resp.result, QMI_RMTFS_ERR_MALFORMED_MSG); in rmtfs_close()
121 qmi_result_error(&resp.result, QMI_RMTFS_ERR_INTERNAL); in rmtfs_close()
[all …]
/device/google/cuttlefish/host/libs/allocd/test/
Dclient.cpp63 auto resp = resp_opt.value(); in main() local
64 std::cout << resp << "\n"; in main()
65 std::cout << "New ID operation: " << resp["request_status"] << std::endl; in main()
66 std::cout << "New ID: " << resp["id"] << std::endl; in main()
93 auto resp = resp_opt.value(); in main() local
95 std::cout << resp << "\n"; in main()
96 std::cout << "Create Interface operation: " << resp["request_status"] in main()
98 std::cout << resp["iface_name"] << std::endl; in main()
119 auto resp = resp_opt.value(); in main() local
121 std::cout << resp << "\n"; in main()
[all …]
/device/google/cuttlefish/host/commands/assemble_cvd/
Dalloc.cc85 auto resp = resp_opt.value(); in AllocateNetworkInterfaces() local
87 CHECK(resp.isMember("config_status") && !resp["config_status"].isString()) in AllocateNetworkInterfaces()
88 << "Bad response from allocd: " << resp; in AllocateNetworkInterfaces()
91 resp["config_status"].asString(), in AllocateNetworkInterfaces()
93 <<"Failed to allocate interfaces " << resp; in AllocateNetworkInterfaces()
95 CHECK(resp.isMember("session_id") && resp["session_id"].isUInt()) in AllocateNetworkInterfaces()
96 << "Bad response from allocd: " << resp; in AllocateNetworkInterfaces()
97 auto session_id = resp["session_id"].asUInt(); in AllocateNetworkInterfaces()
99 CHECK(resp.isMember("response_list") && resp["response_list"].isArray()) in AllocateNetworkInterfaces()
100 << "Bad response from allocd: " << resp; in AllocateNetworkInterfaces()
[all …]
/device/linaro/dragonboard/shared/utils/pd-mapper/
Dpd-mapper.c59 struct servreg_loc_get_domain_list_resp resp = {}; in handle_get_domain_list() local
72 resp.result.result = QMI_RESULT_FAILURE; in handle_get_domain_list()
73 resp.result.error = QMI_ERR_MALFORMED_MSG; in handle_get_domain_list()
79 resp.result.result = QMI_RESULT_SUCCESS; in handle_get_domain_list()
80 resp.db_revision_valid = 1; in handle_get_domain_list()
81 resp.db_revision = 1; in handle_get_domain_list()
85 entry = &resp.domain_list[resp.domain_list_len++]; in handle_get_domain_list()
95 if (resp.domain_list_len) in handle_get_domain_list()
96 resp.domain_list_valid = 1; in handle_get_domain_list()
98 resp.total_domains_valid = 1; in handle_get_domain_list()
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dipa_qmi_service_v01.h372 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
512 struct ipa_qmi_response_type_v01 resp; member
1115 struct ipa_qmi_response_type_v01 resp; member
1304 struct ipa_qmi_response_type_v01 resp; member
1349 struct ipa_qmi_response_type_v01 resp; member
1372 struct ipa_qmi_response_type_v01 resp; member
1613 struct ipa_qmi_response_type_v01 resp; member
1680 struct ipa_qmi_response_type_v01 resp; member
1766 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dipa_qmi_service_v01.h372 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
512 struct ipa_qmi_response_type_v01 resp; member
1115 struct ipa_qmi_response_type_v01 resp; member
1304 struct ipa_qmi_response_type_v01 resp; member
1349 struct ipa_qmi_response_type_v01 resp; member
1372 struct ipa_qmi_response_type_v01 resp; member
1613 struct ipa_qmi_response_type_v01 resp; member
1680 struct ipa_qmi_response_type_v01 resp; member
1766 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dipa_qmi_service_v01.h125 struct ipa_qmi_response_type_v01 resp; member
137 struct ipa_qmi_response_type_v01 resp; member
152 struct ipa_qmi_response_type_v01 resp; member
309 struct ipa_qmi_response_type_v01 resp; member
351 struct ipa_qmi_response_type_v01 resp; member
360 struct ipa_qmi_response_type_v01 resp; member
366 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
448 struct ipa_qmi_response_type_v01 resp; member
474 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dipa_qmi_service_v01.h365 struct ipa_qmi_response_type_v01 resp; member
427 struct ipa_qmi_response_type_v01 resp; member
505 struct ipa_qmi_response_type_v01 resp; member
1108 struct ipa_qmi_response_type_v01 resp; member
1297 struct ipa_qmi_response_type_v01 resp; member
1342 struct ipa_qmi_response_type_v01 resp; member
1365 struct ipa_qmi_response_type_v01 resp; member
1606 struct ipa_qmi_response_type_v01 resp; member
1673 struct ipa_qmi_response_type_v01 resp; member
1759 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/linaro/dragonboard/shared/utils/qrtr/src/
Daddr.c25 } resp; in qrtr_set_address() local
67 ret = recv(sock, &resp, sizeof(resp), 0); in qrtr_set_address()
71 if (resp.nh.nlmsg_type == NLMSG_ERROR && resp.err.error != 0) { in qrtr_set_address()
72 errno = -resp.err.error; in qrtr_set_address()
/device/google/gs-common/bootctrl/1.2/
DBootControl.cpp209 struct otp_mgr_rsp_base resp; in blow_otp_AR() local
210 rc = read(fd, &resp, sizeof(resp)); in blow_otp_AR()
216 if (rc < sizeof(resp)) { in blow_otp_AR()
221 if (resp.command != (cmd | OTP_RESP_BIT)) { in blow_otp_AR()
222 ALOGI("Wrong command! %x\n", resp.command); in blow_otp_AR()
226 if (resp.result != 0) { in blow_otp_AR()
227 fprintf(stderr, "AR writing error! %x\n", resp.result); in blow_otp_AR()
/device/google/gs-common/bootctrl/aidl/
DBootControl.cpp206 struct otp_mgr_rsp_base resp; in blow_otp_AR() local
207 rc = read(fd, &resp, sizeof(resp)); in blow_otp_AR()
213 if (rc < sizeof(resp)) { in blow_otp_AR()
218 if (resp.command != (cmd | OTP_RESP_BIT)) { in blow_otp_AR()
219 ALOGI("Wrong command! %x\n", resp.command); in blow_otp_AR()
223 if (resp.result != 0) { in blow_otp_AR()
224 fprintf(stderr, "AR writing error! %x\n", resp.result); in blow_otp_AR()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp6477 char **resp = (char **) response; in getVoiceRegistrationStateResponse() local
6478 regResponse.regState = (RegState)ATOI_NULL_HANDLED_DEF(resp[0], 4); in getVoiceRegistrationStateResponse()
6479 int rat = ATOI_NULL_HANDLED_DEF(resp[3], 0); in getVoiceRegistrationStateResponse()
6487 cdmaInfo.cssSupported = ATOI_NULL_HANDLED_DEF(resp[7], 0); in getVoiceRegistrationStateResponse()
6488 cdmaInfo.roamingIndicator = ATOI_NULL_HANDLED(resp[10]); in getVoiceRegistrationStateResponse()
6489 cdmaInfo.systemIsInPrl = (V1_5::PrlIndicator)ATOI_NULL_HANDLED_DEF(resp[11], 0); in getVoiceRegistrationStateResponse()
6490 cdmaInfo.defaultRoamingIndicator= ATOI_NULL_HANDLED_DEF(resp[12], 0); in getVoiceRegistrationStateResponse()
6516 ATOI_NULL_HANDLED_DEF(resp[13], 0); in getVoiceRegistrationStateResponse()
6517 regResponse.registeredPlmn = convertCharPtrToHidlString(resp[17]); in getVoiceRegistrationStateResponse()
6520 numStrings, resp); in getVoiceRegistrationStateResponse()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c1760 int *resp = NULL; local
1798 resp = (int *)calloc(commas + 1, sizeof(int));
1799 if (!resp) goto error;
1802 err = at_tok_nextint(&line, &resp[0]);
1809 err = at_tok_nextint(&line, &resp[0]);
1814 err = at_tok_nextint(&line, &resp[0]);
1816 err = at_tok_nexthexint(&line, &resp[1]);
1818 err = at_tok_nexthexint(&line, &resp[2]);
1824 err = at_tok_nextint(&line, &resp[0]);
1826 err = at_tok_nexthexint(&line, &resp[1]);
[all …]
/device/google/cuttlefish/host/commands/casimir_control_server/
Dmain.cpp95 auto resp = android::base::HexString( in SendApdu() local
97 response->add_response_hex_strings(resp); in SendApdu()
/device/google/cuttlefish/host/libs/allocd/
Dutils.cpp81 bool SendJsonMsg(SharedFD client_socket, const Json::Value& resp) { in SendJsonMsg() argument
84 auto resp_str = Json::writeString(factory, resp); in SendJsonMsg()
Dutils.h42 bool SendJsonMsg(cuttlefish::SharedFD client_socket, const Json::Value& resp);
/device/google/cuttlefish/host/commands/stop/
Dmain.cc164 auto resp = resp_opt.value(); in ReleaseAllocdResources() local
165 LOG(INFO) << "Stop Session operation: " << resp["config_status"]; in ReleaseAllocdResources()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all145 monitor_qmp_respond(void *mon, const char *json) "mon %p resp: %s"
2742 pmu_debug_protocol_resp_size(int size) "sending %d resp bytes"
3803 rdmacm_mux_check_op_status(int msg_type, int op_code, int err_code) "resp: msg_type=%d, op_code=%d,…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all145 monitor_qmp_respond(void *mon, const char *json) "mon %p resp: %s"
2742 pmu_debug_protocol_resp_size(int size) "sending %d resp bytes"
3803 rdmacm_mux_check_op_status(int msg_type, int op_code, int err_code) "resp: msg_type=%d, op_code=%d,…