/system/bt/packet/avrcp/ |
D | avrcp_packet.cc | 40 return payload_->size() + Packet::kMinSize(); in size() 43 bool PacketBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 54 const std::shared_ptr<::bluetooth::Packet>& pkt) { in PushHeader() 61 const std::shared_ptr<::bluetooth::Packet>& pkt, uint32_t company_id) { in PushCompanyId() 71 std::shared_ptr<Packet> Packet::Parse( in Parse() 72 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse() 73 return std::shared_ptr<Packet>(new Packet(pkt)); in Parse() 76 CType Packet::GetCType() const { in GetCType() 81 uint8_t Packet::GetSubunitType() const { in GetSubunitType() 85 uint8_t Packet::GetSubunitId() const { in GetSubunitId() [all …]
|
D | avrcp_packet.h | 42 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 51 void PushHeader(const std::shared_ptr<::bluetooth::Packet>& pkt); 52 bool PushCompanyId(const std::shared_ptr<::bluetooth::Packet>& pkt, 63 class Packet : public ::bluetooth::Packet { 65 virtual ~Packet() = default; 70 static std::shared_ptr<Packet> Parse( 71 std::shared_ptr<::bluetooth::Packet> pkt); 94 using ::bluetooth::Packet::Packet; 107 DISALLOW_COPY_AND_ASSIGN(Packet);
|
D | vendor_packet.h | 34 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 41 void PushHeader(const std::shared_ptr<::bluetooth::Packet>& pkt, 45 bool PushAttributeValue(const std::shared_ptr<::bluetooth::Packet>& pkt, 54 class VendorPacket : public avrcp::Packet { 72 static constexpr size_t kMinSize() { return Packet::kMinSize() + 7; }; in kMinSize() 85 using Packet::Packet;
|
D | avrcp_browse_packet.h | 41 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 47 void PushHeader(const std::shared_ptr<::bluetooth::Packet>& pkt, 53 class BrowsePacket : public ::bluetooth::Packet { 58 std::shared_ptr<::bluetooth::Packet> pkt); 75 using ::bluetooth::Packet::Packet;
|
D | pass_through_packet.h | 33 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 46 class PassThroughPacket : public Packet { 62 static constexpr size_t kMinSize() { return Packet::kMinSize() + 2; } in kMinSize() 73 using Packet::Packet;
|
D | vendor_packet.cc | 42 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 58 const std::shared_ptr<::bluetooth::Packet>& pkt, in PushHeader() 67 const std::shared_ptr<::bluetooth::Packet>& pkt, in PushAttributeValue() 83 return PullCompanyId(begin() + Packet::kMinSize()); in GetCompanyId() 87 auto value = *(begin() + Packet::kMinSize() + static_cast<size_t>(3)); in GetCommandPdu() 92 auto value = *(begin() + Packet::kMinSize() + static_cast<size_t>(4)); in GetPacketType() 97 auto it = begin() + Packet::kMinSize() + static_cast<size_t>(5); in GetParameterLength()
|
D | get_folder_items.h | 36 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 59 void PushMediaListItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 61 void PushMediaPlayerItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 63 void PushMediaElementItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 65 void PushFolderItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 110 const std::shared_ptr<::bluetooth::Packet>& pkt) override;
|
D | pass_through_packet.cc | 35 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 50 auto it = begin() + Packet::kMinSize(); in GetKeyState() 55 return *(begin() + Packet::kMinSize()) & 0b01111111; in GetOperationId()
|
D | avrcp_browse_packet.cc | 39 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 48 const std::shared_ptr<::bluetooth::Packet>& pkt, uint16_t length) { in PushHeader() 54 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse()
|
D | get_play_status_packet.h | 44 static constexpr size_t kMinSize() { return Packet::kMinSize() + 7; } in kMinSize() 63 const std::shared_ptr<::bluetooth::Packet>& pkt) override;
|
D | change_path.h | 33 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 81 const std::shared_ptr<::bluetooth::Packet>& pkt) override;
|
D | capabilities_packet.h | 35 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 93 const std::shared_ptr<::bluetooth::Packet>& pkt) override;
|
D | get_folder_items.cc | 72 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 124 const std::shared_ptr<::bluetooth::Packet>& pkt, in PushMediaListItem() 140 const std::shared_ptr<::bluetooth::Packet>& pkt, in PushMediaPlayerItem() 184 const std::shared_ptr<::bluetooth::Packet>& pkt, const FolderItem& item) { in PushFolderItem() 201 const std::shared_ptr<::bluetooth::Packet>& pkt, in PushMediaElementItem() 322 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize()
|
D | change_path.cc | 41 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 100 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize()
|
/system/bt/packet/base/ |
D | packet_builder.h | 23 class Packet; variable 28 virtual bool Serialize(const std::shared_ptr<Packet>& pkt) = 0; 34 void ReserveSpace(const std::shared_ptr<Packet>& pkt, size_t size); 35 bool AddPayloadOctets1(const std::shared_ptr<Packet>& pkt, uint8_t value) { in AddPayloadOctets1() 38 bool AddPayloadOctets2(const std::shared_ptr<Packet>& pkt, uint16_t value) { in AddPayloadOctets2() 41 bool AddPayloadOctets3(const std::shared_ptr<Packet>& pkt, uint32_t value) { in AddPayloadOctets3() 44 bool AddPayloadOctets4(const std::shared_ptr<Packet>& pkt, uint32_t value) { in AddPayloadOctets4() 47 bool AddPayloadOctets6(const std::shared_ptr<Packet>& pkt, uint64_t value) { in AddPayloadOctets6() 50 bool AddPayloadOctets8(const std::shared_ptr<Packet>& pkt, uint64_t value) { in AddPayloadOctets8() 58 bool AddPayloadOctets(const std::shared_ptr<Packet>& pkt, size_t octets,
|
D | packet.h | 29 class Packet : public std::enable_shared_from_this<Packet> { 34 virtual ~Packet() = default; 37 Packet() in Packet() function 41 Packet(std::shared_ptr<const Packet> pkt, size_t start, size_t end) in Packet() function 43 Packet(std::shared_ptr<const Packet> pkt) : data_(pkt->data_) { in Packet() function 72 static_assert(std::is_convertible<U*, Packet*>::value, in Specialize() 74 static_assert(std::is_convertible<T*, Packet*>::value, in Specialize()
|
D | packet.cc | 26 size_t Packet::size() const { return packet_end_index_ - packet_start_index_; } in size() 28 Iterator Packet::begin() const { in begin() 32 Iterator Packet::end() const { in end() 37 uint8_t Packet::operator[](size_t i) { in operator []() 41 size_t Packet::get_length() const { return data_->size(); } in get_length() 44 uint8_t Packet::get_at_index(size_t index) const { in get_at_index()
|
D | packet_builder.cc | 25 void PacketBuilder::ReserveSpace(const std::shared_ptr<Packet>& pkt, in ReserveSpace() 30 bool PacketBuilder::AddPayloadOctets(const std::shared_ptr<Packet>& pkt, in AddPayloadOctets()
|
D | iterator.h | 25 class Packet; variable 31 Iterator(std::shared_ptr<const Packet> packet, size_t i); 96 std::shared_ptr<const Packet> packet_;
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | hci_socket.py | 75 class HCI_Cmd_Create_Connection(Packet): 94 class HCI_Cmd_Inquiry(Packet): 107 class HCI_Event_Inquiry_Result(Packet): 123 class HCI_Event_Connection_Complete(Packet): 134 class HCI_Event_Remote_Name_Request_Complete(Packet): 142 class HCI_Event_Read_Remote_Supported_Features_Complete(Packet): 151 class HCI_Event_Read_Remote_Version_Information_Complete(Packet): 162 class HCI_Event_Read_Clock_Offset_Complete(Packet): 171 class HCI_Event_Read_Remote_Extended_Features_Complete(Packet): 182 class HCI_Event_Extended_Inquiry_Result(Packet):
|
/system/bt/packet/tests/base/ |
D | packet_test_common.h | 35 class PacketImpl : public Packet { 37 using Packet::Packet; // Inherit constructors 81 bool Serialize(const std::shared_ptr<Packet>& pkt) override { in Serialize()
|
/system/bt/profile/avrcp/ |
D | avrcp_message_converter.h | 26 class VectorPacket : public ::bluetooth::Packet { 28 using Packet::Packet; // Inherit constructors 67 static std::shared_ptr<::bluetooth::Packet> Parse(tAVRC_MSG* m) { in Parse()
|
/system/bt/packet/tests/avrcp/ |
D | get_play_status_packet_test.cc | 26 using TestGetPlayStatusRspPacket = TestPacketType<Packet>;
|
D | avrcp_packet_test.cc | 45 bool Serialize(const std::shared_ptr<Packet>& pkt) override { in Serialize() 62 using TestAvrcpPacket = TestPacketType<Packet>;
|
D | avrcp_reject_packet_test.cc | 26 using TestAvrcpPacket = TestPacketType<Packet>;
|