Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 12 of 12) sorted by relevance

/system/bt/stack/include/
Davrc_defs.h965 UINT8 pdu; member
974 UINT8 pdu; member
983 UINT8 pdu; member
993 UINT8 pdu; member
1003 UINT8 pdu; member
1013 UINT8 pdu; member
1024 UINT8 pdu; member
1034 UINT8 pdu; member
1043 UINT8 pdu; member
1053 UINT8 pdu; member
[all …]
/system/bt/stack/avrc/
Davrc_pars_tg.c47 p_result->pdu = *p++; in avrc_ctrl_pars_vendor_cmd()
48 AVRC_TRACE_DEBUG("%s pdu:0x%x", __func__, p_result->pdu); in avrc_ctrl_pars_vendor_cmd()
49 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_ctrl_pars_vendor_cmd()
66 switch (p_result->pdu) in avrc_ctrl_pars_vendor_cmd()
122 p_result->pdu = *p++; in avrc_pars_vendor_cmd()
123 AVRC_TRACE_DEBUG("%s pdu:0x%x", __func__, p_result->pdu); in avrc_pars_vendor_cmd()
124 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd()
140 switch (p_result->pdu) in avrc_pars_vendor_cmd()
405 p_result->pdu = (UINT8)id; in AVRC_ParsCommand()
Davrc_pars_ct.c59 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_pars_vendor_rsp()
63 __func__, p_msg->hdr.ctype, p_result->pdu, len, len); in avrc_pars_vendor_rsp()
70 switch (p_result->pdu) in avrc_pars_vendor_rsp()
169 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_ctrl_pars_vendor_rsp()
175 __func__, p_msg->hdr.ctype, p_result->pdu, len); in avrc_ctrl_pars_vendor_rsp()
184 switch (p_result->pdu) in avrc_ctrl_pars_vendor_rsp()
440 p_result->pdu = (UINT8)id; in AVRC_ParsResponse()
Davrc_int.h149 extern BT_HDR * avrc_alloc_ctrl_pkt (UINT8 pdu);
151 extern UINT8 avrc_opcode_from_pdu(UINT8 pdu);
Davrc_bld_ct.c366 UINT8 opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer()
367 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, opcode); in avrc_bld_init_cmd_buffer()
393 *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer()
426 AVRC_TRACE_API("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, p_cmd->cmd.status); in AVRC_BldCommand()
446 switch (p_cmd->pdu) in AVRC_BldCommand()
Davrc_utils.c199 UINT8 avrc_opcode_from_pdu(UINT8 pdu) in avrc_opcode_from_pdu() argument
203 switch (pdu) in avrc_opcode_from_pdu()
Davrc_bld_tg.c787 AVRC_TRACE_API("%s: status=%d, pdu:x%x", __func__, p_rsp->status, p_rsp->pdu); in avrc_bld_rejected_rsp()
814 UINT8 opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer()
816 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer()
847 *p_data++ = p_rsp->pdu; 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()
908 switch (p_rsp->pdu) in AVRC_BldResponse()
912 status = avrc_bld_group_navigation_rsp(p_rsp->pdu, p_pkt); in AVRC_BldResponse()
Davrc_api.c487 avrc_cmd.pdu = AVRC_PDU_REQUEST_CONTINUATION_RSP; in avrc_proc_far_msg()
501 avrc_cmd.pdu = AVRC_PDU_ABORT_CONTINUATION_RSP; in avrc_proc_far_msg()
/system/bt/btif/src/
Dbtif_rc.c233 UINT8 pdu, UINT8 status);
234 static UINT8 opcode_from_pdu(UINT8 pdu);
877 avrc_rsp.rsp.pdu = pavrc_command->pdu; in handle_uid_changed_notification()
947 __FUNCTION__, pmeta_msg->code, avrc_command.cmd.pdu, pmeta_msg->label); in handle_rc_metamsg_cmd()
954 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status); in handle_rc_metamsg_cmd()
960 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) in handle_rc_metamsg_cmd()
977 __FUNCTION__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd()
982 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, pmeta_msg->code, in handle_rc_metamsg_cmd()
1198 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status) in send_reject_response() argument
1205 avrc_rsp.rsp.opcode = opcode_from_pdu(pdu); in send_reject_response()
[all …]
Dbtif_util.c516 const char* dump_rc_pdu(UINT8 pdu) in dump_rc_pdu() argument
518 switch(pdu) in dump_rc_pdu()
/system/bt/btif/include/
Dbtif_util.h62 const char* dump_rc_pdu(UINT8 pdu);
/system/bt/bta/av/
Dbta_av_act.c771 UINT8 u8, pdu, *p; in bta_av_proc_meta_cmd() local
777 pdu = *(p_vendor->p_vendor_data); in bta_av_proc_meta_cmd()
778 p_rc_rsp->pdu = pdu; in bta_av_proc_meta_cmd()
789 else if (!AVRC_IsValidAvcType(pdu, p_vendor->hdr.ctype) ) in bta_av_proc_meta_cmd()
791 APPL_TRACE_DEBUG("Invalid pdu/ctype: 0x%x, %d", pdu, p_vendor->hdr.ctype); in bta_av_proc_meta_cmd()
798 switch (pdu) in bta_av_proc_meta_cmd()