/system/bt/packet/tests/fuzzers/ |
D | avrcp_packet_fuzzer.cc | 27 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/ |
D | avrcp_packet.cc | 27 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()
|
D | avrcp_packet.h | 32 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
|
D | avrcp_browse_packet.h | 32 class BrowsePacketBuilder : public ::bluetooth::PacketBuilder { 37 BrowsePdu pdu, std::unique_ptr<::bluetooth::PacketBuilder> payload); 45 std::unique_ptr<::bluetooth::PacketBuilder> payload_;
|
D | vendor_packet.h | 24 class VendorPacketBuilder : public avrcp::PacketBuilder { 30 std::unique_ptr<::bluetooth::PacketBuilder> payload); 49 : PacketBuilder(ctype, 0x09, 0x00, Opcode::VENDOR), in VendorPacketBuilder()
|
D | pass_through_packet.h | 24 class PassThroughPacketBuilder : public PacketBuilder { 40 : PacketBuilder(response ? CType::ACCEPTED : CType::CONTROL, 0x09, 0x00, in PassThroughPacketBuilder()
|
D | avrcp_reject_packet.cc | 36 PacketBuilder::PushHeader(pkt); in Serialize()
|
D | capabilities_packet.cc | 39 PacketBuilder::PushHeader(pkt); in Serialize() 132 PacketBuilder::PushHeader(pkt); in Serialize()
|
D | vendor_packet.cc | 24 std::unique_ptr<::bluetooth::PacketBuilder> payload) { in MakeBuilder() 46 PacketBuilder::PushHeader(pkt); in Serialize()
|
D | get_play_status_packet.cc | 46 PacketBuilder::PushHeader(pkt); in Serialize()
|
D | pass_through_packet.cc | 38 PacketBuilder::PushHeader(pkt); in Serialize()
|
D | set_absolute_volume.cc | 38 PacketBuilder::PushHeader(pkt); in Serialize()
|
/system/bt/packet/tests/avrcp/ |
D | avrcp_packet_test.cc | 26 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()
|
D | avrcp_browse_packet_test.cc | 26 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;
|
D | vendor_packet_test.cc | 28 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/ |
D | packet_test_common.h | 62 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/ |
D | packet_builder.h | 36 class PacketBuilder : public BasePacketBuilder, protected EndianInserter<little_endian> { 38 PacketBuilder() = default; 39 virtual ~PacketBuilder() = default;
|
D | packet_builder_unittest.cc | 25 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 …]
|
D | python3_module.cc | 58 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()
|
D | raw_builder.h | 29 class RawBuilder : public PacketBuilder<true> {
|
/system/bt/packet/base/ |
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 | packet_builder.h | 25 class PacketBuilder { 30 virtual ~PacketBuilder() = default;
|
/system/bt/profile/avrcp/tests/avrcp_device_fuzz/ |
D | avrcp_device_fuzz.cc | 60 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/ |
D | device.h | 65 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/ |
D | avrcp_test_helper.h | 30 using AvrcpResponse = std::unique_ptr<::bluetooth::PacketBuilder>; 141 std::unique_ptr<PacketBuilder>&& arg) { in matchPacket()
|