Home
last modified time | relevance | path

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

/system/bt/stack/include/
Davrc_defs.h1097 uint8_t pdu; member
1105 uint8_t pdu; member
1113 uint8_t pdu; member
1122 uint8_t pdu; member
1131 uint8_t pdu; member
1140 uint8_t pdu; member
1150 uint8_t pdu; member
1159 uint8_t pdu; member
1167 uint8_t pdu; member
1176 uint8_t pdu; member
[all …]
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h69 inline std::string CommandPduText(const CommandPdu& pdu) { in CommandPduText() argument
70 switch (pdu) { in CommandPduText()
80 return "Unknown Command PDU: " + loghex((uint8_t)pdu); in CommandPduText()
84 inline std::ostream& operator<<(std::ostream& os, const CommandPdu& pdu) {
85 return os << CommandPduText(pdu);
186 inline std::string BrowsePduText(const BrowsePdu& pdu) { in BrowsePduText() argument
187 switch (pdu) { in BrowsePduText()
193 return "Unknown Browse PDU: " + loghex((uint8_t)pdu); in BrowsePduText()
197 inline std::ostream& operator<<(std::ostream& os, const BrowsePdu& pdu) {
198 return os << BrowsePduText(pdu);
[all …]
/system/bt/packet/avrcp/
Davrcp_reject_packet.h28 static std::unique_ptr<RejectBuilder> MakeBuilder(CommandPdu pdu,
38 RejectBuilder(CommandPdu pdu, Status reason) in RejectBuilder() argument
39 : VendorPacketBuilder(CType::REJECTED, pdu, PacketType::SINGLE), in RejectBuilder()
Davrcp_browse_packet.h37 BrowsePdu pdu, std::unique_ptr<::bluetooth::PacketBuilder> payload);
50 BrowsePacketBuilder(BrowsePdu pdu) : pdu_(pdu){}; in BrowsePacketBuilder() argument
Dvendor_packet.h29 CType ctype, CommandPdu pdu, PacketType packet_type,
48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder() argument
50 pdu_(pdu), in VendorPacketBuilder()
Davrcp_reject_packet.cc22 std::unique_ptr<RejectBuilder> RejectBuilder::MakeBuilder(CommandPdu pdu, in MakeBuilder() argument
25 std::unique_ptr<RejectBuilder>(new RejectBuilder(pdu, reason)); in MakeBuilder()
Davrcp_browse_packet.cc25 BrowsePdu pdu, std::unique_ptr<::bluetooth::PacketBuilder> payload) { in MakeBuilder() argument
27 std::unique_ptr<BrowsePacketBuilder>(new BrowsePacketBuilder(pdu)); in MakeBuilder()
Dvendor_packet.cc23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder() argument
31 new VendorPacketBuilder(ctype, pdu, packet_type)); in MakeBuilder()
/system/bt/stack/avrc/
Davrc_pars_tg.cc47 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()
63 switch (p_result->pdu) { in avrc_ctrl_pars_vendor_cmd()
114 p_result->pdu = *p++; in avrc_pars_vendor_cmd()
115 AVRC_TRACE_DEBUG("%s pdu:0x%x", __func__, p_result->pdu); in avrc_pars_vendor_cmd()
116 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_pars_vendor_cmd()
132 switch (p_result->pdu) { in avrc_pars_vendor_cmd()
412 p_result->pdu = *p++; in avrc_pars_browsing_cmd()
413 AVRC_TRACE_DEBUG("avrc_pars_browsing_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_browsing_cmd()
[all …]
Davrc_pars_ct.cc66 BE_STREAM_TO_UINT8(p_result->pdu, p); in avrc_pars_vendor_rsp()
70 __func__, p_msg->hdr.ctype, p_result->pdu, len, len, in avrc_pars_vendor_rsp()
90 switch (p_result->pdu) { in avrc_pars_vendor_rsp()
222 uint8_t pdu; in avrc_pars_browse_rsp() local
238 BE_STREAM_TO_UINT8(pdu, p); in avrc_pars_browse_rsp()
244 AVRC_TRACE_DEBUG("%s pdu:%d, pkt_len:%d", __func__, pdu, pkt_len); in avrc_pars_browse_rsp()
253 switch (pdu) { in avrc_pars_browse_rsp()
257 get_item_rsp->pdu = pdu; in avrc_pars_browse_rsp()
278 __func__, get_item_rsp->pdu, get_item_rsp->status, pkt_len, in avrc_pars_browse_rsp()
416 change_path_rsp->pdu = pdu; in avrc_pars_browse_rsp()
[all …]
Davrc_int.h163 extern BT_HDR* avrc_alloc_ctrl_pkt(uint8_t pdu);
166 extern uint8_t avrc_opcode_from_pdu(uint8_t pdu);
Davrc_utils.cc184 uint8_t avrc_opcode_from_pdu(uint8_t pdu) { in avrc_opcode_from_pdu() argument
187 switch (pdu) { in avrc_opcode_from_pdu()
Davrc_bld_ct.cc501 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer()
502 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, in avrc_bld_init_cmd_buffer()
532 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer()
564 AVRC_TRACE_API("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, in AVRC_BldCommand()
584 switch (p_cmd->pdu) { in AVRC_BldCommand()
Davrc_bld_tg.cc753 p_rsp->pdu, opcode); in avrc_bld_rejected_rsp()
1299 uint8_t opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer()
1301 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, in avrc_bld_init_rsp_buffer()
1335 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_rsp->pdu; in avrc_bld_init_rsp_buffer()
1398 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, in AVRC_BldResponse()
1404 switch (p_rsp->pdu) { in AVRC_BldResponse()
1407 status = avrc_bld_group_navigation_rsp(p_rsp->pdu, p_pkt); in AVRC_BldResponse()
Davrc_api.cc586 avrc_cmd.pdu = AVRC_PDU_REQUEST_CONTINUATION_RSP; in avrc_proc_far_msg()
591 avrc_cmd.pdu = AVRC_PDU_ABORT_CONTINUATION_RSP; in avrc_proc_far_msg()
/system/bt/btif/src/
Dbtif_rc.cc253 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
255 static uint8_t opcode_from_pdu(uint8_t pdu);
928 __func__, pmeta_msg->code, avrc_command.cmd.pdu, in handle_rc_metamsg_cmd()
937 avrc_command.pdu, status, in handle_rc_metamsg_cmd()
942 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) { in handle_rc_metamsg_cmd()
955 __func__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd()
960 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, in handle_rc_metamsg_cmd()
1171 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1179 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1191 __func__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
[all …]
Dbtif_util.cc386 const char* dump_rc_pdu(uint8_t pdu) { in dump_rc_pdu() argument
387 switch (pdu) { in dump_rc_pdu()
/system/bt/btif/include/
Dbtif_util.h60 const char* dump_rc_pdu(uint8_t pdu);
/system/bt/tools/scripts/
Ddump_hearingaid_audio.py182 pdu, data = unpack_data(data, 2)
194 if pdu - 2 == sdu:
/system/bt/bta/av/
Dbta_av_act.cc760 uint8_t u8, pdu, *p; in bta_av_proc_meta_cmd() local
764 pdu = *(p_vendor->p_vendor_data); in bta_av_proc_meta_cmd()
765 p_rc_rsp->pdu = pdu; in bta_av_proc_meta_cmd()
785 } else if (!AVRC_IsValidAvcType(pdu, p_vendor->hdr.ctype)) { in bta_av_proc_meta_cmd()
786 APPL_TRACE_DEBUG("%s: Invalid pdu/ctype: 0x%x, %d", __func__, pdu, in bta_av_proc_meta_cmd()
792 switch (pdu) { in bta_av_proc_meta_cmd()