/packages/modules/Bluetooth/system/gd/hci/ |
D | le_address_manager_test.cc | 259 auto packet_view = LeAddDeviceToFilterAcceptListView::Create( in TEST_F() local 261 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 262 ASSERT_EQ(FilterAcceptListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F() 263 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F() 280 auto packet_view = LeRemoveDeviceFromFilterAcceptListView::Create( in TEST_F() local 282 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 283 ASSERT_EQ(FilterAcceptListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F() 284 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F() 316 …auto packet_view = LeSetAddressResolutionEnableView::Create(LeSecurityCommandView::Create(packet)); in TEST_F() local 317 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() [all …]
|
D | acl_builder_test.cc | 141 AclView packet_view = AclView::Create(packet_bytes_view); in TEST() local 142 ASSERT_TRUE(packet_view.IsValid()); in TEST() 149 ASSERT_EQ(handle, packet_view.GetHandle()); in TEST() 150 ASSERT_EQ(packet_boundary_flag, packet_view.GetPacketBoundaryFlag()); in TEST() 151 ASSERT_EQ(broadcast_flag, packet_view.GetBroadcastFlag()); in TEST() 152 PacketView<true> payload_view = packet_view.GetPayload(); in TEST() 159 ASSERT_EQ(packet_view.size(), information_request.size()); in TEST() 160 for (size_t i = 0; i < packet_view.size(); i++) { in TEST() 161 ASSERT_EQ(packet_view[i], information_request[i]); in TEST()
|
D | le_periodic_sync_manager_test.cc | 242 …auto packet_view = LePeriodicAdvertisingCreateSyncView::Create(LeScanningCommandView::Create(packe… in TEST_F() local 243 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 244 ASSERT_EQ(advertiser_sid, packet_view.GetAdvertisingSid()); in TEST_F() 247 packet_view.GetAdvertiserAddressType()); in TEST_F() 248 ASSERT_EQ(address, packet_view.GetAdvertiserAddress()); in TEST_F() 249 ASSERT_EQ(skip, packet_view.GetSkip()); in TEST_F() 250 ASSERT_EQ(sync_timeout, packet_view.GetSyncTimeout()); in TEST_F() 383 …auto packet_view = LePeriodicAdvertisingTerminateSyncView::Create(LeScanningCommandView::Create(pa… in TEST_F() local 384 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 385 ASSERT_EQ(sync_handle, packet_view.GetSyncHandle()); in TEST_F() [all …]
|
D | controller_test.cc | 88 auto packet_view = packet::PacketView<packet::kLittleEndian>(bytes); in HandleCommand() local 89 CommandView command = CommandView::Create(packet_view); in HandleCommand()
|
/packages/modules/Bluetooth/system/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 281 hci::CommandView packet_view = hci::CommandView::Create(command_packet); in TEST_F() local 284 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 285 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F() 297 hci::CommandView packet_view = hci::CommandView::Create(command_packet); in TEST_F() local 300 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 301 ASSERT_EQ(OpCode::IO_CAPABILITY_REQUEST_NEGATIVE_REPLY, packet_view.GetOpCode()); in TEST_F() 330 hci::CommandView packet_view = hci::CommandView::Create(command_packet); in TEST_F() local 333 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 334 ASSERT_EQ(OpCode::PIN_CODE_REQUEST_REPLY, packet_view.GetOpCode()); in TEST_F() 345 hci::CommandView packet_view = hci::CommandView::Create(command_packet); in TEST_F() local [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | scheduler_fifo_test.cc | 99 auto packet_view = GetPacketView(std::move(packet)); in TEST_F() local 100 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F() 123 auto packet_view = GetPacketView(std::move(packet1)); in TEST_F() local 124 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F() 132 packet_view = GetPacketView(std::move(packet2)); in TEST_F() 133 basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F() 155 auto packet_view = GetPacketView(std::move(packet1)); in TEST_F() local 156 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F()
|
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 | sender_test.cc | 114 auto packet_view = GetPacketView(std::move(packet)); in TEST_F() local 115 auto basic_frame_view = BasicFrameView::Create(packet_view); in TEST_F()
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | phy_device.cc | 55 model::packets::LinkLayerPacketView packet_view = in Receive() local 58 if (packet_view.IsValid()) { in Receive() 59 device_->ReceiveLinkLayerPacket(std::move(packet_view), type, rssi); in Receive()
|
/packages/modules/Bluetooth/system/gd/packet/ |
D | Android.bp | 18 "packet_view.cc",
|
D | BUILD.gn | 24 "packet_view.cc",
|
D | packet_view_unittest.cc | 115 for (const auto& packet_view : to_append) { in AppendedPacketView() local 116 Append(packet_view); in AppendedPacketView()
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | scripted_beacon.h | 50 void ReceiveLinkLayerPacket(model::packets::LinkLayerPacketView packet_view,
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_impl_test.cc | 218 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local 219 AclView acl_packet_view = AclView::Create(packet_view); in HciDownEndDequeue()
|
D | round_robin_scheduler_test.cc | 132 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local 133 AclView acl_packet_view = AclView::Create(packet_view); in HciDownEndDequeue()
|
D | le_impl_test.cc | 359 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local 360 AclView acl_packet_view = AclView::Create(packet_view); in HciDownEndDequeue()
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | gen_cpp.cc | 97 #include "packet/packet_view.h" in generate_cpp_headers_one_file()
|