Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hci/
Dle_address_manager_test.cc259 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 …]
Dacl_builder_test.cc141 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()
Dle_periodic_sync_manager_test.cc242 …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 …]
Dcontroller_test.cc88 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/
Dsecurity_manager_channel_unittest.cc281 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/
Dscheduler_fifo_test.cc99 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()
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()
Dsender_test.cc114 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/
Dphy_device.cc55 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/
DAndroid.bp18 "packet_view.cc",
DBUILD.gn24 "packet_view.cc",
Dpacket_view_unittest.cc115 for (const auto& packet_view : to_append) { in AppendedPacketView() local
116 Append(packet_view); in AppendedPacketView()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dscripted_beacon.h50 void ReceiveLinkLayerPacket(model::packets::LinkLayerPacketView packet_view,
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl_test.cc218 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local
219 AclView acl_packet_view = AclView::Create(packet_view); in HciDownEndDequeue()
Dround_robin_scheduler_test.cc132 auto packet_view = bluetooth::packet::PacketView<bluetooth::packet::kLittleEndian>(bytes); in HciDownEndDequeue() local
133 AclView acl_packet_view = AclView::Create(packet_view); in HciDownEndDequeue()
Dle_impl_test.cc359 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/
Dgen_cpp.cc97 #include "packet/packet_view.h" in generate_cpp_headers_one_file()