Home
last modified time | relevance | path

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

12

/system/bt/stack/include/
Davrc_defs.h1098 uint8_t pdu; member
1106 uint8_t pdu; member
1114 uint8_t pdu; member
1123 uint8_t pdu; member
1132 uint8_t pdu; member
1141 uint8_t pdu; member
1151 uint8_t pdu; member
1160 uint8_t pdu; member
1168 uint8_t pdu; member
1177 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/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.h51 void OnPdu(packet::PacketView<true> pdu) override;
101 void send_pdu(std::unique_ptr<packet::BasePacketBuilder> pdu);
105 void on_pdu_no_fcs(const packet::PacketView<true>& pdu);
106 void on_pdu_fcs(const packet::PacketView<true>& pdu);
Dbasic_mode_channel_data_controller.cc40 void BasicModeDataController::OnPdu(packet::PacketView<true> pdu) { in OnPdu() argument
41 auto basic_frame_view = BasicFrameView::Create(pdu); in OnPdu()
Ddata_controller.h37 virtual void OnPdu(packet::PacketView<true> pdu) = 0;
Denhanced_retransmission_mode_channel_data_controller.cc100 …void data_request(SegmentationAndReassembly sar, std::unique_ptr<packet::RawBuilder> pdu, uint16_t… in data_request()
103 send_data(sar, sdu_size, std::move(pdu)); in data_request()
105 pend_data(sar, sdu_size, std::move(pdu)); in data_request()
107 pend_data(sar, sdu_size, std::move(pdu)); in data_request()
832 void ErtmController::OnPdu(packet::PacketView<true> pdu) { in OnPdu() argument
834 on_pdu_fcs(pdu); in OnPdu()
836 on_pdu_no_fcs(pdu); in OnPdu()
840 void ErtmController::on_pdu_no_fcs(const packet::PacketView<true>& pdu) { in on_pdu_no_fcs() argument
841 auto basic_frame_view = BasicFrameView::Create(pdu); in on_pdu_no_fcs()
900 void ErtmController::on_pdu_fcs(const packet::PacketView<true>& pdu) { in on_pdu_fcs() argument
[all …]
Dle_credit_based_channel_data_controller.cc67 void LeCreditBasedDataController::OnPdu(packet::PacketView<true> pdu) { in OnPdu() argument
68 auto basic_frame_view = BasicFrameView::Create(pdu); in OnPdu()
Dbasic_mode_channel_data_controller.h51 void OnPdu(packet::PacketView<true> pdu) override;
Dle_credit_based_channel_data_controller.h49 void OnPdu(packet::PacketView<true> pdu) override;
/system/bt/stack/avrc/
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_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()
422 p_result->pdu = *p++; in avrc_pars_browsing_cmd()
423 AVRC_TRACE_DEBUG("avrc_pars_browsing_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_browsing_cmd()
[all …]
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_int.h163 extern BT_HDR* avrc_alloc_ctrl_pkt(uint8_t pdu);
166 extern uint8_t avrc_opcode_from_pdu(uint8_t pdu);
Davrc_bld_ct.cc518 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer()
519 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, in avrc_bld_init_cmd_buffer()
549 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer()
581 AVRC_TRACE_API("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, in AVRC_BldCommand()
601 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()
1397 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, in AVRC_BldResponse()
1403 switch (p_rsp->pdu) { in AVRC_BldResponse()
1406 status = avrc_bld_group_navigation_rsp(p_rsp->pdu, p_pkt); in AVRC_BldResponse()
/system/bt/btif/src/
Dbtif_rc.cc254 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
256 static uint8_t opcode_from_pdu(uint8_t pdu);
989 __func__, pmeta_msg->code, avrc_command.cmd.pdu, in handle_rc_metamsg_cmd()
998 avrc_command.pdu, status, in handle_rc_metamsg_cmd()
1003 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) { in handle_rc_metamsg_cmd()
1016 __func__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd()
1021 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, in handle_rc_metamsg_cmd()
1249 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1257 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1269 __func__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
[all …]
Dbtif_util.cc387 const char* dump_rc_pdu(uint8_t pdu) { in dump_rc_pdu() argument
388 switch (pdu) { in dump_rc_pdu()
/system/bt/btif/include/
Dbtif_util.h60 const char* dump_rc_pdu(uint8_t pdu);
/system/bt/btif/test/
Dbtif_rc_test.cc90 const char* dump_rc_pdu(uint8_t pdu) { return nullptr; } in dump_rc_pdu() argument

12