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.cc277 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
280 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
281 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F()
293 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
296 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
297 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_NEGATIVE_REPLY, packet_view.GetOpCode()); in TEST_F()
326 hci::CommandPacketView packet_view = hci::CommandPacketView::Create(command_packet); in TEST_F() local
329 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
330 ASSERT_EQ(OpCode::PIN_CODE_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F()
341 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_address_manager_test.cc326 …auto packet_view = LeAddDeviceToConnectListView::Create(LeConnectionManagementCommandView::Create(… in TEST_F() local
327 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
328 ASSERT_EQ(ConnectListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F()
329 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F()
346 …auto packet_view = LeRemoveDeviceFromConnectListView::Create(LeConnectionManagementCommandView::Cr… in TEST_F() local
347 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
348 ASSERT_EQ(ConnectListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F()
349 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F()
378 auto packet_view = LeAddDeviceToResolvingListView::Create(LeSecurityCommandView::Create(packet)); in TEST_F() local
379 ASSERT_TRUE(packet_view.IsValid()); in TEST_F()
[all …]
Dle_advertising_manager_test.cc80 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() local
81 ASSERT_TRUE(packet_view.IsValid()); in EnqueueCommand()
82 command_queue_.push_back(packet_view); in EnqueueCommand()
85 (command_op_code_ == OpCode::NONE || command_op_code_ == packet_view.GetOpCode())) { in EnqueueCommand()
96 auto packet_view = CommandPacketView::Create(GetPacketView(std::move(command))); in EnqueueCommand() local
97 ASSERT_TRUE(packet_view.IsValid()); in EnqueueCommand()
98 command_queue_.push_back(packet_view); in EnqueueCommand()
101 (command_op_code_ == OpCode::NONE || command_op_code_ == packet_view.GetOpCode())) { in EnqueueCommand()
103 auto sub_view = LeMultiAdvtView::Create(LeAdvertisingCommandView::Create(packet_view)); in EnqueueCommand()
384 auto packet_view = test_hci_layer_->GetCommandPacket(adv_opcodes[i]); in TEST_F() local
[all …]
Dcontroller_test.cc72 auto packet_view = GetPacketView(std::move(command_builder)); in HandleCommand() local
73 CommandPacketView command = CommandPacketView::Create(packet_view); in HandleCommand()
/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.cc67 auto packet_view = in Send() local
70 model::packets::LinkLayerPacketView::Create(packet_view); in Send()
/system/bt/gd/hci/acl_manager/
Dround_robin_scheduler_test.cc131 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local
132 AclPacketView acl_packet_view = AclPacketView::Create(packet_view); in HciDownEndDequeue()