Home
last modified time | relevance | path

Searched refs:packet_bytes_view (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/hci/
Dhci_packets_test.cc72 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
73 auto view = WriteExtendedInquiryResponseView::Create(CommandView::Create(packet_bytes_view)); in TEST()
107 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST() local
108 …tScanParametersView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
122 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_ena… in TEST() local
123 …LeSetScanEnableView::Create(LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
136 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_get_vendor_c… in TEST() local
137 …tVendorCapabilitiesView::Create(VendorCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
146 PacketView<kLittleEndian> packet_bytes_view( in TEST() local
149 …apabilitiesCompleteView::Create(CommandCompleteView::Create(EventView::Create(packet_bytes_view))); in TEST()
[all …]
Dacl_builder_test.cc141 PacketView<true> packet_bytes_view(packet_bytes); in TEST() local
142 AclView packet_view = AclView::Create(packet_bytes_view); in TEST()
/system/bt/gd/l2cap/
Dl2cap_packet_test.cc80 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
81 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST()
90 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
91 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST()
100 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
101 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST()
110 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
111 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST()
120 PacketView<kLittleEndian> packet_bytes_view(view_bytes); in TEST() local
121 auto view = ConfigurationRequestView::Create(ControlView::Create(packet_bytes_view)); in TEST()
/system/bt/gd/packet/parser/test/
Dgenerated_packet_test.cc82 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() local
83 ParentView wrong_view = ParentView::Create(packet_bytes_view); in TEST()
86 ParentTwoView parent_view = ParentTwoView::Create(packet_bytes_view); in TEST()
114 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() local
115 ParentView parent_view = ParentView::Create(packet_bytes_view); in TEST()
186 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() local
187 ParentView wrong_view = ParentView::Create(packet_bytes_view); in TEST()
207 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() local
208 ParentView parent_view = ParentView::Create(packet_bytes_view); in TEST()
246 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in TEST() local
[all …]
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc59 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in CommandBuilderToView() local
60 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in CommandBuilderToView()
68 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in EventBuilderToView() local
69 auto temp_evt_view = EventView::Create(packet_bytes_view); in EventBuilderToView()
128 auto packet_bytes_view = l2cap_->GetQueueAUpEnd()->TryDequeue(); in dequeue_callback_central() local
129 if (!packet_bytes_view) LOG_ERROR("Received dequeue, but no data ready..."); in dequeue_callback_central()
131 auto temp_cmd_view = CommandView::Create(*packet_bytes_view); in dequeue_callback_central()
144 auto packet_bytes_view = l2cap_->GetQueueBUpEnd()->TryDequeue(); in dequeue_callback_peripheral() local
145 if (!packet_bytes_view) LOG_ERROR("Received dequeue, but no data ready..."); in dequeue_callback_peripheral()
147 auto temp_cmd_view = CommandView::Create(*packet_bytes_view); in dequeue_callback_peripheral()
/system/bt/gd/security/
Dpairing_handler_le.cc233 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in ExchangePairingFeature() local
234 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in ExchangePairingFeature()
310 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in ExchangePairingFeature() local
311 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in ExchangePairingFeature()
Dpairing_handler_le_unittest.cc45 PacketView<kLittleEndian> packet_bytes_view(packet_bytes); in BuilderToView() local
46 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in BuilderToView()