/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 277 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/ |
D | acl_builder_test.cc | 142 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()
|
D | le_address_manager_test.cc | 326 …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 …]
|
D | le_advertising_manager_test.cc | 80 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 …]
|
D | controller_test.cc | 72 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/ |
D | basic_mode_channel_data_controller_test.cc | 95 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()
|
D | scheduler_fifo_test.cc | 108 auto packet_view = GetPacketView(std::move(packet)); in TEST_F() local 109 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F()
|
D | sender_test.cc | 112 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/ |
D | link_layer_socket_device.cc | 54 bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian> packet_view( in TimerTick() local 56 auto packet = model::packets::LinkLayerPacketView::Create(packet_view); in TimerTick()
|
D | scripted_beacon.h | 53 void IncomingPacket(model::packets::LinkLayerPacketView packet_view) override;
|
/system/bt/gd/packet/ |
D | Android.bp | 9 "packet_view.cc",
|
D | packet_view_unittest.cc | 113 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/ |
D | phy_layer_factory.cc | 67 auto packet_view = in Send() local 70 model::packets::LinkLayerPacketView::Create(packet_view); in Send()
|
/system/bt/gd/hci/acl_manager/ |
D | round_robin_scheduler_test.cc | 131 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local 132 AclPacketView acl_packet_view = AclPacketView::Create(packet_view); in HciDownEndDequeue()
|