Home
last modified time | relevance | path

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

12

/system/bt/packet/tests/fuzzers/
Davrcp_packet_fuzzer.cc27 class TestPacketBuilder : public PacketBuilder {
36 using PacketBuilder::AddPayloadOctets1;
37 using PacketBuilder::AddPayloadOctets2;
38 using PacketBuilder::AddPayloadOctets3;
39 using PacketBuilder::AddPayloadOctets4;
40 using PacketBuilder::AddPayloadOctets6;
41 using PacketBuilder::AddPayloadOctets8;
42 using PacketBuilder::ReserveSpace;
77 auto builder = PacketBuilder::MakeBuilder( in LLVMFuzzerTestOneInput()
/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()
Dvendor_packet.cc24 std::unique_ptr<::bluetooth::PacketBuilder> payload) { in MakeBuilder()
46 PacketBuilder::PushHeader(pkt); in Serialize()
Dget_play_status_packet.cc46 PacketBuilder::PushHeader(pkt); in Serialize()
Dpass_through_packet.cc38 PacketBuilder::PushHeader(pkt); in Serialize()
Dset_absolute_volume.cc38 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.h36 class PacketBuilder : public BasePacketBuilder, protected EndianInserter<little_endian> {
38 PacketBuilder() = default;
39 virtual ~PacketBuilder() = default;
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 …]
Dpython3_module.cc58 using ::bluetooth::packet::PacketBuilder;
75 …py::class_<PacketBuilder<kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<kLittleE… in PYBIND11_MODULE()
77 …py::class_<PacketBuilder<!kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<!kLittl… in PYBIND11_MODULE()
Draw_builder.h29 class RawBuilder : public PacketBuilder<true> {
/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/profile/avrcp/tests/avrcp_device_fuzz/
Davrcp_device_fuzz.cc60 void Callback(uint8_t, bool, std::unique_ptr<::bluetooth::PacketBuilder>) {} in Callback() argument
70 std::unique_ptr<::bluetooth::PacketBuilder>) {}), in LLVMFuzzerTestOneInput() argument
/system/bt/profile/avrcp/
Ddevice.h65 std::unique_ptr<::bluetooth::PacketBuilder> message)>
281 std::unique_ptr<::bluetooth::PacketBuilder> message) { in send_message()
294 std::unique_ptr<::bluetooth::PacketBuilder> message)>
/system/bt/profile/avrcp/tests/
Davrcp_test_helper.h30 using AvrcpResponse = std::unique_ptr<::bluetooth::PacketBuilder>;
141 std::unique_ptr<PacketBuilder>&& arg) { in matchPacket()

12