Home
last modified time | relevance | path

Searched refs:PacketBuilder (Results 1 – 25 of 52) sorted by relevance

123

/system/bt/packet/avrcp/
Davrcp_packet.cc27 std::unique_ptr<PacketBuilder> PacketBuilder::MakeBuilder( in MakeBuilder()
29 std::unique_ptr<::bluetooth::PacketBuilder> payload) { in MakeBuilder()
30 std::unique_ptr<PacketBuilder> builder = std::unique_ptr<PacketBuilder>( in MakeBuilder()
31 new PacketBuilder(type, subunit_type, subunit_id, opcode)); in MakeBuilder()
38 size_t PacketBuilder::size() const { in size()
43 bool PacketBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize()
53 void PacketBuilder::PushHeader( in PushHeader()
60 bool PacketBuilder::PushCompanyId( in PushCompanyId()
Davrcp_packet.h32 class PacketBuilder : public ::bluetooth::PacketBuilder {
34 virtual ~PacketBuilder() = default;
36 static std::unique_ptr<PacketBuilder> MakeBuilder(
38 std::unique_ptr<::bluetooth::PacketBuilder> packet);
49 std::unique_ptr<::bluetooth::PacketBuilder> payload_;
55 PacketBuilder(CType type, uint8_t subunit_type, uint8_t subunit_id, in PacketBuilder() function
Davrcp_browse_packet.h32 class BrowsePacketBuilder : public ::bluetooth::PacketBuilder {
37 BrowsePdu pdu, std::unique_ptr<::bluetooth::PacketBuilder> payload);
45 std::unique_ptr<::bluetooth::PacketBuilder> payload_;
Dvendor_packet.h24 class VendorPacketBuilder : public avrcp::PacketBuilder {
30 std::unique_ptr<::bluetooth::PacketBuilder> payload);
49 : PacketBuilder(ctype, 0x09, 0x00, Opcode::VENDOR), in VendorPacketBuilder()
Dpass_through_packet.h24 class PassThroughPacketBuilder : public PacketBuilder {
40 : PacketBuilder(response ? CType::ACCEPTED : CType::CONTROL, 0x09, 0x00, in PassThroughPacketBuilder()
Davrcp_reject_packet.cc36 PacketBuilder::PushHeader(pkt); in Serialize()
Dcapabilities_packet.cc39 PacketBuilder::PushHeader(pkt); in Serialize()
132 PacketBuilder::PushHeader(pkt); in Serialize()
/system/bt/packet/tests/avrcp/
Davrcp_packet_test.cc26 class TestPacketBuilder : public PacketBuilder {
35 using PacketBuilder::ReserveSpace;
36 using PacketBuilder::AddPayloadOctets1;
37 using PacketBuilder::AddPayloadOctets2;
38 using PacketBuilder::AddPayloadOctets3;
39 using PacketBuilder::AddPayloadOctets4;
40 using PacketBuilder::AddPayloadOctets6;
41 using PacketBuilder::AddPayloadOctets8;
70 auto builder = PacketBuilder::MakeBuilder( in TEST()
Davrcp_browse_packet_test.cc26 class TestPacketBuilder : public PacketBuilder {
35 using PacketBuilder::ReserveSpace;
36 using PacketBuilder::AddPayloadOctets1;
37 using PacketBuilder::AddPayloadOctets2;
38 using PacketBuilder::AddPayloadOctets3;
39 using PacketBuilder::AddPayloadOctets4;
40 using PacketBuilder::AddPayloadOctets6;
41 using PacketBuilder::AddPayloadOctets8;
Dvendor_packet_test.cc28 class TestPacketBuilder : public PacketBuilder {
37 using PacketBuilder::ReserveSpace;
38 using PacketBuilder::AddPayloadOctets1;
39 using PacketBuilder::AddPayloadOctets2;
40 using PacketBuilder::AddPayloadOctets3;
41 using PacketBuilder::AddPayloadOctets4;
42 using PacketBuilder::AddPayloadOctets6;
43 using PacketBuilder::AddPayloadOctets8;
/system/bt/packet/tests/base/
Dpacket_test_common.h62 class TestPacketBuilder : public PacketBuilder {
71 using PacketBuilder::ReserveSpace;
72 using PacketBuilder::AddPayloadOctets1;
73 using PacketBuilder::AddPayloadOctets2;
74 using PacketBuilder::AddPayloadOctets3;
75 using PacketBuilder::AddPayloadOctets4;
76 using PacketBuilder::AddPayloadOctets6;
77 using PacketBuilder::AddPayloadOctets8;
/system/bt/gd/packet/
Dpacket_builder_unittest.cc25 using bluetooth::packet::PacketBuilder;
53 class EndianBuilder : public PacketBuilder<little_endian> {
72 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
74 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
75 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
76 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
100 class VectorBuilder : public PacketBuilder<true> {
122 PacketBuilder<true>::insert_vector(vect_, it); in Serialize()
130 class InsertElementsBuilder : public PacketBuilder<true> {
[all …]
Dpacket_builder.h37 class PacketBuilder : public BasePacketBuilder {
39 PacketBuilder() = default;
40 virtual ~PacketBuilder() = default;
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_builder_test.cc50 class EndianBuilder : public PacketBuilder<little_endian> {
69 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
70 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
71 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
72 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
97 class VectorBuilder : public PacketBuilder<true> {
119 PacketBuilder<true>::insert_vector(vect_, it); in Serialize()
127 class InsertElementsBuilder : public PacketBuilder<true> {
150 PacketBuilder<true>::insert(elem, it); in Serialize()
[all …]
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_builder_test.cc50 class EndianBuilder : public PacketBuilder<little_endian> {
69 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
70 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
71 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
72 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
97 class VectorBuilder : public PacketBuilder<true> {
119 PacketBuilder<true>::insert_vector(vect_, it); in Serialize()
127 class InsertElementsBuilder : public PacketBuilder<true> {
150 PacketBuilder<true>::insert(elem, it); in Serialize()
[all …]
/system/bt/packet/base/
Dpacket_builder.cc25 void PacketBuilder::ReserveSpace(const std::shared_ptr<Packet>& pkt, in ReserveSpace()
30 bool PacketBuilder::AddPayloadOctets(const std::shared_ptr<Packet>& pkt, in AddPayloadOctets()
Dpacket_builder.h25 class PacketBuilder {
30 virtual ~PacketBuilder() = default;
/system/bt/vendor_libs/test_vendor_lib/packets/
Dpacket_builder.h35 class PacketBuilder : public BasePacketBuilder {
37 PacketBuilder() = default;
38 virtual ~PacketBuilder() = default;
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_builder.h43 class LinkLayerPacketBuilder : PacketBuilder<true> {
91 …LinkLayerPacketBuilder(Link::PacketType type, std::unique_ptr<PacketBuilder> builder, const Addres…
93 …LinkLayerPacketBuilder(Link::PacketType type, std::unique_ptr<PacketBuilder> builder, const Addres…
97 std::unique_ptr<PacketBuilder> builder_;
Dpage_response_builder.h29 class PageResponseBuilder : public PacketBuilder<true> {
Dio_capability_negative_response_builder.h29 class IoCapabilityNegativeResponseBuilder : public PacketBuilder<true> {
Ddisconnect_builder.h29 class DisconnectBuilder : public PacketBuilder<true> {
Dview_forwarder_builder.h30 class ViewForwarderBuilder : public PacketBuilder<true> {
Dinquiry_builder.h30 class InquiryBuilder : public PacketBuilder<true> {
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dhci_packet_builder.h28 class HciPacketBuilder : public PacketBuilder<true> {

123