Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dassembler.h41 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()
Dclassic_impl_test.cc72 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()
Dacl_connection.h40 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/
Dhci_packets_test.cc71 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 …]
Dhci_layer_fake.h29 packet::PacketView<packet::kLittleEndian> GetPacketView(
79 packet::PacketView<packet::kLittleEndian> OutgoingAclData();
122 PacketView<packet::kLittleEndian>(std::make_shared<std::vector<uint8_t>>()));
Dhci_layer_fake.cc31 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()
Dacl_manager_mock.h53 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/
Dgenerated_packet_test.cc30 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/
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()
158 PacketView<kLittleEndian> packet_bytes_view(shared_bytes); in TEST()
/packages/modules/Bluetooth/system/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>;
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…
Ddynamic_channel_impl.h51 …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…
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…
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()
Dsender_test.cc44 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView()
49 return packet::PacketView<packet::kLittleEndian>(bytes); in GetPacketView()
Dle_credit_based_channel_data_controller.cc98 … 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/
Ddata_parser_unittest.cc61 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/
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.h34 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/
Dfixed_channel_impl.h73 …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/
Dwired_pair_of_bidi_queues.h85 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/
Dfixed_channel_impl.h86 …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/
Dchannel_fuzz_controller.h33 typedef os::IQueueEnqueue<packet::PacketView<packet::kLittleEndian>> EnqueueType;
34 typedef os::fuzz::FuzzInjectQueue<packet::PacketView<packet::kLittleEndian>> ChannelFuzzQueueType;
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_fake.cc38 packet::PacketView<packet::kLittleEndian> TestHciHal::GetPacketView(hal::HciPacket data) { in GetPacketView()
40 return packet::PacketView<packet::kLittleEndian>(shared); in GetPacketView()

123