Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 31) sorted by relevance

12

/system/chre/host/common/test/
Dchre_test_client.cc86 void handleHubInfoResponse(const fbs::HubInfoResponseT& rsp) in handleHubInfoResponse() argument
89 LOGI(" Name: '%s'", getStringFromByteVector(rsp.name)); in handleHubInfoResponse()
90 LOGI(" Vendor: '%s'", getStringFromByteVector(rsp.vendor)); in handleHubInfoResponse()
91 LOGI(" Toolchain: '%s'", getStringFromByteVector(rsp.toolchain)); in handleHubInfoResponse()
93 rsp.platform_version, rsp.toolchain_version); in handleHubInfoResponse()
95 rsp.peak_mips, rsp.stopped_power, rsp.sleep_power, rsp.peak_power); in handleHubInfoResponse()
96 LOGI(" Max message len: %" PRIu32, rsp.max_msg_len); in handleHubInfoResponse()
98 rsp.platform_id, rsp.chre_platform_version); in handleHubInfoResponse()
/system/core/gatekeeperd/
Dgatekeeperd.cpp186 (const GatekeeperResponse &rsp) { in enroll() argument
187 ret = static_cast<int>(rsp.code); // propagate errors in enroll()
188 if (rsp.code >= GatekeeperStatusCode::STATUS_OK) { in enroll()
191 *enrolled_password_handle = new uint8_t[rsp.data.size()]; in enroll()
192 *enrolled_password_handle_length = rsp.data.size(); in enroll()
193 memcpy(*enrolled_password_handle, rsp.data.data(), in enroll()
197 … } else if (rsp.code == GatekeeperStatusCode::ERROR_RETRY_TIMEOUT && rsp.timeout > 0) { in enroll()
198 ret = rsp.timeout; in enroll()
275 (const GatekeeperResponse &rsp) { in verifyChallenge() argument
276 ret = static_cast<int>(rsp.code); // propagate errors in verifyChallenge()
[all …]
/system/bt/stack/srvc/
Dsrvc_battery.cc276 tGATTS_RSP rsp; in Battery_Rsp() local
287 memset(&rsp, 0, sizeof(tGATTS_RSP)); in Battery_Rsp()
292 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp()
293 rsp.attr_value.len = 2; in Battery_Rsp()
294 pp = rsp.attr_value.value; in Battery_Rsp()
296 srvc_sr_rsp(p_inst->pending_clcb_idx, st, &rsp); in Battery_Rsp()
300 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp()
301 rsp.attr_value.len = 1; in Battery_Rsp()
302 pp = rsp.attr_value.value; in Battery_Rsp()
304 srvc_sr_rsp(p_inst->pending_clcb_idx, st, &rsp); in Battery_Rsp()
[all …]
/system/core/trusty/storage/lib/
Dstorage.c149 struct storage_file_open_resp rsp = { 0 }; in storage_open_file() local
150 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_open_file()
157 if ((size_t)rc != sizeof(rsp)) { in storage_open_file()
158 ALOGE("%s: invalid response length (%zd != %zd)\n", __func__, rc, sizeof(rsp)); in storage_open_file()
162 *handle_p = make_file_handle(session, rsp.handle); in storage_open_file()
284 struct storage_file_get_size_resp rsp; in storage_get_file_size() local
285 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_get_file_size()
292 if ((size_t)rc != sizeof(rsp)) { in storage_get_file_size()
293 ALOGE("%s: invalid response length (%zd != %zd)\n", __func__, rc, sizeof(rsp)); in storage_get_file_size()
297 *size_p = rsp.size; in storage_get_file_size()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp108 SupportedResponse<keymaster_digest_t> rsp(ver); in TEST() local
110 rsp.error = KM_ERROR_OK; in TEST()
111 rsp.SetResults(digests); in TEST()
113 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(ver, rsp, 20)); in TEST()
141 GenerateKeyResponse rsp(ver); in TEST() local
142 rsp.error = KM_ERROR_OK; in TEST()
143 rsp.key_blob.key_material = dup_array(TEST_DATA); in TEST()
144 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST()
145 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
147 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 109)); in TEST()
[all …]
/system/core/libunwindstack/
DAsmGetRegsX86_64.S44 lea 8(%rsp), %rax
57 movq (%rsp), %rax
DRegsX86_64.cpp111 (*regs)[X86_64_REG_RSP] = user->rsp; in Read()
129 regs_[X86_64_REG_RSP] = ucontext->uc_mcontext.rsp; in SetFromUcontext()
/system/bt/build/toolchain/gcc/
DBUILD.gn41 rspfile = "{{output}}.rsp"
55 rspfile = soname + ".rsp"
79 rspfile = "$outfile.rsp"
/system/core/libunwindstack/tests/files/offline/eh_frame_hdr_begin_x86_64/
Dregs.txt10 rsp: 7ffcc8596ce8
/system/bt/build/toolchain/clang/
DBUILD.gn60 rspfile = "{{output}}.rsp"
74 rspfile = soname + ".rsp"
98 rspfile = "$outfile.rsp"
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc159 tNFC_NFCEE_MODE_SET_REVT rsp; in nfa_ee_restore_one_ecb() local
198 rsp.mode = NFA_EE_MD_ACTIVATE; in nfa_ee_restore_one_ecb()
199 rsp.nfcee_id = p_cb->nfcee_id; in nfa_ee_restore_one_ecb()
200 rsp.status = NFA_STATUS_OK; in nfa_ee_restore_one_ecb()
201 ee_msg.p_data = &rsp; in nfa_ee_restore_one_ecb()
/system/bt/stack/mcap/
Dmca_cact.cc453 sizeof(evt_data.rsp.rsp_code) + in mca_ccb_hdl_rsp()
463 sizeof(evt_data.hdr.op_code) + sizeof(evt_data.rsp.rsp_code) + in mca_ccb_hdl_rsp()
469 evt_data.rsp.rsp_code = *p++; in mca_ccb_hdl_rsp()
480 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) { in mca_ccb_hdl_rsp()
485 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) { in mca_ccb_hdl_rsp()
486 evt_data.rsp.rsp_code = MCA_RSP_BAD_MDL; in mca_ccb_hdl_rsp()
/system/core/libunwindstack/include/unwindstack/
DUserX86_64.h54 uint64_t rsp; member
DUcontextX86_64.h61 uint64_t rsp; member
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp87 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion() argument
88 if (rsp == NULL) in GetVersion()
91 rsp->major_ver = MAJOR_VER; in GetVersion()
92 rsp->minor_ver = MINOR_VER; in GetVersion()
93 rsp->subminor_ver = SUBMINOR_VER; in GetVersion()
94 rsp->error = KM_ERROR_OK; in GetVersion()
/system/bt/stack/avrc/
Davrc_pars_ct.cc86 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
87 return p_result->rsp.status; in avrc_pars_vendor_rsp()
518 p_result->rsp.status = *p; in avrc_ctrl_pars_vendor_rsp()
519 return p_result->rsp.status; in avrc_ctrl_pars_vendor_rsp()
808 BE_STREAM_TO_UINT8(p_result->rsp.status, p); in avrc_ctrl_pars_vendor_rsp()
852 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_Ctrl_ParsResponse()
853 p_result->rsp.status = status; in AVRC_Ctrl_ParsResponse()
893 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_ParsResponse()
894 p_result->rsp.status = status; in AVRC_ParsResponse()
Davrc_bld_tg.cc1302 p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer()
1303 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer()
1304 avrc_is_valid_opcode(p_rsp->rsp.opcode)) { in avrc_bld_init_rsp_buffer()
1305 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer()
1350 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer()
1398 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, in AVRC_BldResponse()
1399 p_rsp->rsp.status); in AVRC_BldResponse()
1400 if (p_rsp->rsp.status != AVRC_STS_NO_ERROR) { in AVRC_BldResponse()
1401 return (avrc_bld_rejected_rsp(&p_rsp->rsp, p_pkt)); in AVRC_BldResponse()
/system/bt/stack/gatt/
Dgatt_main.cc1074 tGATTS_SRV_CHG_RSP rsp; in gatt_init_srv_chg() local
1082 GATTS_SRV_CHG_CMD_READ_NUM_CLENTS, NULL, &rsp); in gatt_init_srv_chg()
1084 if (status && rsp.num_clients) { in gatt_init_srv_chg()
1085 VLOG(1) << "num_srv_chg_clt_clients=" << +rsp.num_clients; in gatt_init_srv_chg()
1086 num_clients = rsp.num_clients; in gatt_init_srv_chg()
1091 GATTS_SRV_CHG_CMD_READ_CLENT, &req, &rsp); in gatt_init_srv_chg()
1093 memcpy(&srv_chg_clt, &rsp.srv_chg, sizeof(tGATTS_SRV_CHG)); in gatt_init_srv_chg()
/system/core/trusty/keymaster/
Dtrusty_keymaster_device.cpp759 KeymasterResponse* rsp) { in Send() argument
786 if (!rsp->Deserialize(&p, p + rsp_size)) { in Send()
789 } else if (rsp->error != KM_ERROR_OK) { in Send()
790 ALOGE("Response of size %d contained error code %d\n", (int)rsp_size, (int)rsp->error); in Send()
791 return rsp->error; in Send()
793 return rsp->error; in Send()
Dtrusty_keymaster_device_test.cpp73 Rsp rsp; in fake_call() local
74 (device->*method)(req, &rsp); in fake_call()
76 *out_size = rsp.SerializedSize(); in fake_call()
78 rsp.Serialize(out, out + *out_size); in fake_call()
/system/bt/include/hardware/
Dbluetooth_headset_interface.h151 virtual bt_status_t FormattedAtResponse(const char* rsp,
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h76 void GetVersion(const GetVersionRequest& req, GetVersionResponse* rsp) { in GetVersion() argument
77 impl_->GetVersion(req, rsp); in GetVersion()
/system/bt/bta/av/
Dbta_av_act.cc763 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
776 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
782 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd()
822 p_rc_rsp->rsp.status = bta_av_chk_notif_evt_id(p_vendor); in bta_av_proc_meta_cmd()
823 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) evt = 0; in bta_av_proc_meta_cmd()
850 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
946 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
986 if (evt == 0 && rc_rsp.rsp.status != BTA_AV_STS_NO_RSP) { in bta_av_rc_msg()
988 rc_rsp.rsp.opcode = p_data->rc_msg.opcode; in bta_av_rc_msg()
/system/bt/btif/src/
Dbtif_rc.cc1180 avrc_rsp.rsp.opcode = opcode; in send_reject_response()
1181 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1182 avrc_rsp.rsp.status = status; in send_reject_response()
1253 dump_rc_pdu(pmetamsg_resp->rsp.pdu)); in send_metamsg_rsp()
1260 ctype = get_rsp_type_code(pmetamsg_resp->rsp.status, code); in send_metamsg_rsp()
1264 if ((pmetamsg_resp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && in send_metamsg_rsp()
2116 avrc_rsp.rsp.status); in get_folder_items_list_rsp()
2648 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2653 } else if (AVRC_PDU_SET_ABSOLUTE_VOLUME == avrc_response.rsp.pdu) { in handle_rc_metamsg_rsp()
2659 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
[all …]
/system/bt/stack/include/
Dmca_api.h202 tMCA_RSP_EVT rsp; member

12