Home
last modified time | relevance | path

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

123

/system/bt/gd/packet/
Dpython3_module.cc57 using ::bluetooth::packet::kLittleEndian;
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()
80 py::class_<PacketStruct<kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<kLittleEndian>>>( in PYBIND11_MODULE()
82 …py::class_<PacketStruct<!kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<!kLittleEndian>>… in PYBIND11_MODULE()
84 py::class_<Iterator<kLittleEndian>>(m, "IteratorLittleEndian"); in PYBIND11_MODULE()
85 py::class_<Iterator<!kLittleEndian>>(m, "IteratorBigEndian"); in PYBIND11_MODULE()
86 py::class_<PacketView<kLittleEndian>>(m, "PacketViewLittleEndian") in PYBIND11_MODULE()
90 return std::make_unique<PacketView<kLittleEndian>>(bytes_shared); in PYBIND11_MODULE()
92 .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()
87 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet()
98 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet()
Dacl_connection.h37 using Queue = common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder>;
38 using QueueUpEnd = common::BidiQueueEnd<BasePacketBuilder, PacketView<kLittleEndian>>;
39 using QueueDownEnd = common::BidiQueueEnd<PacketView<kLittleEndian>, BasePacketBuilder>;
/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>*
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()
87 …common::BidiQueue<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBuilder> channel_qu…
Dchannel_impl_mock.h31 …THOD((common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*),
33 …MOCK_METHOD((common::BidiQueueEnd<packet::PacketView<packet::kLittleEndian>, packet::BasePacketBui…
Dscheduler.h45 using UpperEnqueue = packet::PacketView<packet::kLittleEndian>;
Dscheduler_fifo_test.cc45 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
50 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
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()
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()
Dfake_hci_layer.h36 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
41 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
/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/hci/
Dhci_packets_test.cc235 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST()
270 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST()
288 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_ena… in TEST()
304 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_get_vendor_c… in TEST()
317 PacketView<kLittleEndian> packet_bytes_view( in TEST()
340 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST()
358 PacketView<kLittleEndian> packet_bytes_view( in TEST()
385 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST()
401 PacketView<kLittleEndian> packet_bytes_view( in TEST()
430 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST()
[all …]
Dacl_manager_mock.h50 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10};
63 mutable common::BidiQueue<PacketView<kLittleEndian>, BasePacketBuilder> acl_queue_{10};
/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/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/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.cc41 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> size( in TimerTick()
54 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> packet_view( in TimerTick()
/system/bt/gd/l2cap/classic/
Dfixed_channel.cc42 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*
/system/bt/gd/l2cap/le/
Dfixed_channel.cc42 common::BidiQueueEnd<packet::BasePacketBuilder, packet::PacketView<packet::kLittleEndian>>*

123