/system/bt/gd/packet/ |
D | python3_module.cc | 57 using ::bluetooth::packet::kLittleEndian; 78 …py::class_<PacketBuilder<kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<kLittleE… in PYBIND11_MODULE() 80 …py::class_<PacketBuilder<!kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<!kLittl… in PYBIND11_MODULE() 83 py::class_<PacketStruct<kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<kLittleEndian>>>( in PYBIND11_MODULE() 85 …py::class_<PacketStruct<!kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<!kLittleEndian>>… in PYBIND11_MODULE() 87 py::class_<Iterator<kLittleEndian>>(m, "IteratorLittleEndian"); in PYBIND11_MODULE() 88 py::class_<Iterator<!kLittleEndian>>(m, "IteratorBigEndian"); in PYBIND11_MODULE() 89 py::class_<PacketView<kLittleEndian>>(m, "PacketViewLittleEndian") in PYBIND11_MODULE() 93 return std::make_unique<PacketView<kLittleEndian>>(bytes_shared); in PYBIND11_MODULE() 95 .def("GetBytes", [](const PacketView<kLittleEndian> view) { in PYBIND11_MODULE() [all …]
|
/system/bt/gd/hci/acl_manager/ |
D | assembler.h | 24 class PacketViewForRecombination : public packet::PacketView<kLittleEndian> { 27 void AppendPacketView(packet::PacketView<kLittleEndian> to_append) { in AppendPacketView() 54 …PacketViewForRecombination recombination_stage_{PacketView<kLittleEndian>(std::make_shared<std::ve… 57 std::queue<packet::PacketView<kLittleEndian>> incoming_queue_; 66 std::unique_ptr<packet::PacketView<kLittleEndian>> on_le_incoming_data_ready() { in on_le_incoming_data_ready() 72 return std::make_unique<PacketView<kLittleEndian>>(packet); in on_le_incoming_data_ready() 76 PacketView<kLittleEndian> payload = packet.GetPayload(); in on_incoming_packet() 92 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet() 103 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet()
|
D | acl_connection.h | 39 using Queue = common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder>; 40 using QueueUpEnd = common::BidiQueueEnd<BasePacketBuilder, PacketView<kLittleEndian>>; 41 using QueueDownEnd = common::BidiQueueEnd<PacketView<kLittleEndian>, BasePacketBuilder>;
|
/system/bt/gd/btaa/ |
D | hci_processor.h | 63 packet::PacketView<packet::kLittleEndian>& packet_view, 67 packet::PacketView<packet::kLittleEndian>& packet_view, 71 packet::PacketView<packet::kLittleEndian>& packet_view, 75 packet::PacketView<packet::kLittleEndian>& packet_view, 79 packet::PacketView<packet::kLittleEndian>& packet_view,
|
/system/bt/gd/hci/ |
D | hci_packets_test.cc | 72 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() 107 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST() 122 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_ena… in TEST() 136 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_get_vendor_c… in TEST() 146 PacketView<kLittleEndian> packet_bytes_view( in TEST() 167 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 185 PacketView<kLittleEndian> packet_bytes_view( in TEST() 204 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 220 PacketView<kLittleEndian> packet_bytes_view( in TEST() 240 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() [all …]
|
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};
|
/system/bt/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>; 74 class PacketViewForReassembly : public packet::PacketView<kLittleEndian> { 77 void AppendPacketView(packet::PacketView<kLittleEndian> to_append) { in AppendPacketView() 81 …PacketViewForReassembly reassembly_stage_{PacketView<kLittleEndian>(std::make_shared<std::vector<u…
|
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 | dynamic_channel_impl.h | 49 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 53 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 91 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
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 | scheduler.h | 45 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>;
|
D | receiver.h | 49 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>;
|
/system/bt/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()
|
/system/bt/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()
|
D | dynamic_channel.cc | 37 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*
|
/system/bt/gd/packet/parser/test/ |
D | generated_packet_test.cc | 31 using ::bluetooth::packet::kLittleEndian; 82 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() 114 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() 134 …ParentWithSixBytesView invalid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(t… in TEST() 137 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST() 145 …ParentWithSixBytesView valid_parent = ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too… in TEST() 148 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_small))… in TEST() 158 …ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(just_right)… in TEST() 168 … ChildWithSixBytesView::Create(ParentWithSixBytesView::Create(PacketView<kLittleEndian>(too_big))); in TEST() 186 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() [all …]
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.h | 62 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 66 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 97 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
/system/bt/gd/l2cap/fuzz/ |
D | channel_fuzz_controller.h | 30 typedef os::IQueueEnqueue<packet::PacketView<packet::kLittleEndian>> EnqueueType; 31 typedef os::fuzz::FuzzInjectQueue<packet::PacketView<packet::kLittleEndian>> ChannelFuzzQueueType;
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_impl.h | 70 …common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>* GetQue… in GetQueueUpEnd() 74 …common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>* GetQue… in GetQueueDownEnd() 99 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
|
/system/bt/gd/common/testing/ |
D | wired_pair_of_bidi_queues.h | 82 std::unique_ptr<packet::PacketView<packet::kLittleEndian>> BuilderToView( in BuilderToView() 88 return std::make_unique<packet::PacketView<packet::kLittleEndian>>(bytes); in BuilderToView() 93 …WiredPairOfBiDiQueues<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>, Builde…
|
/system/bt/gd/btaa/linux_generic/ |
D | hci_processor.cc | 117 packet::PacketView<packet::kLittleEndian>& packet_view, in process_command() 145 packet::PacketView<packet::kLittleEndian>& packet_view, in process_event() 206 packet::PacketView<packet::kLittleEndian>& packet_view, in process_acl() 219 packet::PacketView<packet::kLittleEndian>& packet_view, in process_sco() 232 packet::PacketView<packet::kLittleEndian>& packet_view, in process_iso() 246 …auto packet_view = packet::PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>… in OnHciPacket()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | link_layer_socket_device.cc | 43 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> size( in TimerTick() 60 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>( in TimerTick()
|
/system/bt/gd/l2cap/classic/ |
D | fixed_channel.cc | 42 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*
|