/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | assembler.h | 41 class PacketViewForRecombination : public packet::PacketView<packet::kLittleEndian> { 47 : PacketView(PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>>())) {} in PacketViewForRecombination() 49 void AppendPacketView(packet::PacketView<packet::kLittleEndian> to_append) { in AppendPacketView() 64 size_t GetL2capPduSize(packet::PacketView<packet::kLittleEndian> pdu) { in GetL2capPduSize() 81 std::queue<packet::PacketView<packet::kLittleEndian>> incoming_queue_; 90 std::unique_ptr<packet::PacketView<packet::kLittleEndian>> on_data_ready() { in on_data_ready() 96 return std::make_unique<PacketView<packet::kLittleEndian>>(packet); in on_data_ready() 100 PacketView<packet::kLittleEndian> payload = packet.GetPayload(); in on_incoming_packet()
|
D | classic_impl_test.cc | 72 return T::Create(hci::CommandView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateCommandView() 92 return T::Create(hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateEventView() 102 hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in ReturnCommandComplete() 112 hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in ReturnCommandStatus() 144 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 149 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView() 218 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue()
|
D | acl_connection.h | 40 using Queue = common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder>; 41 using QueueUpEnd = common::BidiQueueEnd<BasePacketBuilder, PacketView<kLittleEndian>>; 42 using QueueDownEnd = common::BidiQueueEnd<PacketView<kLittleEndian>, BasePacketBuilder>;
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | hci_packets_test.cc | 71 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 106 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST() 121 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_ena… in TEST() 135 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_get_vendor_c… in TEST() 145 PacketView<kLittleEndian> packet_bytes_view( in TEST() 166 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 184 PacketView<kLittleEndian> packet_bytes_view( in TEST() 203 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 219 PacketView<kLittleEndian> packet_bytes_view( in TEST() 239 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() [all …]
|
D | hci_layer_fake.h | 29 packet::PacketView<packet::kLittleEndian> GetPacketView( 79 packet::PacketView<packet::kLittleEndian> OutgoingAclData(); 122 PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>>()));
|
D | hci_layer_fake.cc | 31 using packet::kLittleEndian; 35 PacketView<packet::kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 40 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView() 231 PacketView<kLittleEndian> HciLayerFake::OutgoingAclData() { in OutgoingAclData()
|
D | acl_manager_mock.h | 53 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10}; 67 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10};
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | generated_packet_test.cc | 30 using ::bluetooth::packet::kLittleEndian; 81 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() 113 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() 133 …ParentWithSixBytesView invalid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(t… in TEST() 136 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST() 144 …ParentWithSixBytesView valid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too… in TEST() 147 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST() 157 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(just_right)… in TEST() 167 … ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_big))); in TEST() 185 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/ |
D | l2cap_packet_test.cc | 80 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 90 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 100 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 110 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 120 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 158 PacketView<kLittleEndian> packet_bytes_view(shared_bytes); in TEST()
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller.h | 43 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>; 75 class PacketViewForReassembly : public packet::PacketView<kLittleEndian> { 78 void AppendPacketView(packet::PacketView<kLittleEndian> to_append) { in AppendPacketView() 95 …PacketViewForReassembly reassembly_stage_{PacketView<kLittleEndian>(std::make_shared<std::vector<u… 100 const packet::PacketView<kLittleEndian>& payload);
|
D | le_credit_based_channel_data_controller.h | 42 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>; 75 class PacketViewForReassembly : public packet::PacketView<kLittleEndian> { 78 void AppendPacketView(packet::PacketView<kLittleEndian> to_append) { in AppendPacketView() 82 …PacketViewForReassembly reassembly_stage_{PacketView<kLittleEndian>(std::make_shared<std::vector<u…
|
D | dynamic_channel_impl.h | 51 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 55 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 93 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
D | channel_impl.h | 38 …virtual common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* 44 …virtual common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>*
|
D | channel_impl_mock.h | 31 …THOD((common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*), 33 …MOCK_METHOD((common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBui…
|
D | basic_mode_channel_data_controller_test.cc | 35 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 40 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
|
D | sender_test.cc | 44 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 49 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
|
D | le_credit_based_channel_data_controller.cc | 98 … enqueue_buffer_.Enqueue(std::make_unique<PacketView<kLittleEndian>>(reassembly_stage_), handler_); in OnPdu() 101 …reassembly_stage_ = PacketViewForReassembly(PacketView<kLittleEndian>(std::make_shared<std::vector… in OnPdu()
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | data_parser_unittest.cc | 61 auto it = Iterator<kLittleEndian>(data); in TEST() 72 auto it = Iterator<kLittleEndian>(data); in TEST() 84 auto it = Iterator<kLittleEndian>(data); in TEST() 95 auto it = Iterator<kLittleEndian>(data); in TEST() 106 auto it = Iterator<kLittleEndian>(data); in TEST() 119 auto it = Iterator<kLittleEndian>(data); in TEST() 138 auto it = Iterator<kLittleEndian>(data); in TEST() 151 auto it = Iterator<kLittleEndian>(data); in TEST() 163 auto it = Iterator<kLittleEndian>(data); in TEST()
|
/packages/modules/Bluetooth/system/gd/security/test/ |
D | fake_l2cap_test.cc | 55 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<T> packet) { in GetPacketView() 60 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView() 91 …common::BidiQueue<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>> bidi_queue… in TEST_F() 110 …os::EnqueueBuffer<packet::PacketView<packet::kLittleEndian>> up_end_enqueue_buffer{bidi_queue.GetU… in TEST_F() 116 …up_end_enqueue_buffer.Enqueue(std::make_unique<PacketView<kLittleEndian>>(GetPacketView(std::move(… in TEST_F()
|
D | fake_hci_layer.h | 34 using hci::kLittleEndian; 39 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 44 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.h | 73 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 77 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 108 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
/packages/modules/Bluetooth/system/gd/common/testing/ |
D | wired_pair_of_bidi_queues.h | 85 std::unique_ptr<packet::PacketView<packet::kLittleEndian>> BuilderToView( in BuilderToView() 91 return std::make_unique<packet::PacketView<packet::kLittleEndian>>(bytes); in BuilderToView() 96 …WiredPairOfBiDiQueues<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>, Builde…
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | fixed_channel_impl.h | 86 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 90 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 115 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/ |
D | channel_fuzz_controller.h | 33 typedef os::IQueueEnqueue<packet::PacketView<packet::kLittleEndian>> EnqueueType; 34 typedef os::fuzz::FuzzInjectQueue<packet::PacketView<packet::kLittleEndian>> ChannelFuzzQueueType;
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_fake.cc | 38 packet::PacketView<packet::kLittleEndian> TestHciHal::GetPacketView(hal::HciPacket data) { in GetPacketView() 40 return packet::PacketView<packet::kLittleEndian>(shared); in GetPacketView()
|