Home
last modified time | relevance | path

Searched refs:packet_view (Results 1 – 14 of 14) sorted by relevance

/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc239 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
242 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
243 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F()
255 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
258 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
259 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_NEGATIVE_REPLY, packet_view.GetOpCode()); in TEST_F()
286 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
289 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
290 ASSERT_EQ(OpCode::PIN_CODE_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F()
301 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
[all …]
/system/bt/gd/hci/
Dacl_builder_test.cc142 AclPacketView packet_view = AclPacketView::Create(packet_bytes_view); in TEST() local
143 ASSERT_TRUE(packet_view.IsValid()); in TEST()
150 ASSERT_EQ(handle, packet_view.GetHandle()); in TEST()
151 ASSERT_EQ(packet_boundary_flag, packet_view.GetPacketBoundaryFlag()); in TEST()
152 ASSERT_EQ(broadcast_flag, packet_view.GetBroadcastFlag()); in TEST()
153 PacketView<true> payload_view = packet_view.GetPayload(); in TEST()
160 ASSERT_EQ(packet_view.size(), information_request.size()); in TEST()
161 for (size_t i = 0; i < packet_view.size(); i++) { in TEST()
162 ASSERT_EQ(packet_view[i], information_request[i]); in TEST()
Dle_advertising_manager_test.cc86 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() local
87 ASSERT(packet_view.IsValid()); in EnqueueCommand()
88 command_queue_.push_back(packet_view); in EnqueueCommand()
91 (command_op_code_ == OpCode::NONE || command_op_code_ == packet_view.GetOpCode())) { in EnqueueCommand()
102 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() local
103 ASSERT(packet_view.IsValid()); in EnqueueCommand()
104 command_queue_.push_back(packet_view); in EnqueueCommand()
107 (command_op_code_ == OpCode::NONE || command_op_code_ == packet_view.GetOpCode())) { in EnqueueCommand()
109 auto sub_view = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet_view)); in EnqueueCommand()
323 auto packet_view = test_hci_layer_->GetCommandPacket(adv_opcodes[i]); in TEST_F() local
[all …]
Dle_scanning_manager_test.cc111 auto packet_view = GetPacketView(GetLastCommand()); in GetCommandPacket() local
112 CommandPacketView command_packet_view = CommandPacketView::Create(packet_view); in GetCommandPacket()
Dcontroller_test.cc72 auto packet_view = GetPacketView(std::move(command_builder)); in HandleCommand() local
73 CommandPacketView command = CommandPacketView::Create(packet_view); in HandleCommand()
Dacl_manager_test.cc149 auto packet_view = GetPacketView(GetLastCommand()); in GetCommandPacket() local
150 CommandPacketView command_packet_view = CommandPacketView::Create(packet_view); in GetCommandPacket()
/system/bt/gd/l2cap/internal/
Dbasic_mode_channel_data_controller_test.cc95 auto packet_view = channel_queue.GetUpEnd()->TryDequeue(); in TEST_F() local
96 EXPECT_NE(packet_view, nullptr); in TEST_F()
97 std::string data = std::string(packet_view->begin(), packet_view->end()); in TEST_F()
Dscheduler_fifo_test.cc108 auto packet_view = GetPacketView(std::move(packet)); in TEST_F() local
109 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F()
Dsender_test.cc112 auto packet_view = GetPacketView(std::move(packet)); in TEST_F() local
113 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.cc54 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> packet_view( in TimerTick() local
56 auto packet = model::packets::LinkLayerPacketView::Create(packet_view); in TimerTick()
Dscripted_beacon.h53 void IncomingPacket(model::packets::LinkLayerPacketView packet_view) override;
/system/bt/gd/packet/
DAndroid.bp9 "packet_view.cc",
Dpacket_view_unittest.cc113 for (const auto& packet_view : to_append) { in AppendedPacketView() local
114 Append(packet_view); in AppendedPacketView()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc62 auto packet_view = in Send() local
65 model::packets::LinkLayerPacketView::Create(packet_view); in Send()