Home
last modified time | relevance | path

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

/system/bt/stack/srvc/
Dsrvc_battery.c310 tGATTS_RSP rsp; in Battery_Rsp() local
324 memset(&rsp, 0, sizeof(tGATTS_RSP)); in Battery_Rsp()
331 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp()
332 rsp.attr_value.len = 2; in Battery_Rsp()
333 pp = rsp.attr_value.value; in Battery_Rsp()
335 srvc_sr_rsp(p_inst->pending_clcb_idx, st, &rsp); in Battery_Rsp()
339 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp()
340 rsp.attr_value.len = 1; in Battery_Rsp()
341 pp = rsp.attr_value.value; in Battery_Rsp()
343 srvc_sr_rsp(p_inst->pending_clcb_idx, st, &rsp); in Battery_Rsp()
[all …]
/system/keymaster/
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 …]
Dandroid_keymaster.cpp94 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion() argument
95 if (rsp == NULL) in GetVersion()
98 rsp->major_ver = MAJOR_VER; in GetVersion()
99 rsp->minor_ver = MINOR_VER; in GetVersion()
100 rsp->subminor_ver = SUBMINOR_VER; in GetVersion()
101 rsp->error = KM_ERROR_OK; in GetVersion()
/system/bt/stack/avrc/
Davrc_pars_ct.c66 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
67 return p_result->rsp.status; in avrc_pars_vendor_rsp()
179 p_result->rsp.status = *p; in avrc_ctrl_pars_vendor_rsp()
180 return p_result->rsp.status; in avrc_ctrl_pars_vendor_rsp()
405 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_Ctrl_ParsResponse()
406 p_result->rsp.status = status; in AVRC_Ctrl_ParsResponse()
448 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_ParsResponse()
449 p_result->rsp.status = status; in AVRC_ParsResponse()
Davrc_bld_tg.c816 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer()
817 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer()
818 avrc_is_valid_opcode(p_rsp->rsp.opcode)) in avrc_bld_init_rsp_buffer()
820 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer()
860 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer()
902 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, p_rsp->rsp.status); in AVRC_BldResponse()
903 if (p_rsp->rsp.status != AVRC_STS_NO_ERROR) in AVRC_BldResponse()
905 return( avrc_bld_rejected_rsp(&p_rsp->rsp, p_pkt) ); in AVRC_BldResponse()
/system/bt/build/toolchain/gcc/
DBUILD.gn41 rspfile = "{{output}}.rsp"
55 rspfile = soname + ".rsp"
79 rspfile = "$outfile.rsp"
/system/bt/stack/gatt/
Dgatt_main.c1120 tGATTS_SRV_CHG_RSP rsp; in gatt_init_srv_chg() local
1128 … status = (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_READ_NUM_CLENTS, NULL, &rsp); in gatt_init_srv_chg()
1130 if (status && rsp.num_clients) in gatt_init_srv_chg()
1132 GATT_TRACE_DEBUG("gatt_init_srv_chg num_srv_chg_clt_clients=%d", rsp.num_clients); in gatt_init_srv_chg()
1133 num_clients = rsp.num_clients; in gatt_init_srv_chg()
1138 …(status = (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_READ_CLENT, &req, &rsp)) == TRUE) in gatt_init_srv_chg()
1140 memcpy(&srv_chg_clt, &rsp.srv_chg ,sizeof(tGATTS_SRV_CHG)); in gatt_init_srv_chg()
/system/bt/stack/mcap/
Dmca_cact.c470 evt_data.rsp.rsp_code = *p++; in mca_ccb_hdl_rsp()
484 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) in mca_ccb_hdl_rsp()
490 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) in mca_ccb_hdl_rsp()
492 evt_data.rsp.rsp_code = MCA_RSP_BAD_MDL; in mca_ccb_hdl_rsp()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h78 void GetVersion(const GetVersionRequest& req, GetVersionResponse* rsp) { in GetVersion() argument
79 impl_->GetVersion(req, rsp); in GetVersion()
/system/core/debuggerd/x86_64/
Dmachine.cpp66 r.rip, r.rbp, r.rsp, r.eflags); in dump_registers()
/system/bt/btif/src/
Dbtif_rc.c878 avrc_rsp.rsp.pdu = pavrc_command->pdu; in handle_uid_changed_notification()
879 avrc_rsp.rsp.status = AVRC_STS_NO_ERROR; in handle_uid_changed_notification()
880 avrc_rsp.rsp.opcode = pavrc_command->cmd.opcode; in handle_uid_changed_notification()
1206 avrc_rsp.rsp.opcode = opcode_from_pdu(pdu); in send_reject_response()
1207 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1208 avrc_rsp.rsp.status = status; in send_reject_response()
1242 rc_handle, label, code, dump_rc_pdu(pmetamsg_resp->rsp.pdu)); in send_metamsg_rsp()
1244 if (pmetamsg_resp->rsp.status != AVRC_STS_NO_ERROR) in send_metamsg_rsp()
1272 if ((pmetamsg_resp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && (code == AVRC_RSP_CHANGED)) in send_metamsg_rsp()
1896 if (AVRC_PDU_REGISTER_NOTIFICATION==avrc_response.rsp.pdu in handle_rc_metamsg_rsp()
[all …]
Dbtif_hf.c1163 static bt_status_t formatted_at_response(const char *rsp, bt_bdaddr_t *bd_addr) in formatted_at_response() argument
1179 strncpy(ag_res.str, rsp, BTA_AG_AT_MAX_LEN); in formatted_at_response()
/system/bt/stack/include/
Dmca_api.h192 tMCA_RSP_EVT rsp; member
Davrc_defs.h1387 tAVRC_RSP rsp; member
/system/bt/bta/av/
Dbta_av_act.c794 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd()
839 p_rc_rsp->rsp.status = bta_av_chk_notif_evt_id (p_vendor); in bta_av_proc_meta_cmd()
840 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) in bta_av_proc_meta_cmd()
850 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd()
878 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
1021 if (evt == 0 && rc_rsp.rsp.status != BTA_AV_STS_NO_RSP) in bta_av_rc_msg()
1025 rc_rsp.rsp.opcode = p_data->rc_msg.opcode; in bta_av_rc_msg()
/system/core/libmemunreachable/
DThreadCapture.cpp232 offsetof(struct pt_regs, rsp) / sizeof(uintptr_t) in PtraceThreadInfo()