Home
last modified time | relevance | path

Searched refs:kLittleEndian (Results 1 – 25 of 66) sorted by relevance

123

/system/bt/gd/packet/
Dpython3_module.cc57 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/
Dassembler.h24 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()
Dacl_connection.h39 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/
Dhci_processor.h63 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/
Dhci_packets_test.cc72 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 …]
Dacl_manager_mock.h53 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10};
67 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10};
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.h43 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);
Dle_credit_based_channel_data_controller.h42 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…
Dchannel_impl.h38 …virtual common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*
44 …virtual common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder>*
Dchannel_impl_mock.h31 …THOD((common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*),
33 …MOCK_METHOD((common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBui…
Ddynamic_channel_impl.h49 …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…
Dbasic_mode_channel_data_controller_test.cc35 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
40 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
Dscheduler.h45 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>;
Dreceiver.h49 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>;
/system/bt/gd/security/test/
Dfake_l2cap_test.cc55 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/
Dl2cap_packet_test.cc80 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()
Ddynamic_channel.cc37 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc31 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/
Dfixed_channel_impl.h62 …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/
Dchannel_fuzz_controller.h30 typedef os::IQueueEnqueue<packet::PacketView<packet::kLittleEndian>> EnqueueType;
31 typedef os::fuzz::FuzzInjectQueue<packet::PacketView<packet::kLittleEndian>> ChannelFuzzQueueType;
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl.h70 …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/
Dwired_pair_of_bidi_queues.h82 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/
Dhci_processor.cc117 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/
Dlink_layer_socket_device.cc43 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> size( in TimerTick()
60 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>( in TimerTick()
/system/bt/gd/l2cap/classic/
Dfixed_channel.cc42 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*

123