/system/bt/gd/packet/ |
D | raw_builder.cc | 30 RawBuilder::RawBuilder(size_t max_bytes) : max_bytes_(max_bytes) {} in RawBuilder() function in bluetooth::packet::RawBuilder 31 RawBuilder::RawBuilder(std::vector<uint8_t> vec) : payload_(std::move(vec)) {} in RawBuilder() function in bluetooth::packet::RawBuilder 33 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets() 43 bool RawBuilder::AddOctets(const vector<uint8_t>& bytes) { in AddOctets() 47 bool RawBuilder::AddOctets(size_t octets, uint64_t value) { in AddOctets() 64 bool RawBuilder::AddAddress(const Address& address) { in AddAddress() 73 bool RawBuilder::AddOctets1(uint8_t value) { in AddOctets1() 77 bool RawBuilder::AddOctets2(uint16_t value) { in AddOctets2() 81 bool RawBuilder::AddOctets3(uint32_t value) { in AddOctets3() 85 bool RawBuilder::AddOctets4(uint32_t value) { in AddOctets4() [all …]
|
D | raw_builder.h | 29 class RawBuilder : public PacketBuilder<true> { 31 RawBuilder() = default; 32 explicit RawBuilder(size_t max_bytes); 33 explicit RawBuilder(std::vector<uint8_t> vec); 34 virtual ~RawBuilder() = default;
|
D | raw_builder_unittest.cc | 47 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(); in TEST() 70 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(count_first); in TEST() 91 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(kMaxBytes); in TEST()
|
D | fragmenting_inserter.h | 32 …FragmentingInserter(size_t mtu, std::back_insert_iterator<std::vector<std::unique_ptr<RawBuilder>>… 41 std::unique_ptr<RawBuilder> curr_packet_; 42 std::back_insert_iterator<std::vector<std::unique_ptr<RawBuilder>>> iterator_;
|
D | fragmenting_inserter_unittest.cc | 33 std::vector<std::unique_ptr<RawBuilder>> fragments; in TEST() 59 std::vector<std::unique_ptr<RawBuilder>> fragments; in TEST() 96 auto counts = RawBuilder(); in TEST() 101 std::vector<std::unique_ptr<RawBuilder>> fragments_mtu_is_kPacketSize; in TEST() 108 std::vector<std::unique_ptr<RawBuilder>> fragments_mtu_is_less; in TEST() 116 std::vector<std::unique_ptr<RawBuilder>> fragments_mtu_is_more; in TEST() 141 std::vector<std::unique_ptr<RawBuilder>> fragments; in TEST_P() 144 RawBuilder original_packet(counts_); in TEST_P()
|
D | python3_module.cc | 61 using ::bluetooth::packet::RawBuilder; 66 py::class_<RawBuilder, BasePacketBuilder, std::shared_ptr<RawBuilder>>(m, "RawBuilder") in PYBIND11_MODULE() 67 .def(py::init([](std::vector<uint8_t> bytes) { return std::make_unique<RawBuilder>(bytes); })) in PYBIND11_MODULE() 69 return std::make_unique<RawBuilder>(std::vector<uint8_t>(bytes.begin(), bytes.end())); in PYBIND11_MODULE() 71 .def("Serialize", [](RawBuilder& builder) { in PYBIND11_MODULE()
|
D | fragmenting_inserter.cc | 25 … std::back_insert_iterator<std::vector<std::unique_ptr<RawBuilder>>> iterator) in FragmentingInserter() 26 …: BitInserter(to_construct_bit_inserter_), mtu_(mtu), curr_packet_(std::make_unique<RawBuilder>(mt… in FragmentingInserter() 39 curr_packet_ = std::make_unique<RawBuilder>(mtu_); in insert_bits()
|
/system/bt/gd/hci/ |
D | acl_builder_test.cc | 27 using bluetooth::packet::RawBuilder; 63 std::unique_ptr<RawBuilder> count_payload = std::make_unique<RawBuilder>(); in TEST() 96 std::unique_ptr<RawBuilder> counting_down_bytes_payload = std::make_unique<RawBuilder>(); in TEST() 129 std::unique_ptr<RawBuilder> payload = std::make_unique<RawBuilder>(); in TEST()
|
D | hci_packets_fuzz_test.cc | 27 using bluetooth::packet::RawBuilder;
|
D | hci_layer_test.cc | 33 using bluetooth::packet::RawBuilder; 749 auto acl_payload = std::make_unique<RawBuilder>(); in TEST_F() 769 auto acl_payload2 = std::make_unique<RawBuilder>(); in TEST_F() 796 auto acl_payload = std::make_unique<RawBuilder>(); in TEST_F() 834 auto acl_payload = std::make_unique<RawBuilder>(); in TEST_F() 857 auto iso_payload = std::make_unique<RawBuilder>(); in TEST_F() 893 auto iso_payload = std::make_unique<RawBuilder>(); in TEST_F()
|
/system/bt/gd/hci/acl_manager/ |
D | acl_fragmenter.cc | 29 std::vector<std::unique_ptr<packet::RawBuilder>> AclFragmenter::GetFragments() { in GetFragments() 30 std::vector<std::unique_ptr<packet::RawBuilder>> to_return; in GetFragments()
|
D | acl_fragmenter.h | 37 std::vector<std::unique_ptr<packet::RawBuilder>> GetFragments();
|
/system/bt/gd/l2cap/classic/cert/ |
D | l2cap_performance_test.py | 18 from bluetooth_packets_python3 import RawBuilder 82 data_packet = RawBuilder([x for x in data]) 138 data_packet = RawBuilder([x for x in data]) 173 data_packet = RawBuilder([x for x in data])
|
/system/bt/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller.h | 85 …CopyablePacketBuilder(std::shared_ptr<packet::RawBuilder> builder) : builder_(std::move(builder)) … in CopyablePacketBuilder() 92 std::shared_ptr<packet::RawBuilder> builder_;
|
D | enhanced_retransmission_mode_channel_data_controller.cc | 83 …td::tuple<SegmentationAndReassembly, uint16_t, std::shared_ptr<packet::RawBuilder>>> unacked_list_; 85 …std::queue<std::tuple<SegmentationAndReassembly, uint16_t, std::unique_ptr<packet::RawBuilder>>> p… 100 …void data_request(SegmentationAndReassembly sar, std::unique_ptr<packet::RawBuilder> pdu, uint16_t… in data_request() 600 …data(SegmentationAndReassembly sar, uint16_t sdu_size, std::unique_ptr<packet::RawBuilder> segment, in send_data() 602 std::shared_ptr<packet::RawBuilder> shared_segment(segment.release()); in send_data() 616 …_data(SegmentationAndReassembly sar, uint16_t sdu_size, std::unique_ptr<packet::RawBuilder> data) { in pend_data() 815 std::vector<std::unique_ptr<packet::RawBuilder>> segments; in OnSdu()
|
/system/bt/gd/l2cap/ |
D | l2cap_packet_fuzz_test.cc | 27 using bluetooth::packet::RawBuilder;
|
/system/bt/main/shim/ |
D | acl.h | 91 std::unique_ptr<packet::RawBuilder> packet); 106 std::unique_ptr<packet::RawBuilder> packet);
|
D | helpers.h | 106 inline std::unique_ptr<bluetooth::packet::RawBuilder> MakeUniquePacket( in MakeUniquePacket() 108 bluetooth::packet::RawBuilder builder; in MakeUniquePacket() 110 auto payload = std::make_unique<bluetooth::packet::RawBuilder>(); in MakeUniquePacket()
|
D | acl_api.cc | 58 std::unique_ptr<bluetooth::packet::RawBuilder> packet = MakeUniquePacket( in ACL_WriteData()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | link_layer_socket_device.cc | 68 auto size_packet = bluetooth::packet::RawBuilder(); in IncomingPacket()
|
/system/bt/gd/cert/ |
D | py_hal.py | 28 from bluetooth_packets_python3 import RawBuilder 63 acl = AclBuilder(self.handle, pb_flag, b_flag, RawBuilder(data)) 144 acl = AclBuilder(handle, pb_flag, b_flag, RawBuilder(data))
|
D | py_hci.py | 49 from bluetooth_packets_python3 import RawBuilder 61 acl = AclBuilder(self.handle, pb_flag, b_flag, RawBuilder(data))
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.cc | 166 std::unique_ptr<bluetooth::packet::RawBuilder> raw_builder_ptr = in SendAclToRemote() 167 std::make_unique<bluetooth::packet::RawBuilder>(); in SendAclToRemote() 407 std::unique_ptr<bluetooth::packet::RawBuilder> raw_builder_ptr = in IncomingAclPacket() 408 std::make_unique<bluetooth::packet::RawBuilder>(fragment); in IncomingAclPacket() 723 std::unique_ptr<bluetooth::packet::RawBuilder> raw_builder_ptr = in IncomingInquiryResponsePacket() 724 std::make_unique<bluetooth::packet::RawBuilder>(); in IncomingInquiryResponsePacket() 885 std::make_unique<bluetooth::packet::RawBuilder>( in IncomingIsoPacket() 892 std::make_unique<bluetooth::packet::RawBuilder>( in IncomingIsoPacket() 904 std::make_unique<bluetooth::packet::RawBuilder>( in IncomingIsoPacket() 912 std::make_unique<bluetooth::packet::RawBuilder>( in IncomingIsoPacket() [all …]
|
/system/bt/gd/security/test/ |
D | fake_l2cap_test.cc | 113 auto packet_one = std::make_unique<packet::RawBuilder>(); in TEST_F()
|
/system/bt/gd/hci/facade/ |
D | le_acl_manager_facade.cc | 35 using ::bluetooth::packet::RawBuilder; 183 std::unique_ptr<RawBuilder> packet = in enqueue_packet() 184 …std::make_unique<RawBuilder>(std::vector<uint8_t>(request->payload().begin(), request->payload().e… in enqueue_packet()
|