Home
last modified time | relevance | path

Searched refs:LeMetaEventView (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dfuzz_hci_layer.cc36 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetLeSecurityInterface() argument
55 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */, in GetLeAclConnectionInterface() argument
68 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetLeAdvertisingInterface() argument
73 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetLeScanningInterface() argument
78 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetLeIsoInterface() argument
83 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetDistanceMeasurementInterface() argument
167 InvokeIfValid<LeMetaEventView>(handler_pair->second, GetArbitraryBytes(&fdp)); in injectLeEvent()
176 InvokeIfValid<LeMetaEventView>(le_security_event_handler_, data); in injectLeSecurityEvent()
192 InvokeIfValid<LeMetaEventView>(le_acl_event_handler_, data); in injectLeAclEvent()
204 InvokeIfValid<LeMetaEventView>(le_advertising_event_handler_, data); in injectLeAdvertisingEvent()
[all …]
Dfuzz_hci_layer.h99 … common::ContextualCallback<void(hci::LeMetaEventView)> handler) override { in RegisterLeEventHandler()
113 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
125 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler,
132 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
135 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
137 …hci::LeIsoInterface* GetLeIsoInterface(common::ContextualCallback<void(LeMetaEventView)> event_han…
140 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
198 …std::map<hci::SubeventCode, common::ContextualCallback<void(hci::LeMetaEventView)>> le_event_handl…
201 common::ContextualCallback<void(hci::LeMetaEventView)> le_security_event_handler_;
204 common::ContextualCallback<void(hci::LeMetaEventView)> le_acl_event_handler_;
[all …]
Dhci_layer_fuzz_client.cc38 le_security_interface_ = hci_->GetLeSecurityInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start() argument
45 GetHandler()->Bind([](LeMetaEventView) {}), in Start() argument
48 …le_advertising_interface_ = hci_->GetLeAdvertisingInterface(GetHandler()->Bind([](LeMetaEventView)… in Start() argument
49 le_scanning_interface_ = hci_->GetLeScanningInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start() argument
51 hci_->GetDistanceMeasurementInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start() argument
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_mock.h56 (SubeventCode, common::ContextualCallback<void(LeMetaEventView)>),
79 (common::ContextualCallback<void(LeMetaEventView)> event_handler),
96 (common::ContextualCallback<void(LeMetaEventView)> event_handler,
106 (common::ContextualCallback<void(LeMetaEventView)> event_handler),
112 (common::ContextualCallback<void(LeMetaEventView)> event_handler),
118 (common::ContextualCallback<void(LeMetaEventView)> event_handler),
124 (common::ContextualCallback<void(LeMetaEventView)> event_handler),
Dhci_interface.h65 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
82 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
93 common::ContextualCallback<void(LeMetaEventView)> event_handler,
100 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
103 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
110 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
113 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0;
Dhci_layer.h72 … common::ContextualCallback<void(LeMetaEventView)> event_handler);
86 …ityInterface* GetLeSecurityInterface(common::ContextualCallback<void(LeMetaEventView)> event_handl…
97 common::ContextualCallback<void(LeMetaEventView)> event_handler,
104 common::ContextualCallback<void(LeMetaEventView)> event_handler);
106 …ingInterface* GetLeScanningInterface(common::ContextualCallback<void(LeMetaEventView)> event_handl…
112 …virtual LeIsoInterface* GetLeIsoInterface(common::ContextualCallback<void(LeMetaEventView)> event_…
115 common::ContextualCallback<void(LeMetaEventView)> event_handler);
Dhci_layer_unittest.cc240 [](LeMetaEventView /* view */) { log::debug("{}", kOurLeEventHandlerWasInvoked); })); in TEST_F() argument
276 hci_handler_->Bind([](LeMetaEventView /* view */) {})); in TEST_F() argument
279 hci_handler_->Bind([](LeMetaEventView /* view */) {})); in TEST_F() argument
338 [](LeMetaEventView /* view */) { log::debug("{}", kOurLeAclEventHandlerWasInvoked); }), in TEST_F() argument
351 hci_handler_->Bind([](LeMetaEventView /* view */) {}), in TEST_F() argument
367 hci_handler_->Bind([](LeMetaEventView /* view */) {}), in TEST_F() argument
391 [](LeMetaEventView /* view */) { log::debug("{}", kOurLeSecurityEventHandlerWasInvoked); })); in TEST_F() argument
397 hci_->GetLeAdvertisingInterface(hci_handler_->Bind([](LeMetaEventView /* view */) { in TEST_F() argument
407 [](LeMetaEventView /* view */) { log::debug("{}", kOurLeScanningEventHandlerWasInvoked); })); in TEST_F() argument
414 [](LeMetaEventView /* view */) { log::debug("{}", kOurLeIsoEventHandlerWasInvoked); })); in TEST_F() argument
Dhci_layer.cc50 using bluetooth::hci::LeMetaEventView;
347 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
483 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in on_le_meta_event()
511 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> le_event_handlers_;
605 void HciLayer::RegisterLeEventHandler(SubeventCode event, ContextualCallback<void(LeMetaEventView)>… in RegisterLeEventHandler()
728 ContextualCallback<void(LeMetaEventView)> event_handler, in GetLeAclConnectionInterface()
769 LeSecurityInterface* HciLayer::GetLeSecurityInterface(ContextualCallback<void(LeMetaEventView)> eve… in GetLeSecurityInterface()
776 LeAdvertisingInterface* HciLayer::GetLeAdvertisingInterface(ContextualCallback<void(LeMetaEventView in GetLeAdvertisingInterface()
783 LeScanningInterface* HciLayer::GetLeScanningInterface(ContextualCallback<void(LeMetaEventView)> eve… in GetLeScanningInterface()
790 LeIsoInterface* HciLayer::GetLeIsoInterface(ContextualCallback<void(LeMetaEventView)> event_handler… in GetLeIsoInterface()
[all …]
Dle_periodic_sync_manager_test.cc291 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
333 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
376 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
533 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
542 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder2))))); in TEST_F()
603 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F_WITH_FLAGS()
635 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder2))))); in TEST_F_WITH_FLAGS()
718 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F_WITH_FLAGS()
813 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder2))))); in TEST_F_WITH_FLAGS()
857 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
[all …]
Dhci_layer_fake.h55 …SubeventCode subevent_code, common::ContextualCallback<void(LeMetaEventView)> event_handler) overr…
98 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dhci_layer_fake.cc132 SubeventCode subevent_code, common::ContextualCallback<void(LeMetaEventView)> event_handler) { in RegisterLeEventHandler()
168 LeMetaEventView meta_event_view = LeMetaEventView::Create(event); in IncomingLeMetaEvent()
Dhci_metrics_logging.h30 void log_link_layer_connection_event_le_meta(LeMetaEventView le_meta_event_view);
Dhci_layer_test.cc94 …->GetLeSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventView>)); in SendLeSecurityCommandExpectingComplete()
146 …de::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventView>)); in Start()
286 ASSERT_TRUE(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventView::Create(*event))) in TEST_F()
Dhci_metrics_logging.cc57 LeMetaEventView le_meta_event_view = LeMetaEventView::Create(event_view); in log_hci_event()
659 void log_link_layer_connection_event_le_meta(LeMetaEventView le_meta_event_view) { in log_link_layer_connection_event_le_meta()
Ddistance_measurement_manager.cc448 void handle_event(LeMetaEventView event) { in handle_event()
752 void on_cs_subevent(LeMetaEventView event) { in on_cs_subevent()
1382 void on_transmit_power_reporting(LeMetaEventView event) { in on_transmit_power_reporting()
Dle_scanning_manager.cc262 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h81 bluetooth::hci::LeMetaEventView& event);
83 bluetooth::hci::LeMetaEventView& event);
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl.h156 void on_le_event(LeMetaEventView event_packet) { in on_le_event()
340 void on_le_connection_complete(LeMetaEventView packet) { in on_le_connection_complete()
558 void on_le_connection_update_complete(LeMetaEventView view) { in on_le_connection_update_complete()
574 void on_le_phy_update_complete(LeMetaEventView view) { in on_le_phy_update_complete()
593 void on_data_length_change(LeMetaEventView view) { in on_data_length_change()
609 void on_remote_connection_parameter_request(LeMetaEventView view) { in on_remote_connection_parameter_request()
633 void on_le_subrate_change(LeMetaEventView view) { in on_le_subrate_change()
Dle_impl_test.cc141 …return T::Create(hci::LeMetaEventView::Create(hci::EventView::Create(hci::PacketView<hci::kLittleE… in CreateLeEventView()
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Dpcap_filter.cc101 auto le_meta_event = LeMetaEventView::Create(event); in FilterHciEvent()
375 bluetooth::hci::LeMetaEventView& event) { in FilterLeAdvertisingReport()
390 bluetooth::hci::LeMetaEventView& event) { in FilterLeExtendedAdvertisingReport()
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.h188 hci::LeMetaEventView le_event = hci::LeMetaEventView::Create(*e.hci_event); in WaitLeLongTermKeyRequest()
305 void OnHciLeEvent(hci::LeMetaEventView hci_event) { in OnHciLeEvent()
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.h239 void OnHciLeEvent(hci::LeMetaEventView event);
Dsecurity_manager_impl.cc376 void SecurityManagerImpl::OnHciLeEvent(hci::LeMetaEventView event) { in OnHciLeEvent()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dfacade.cc196 void on_le_subevent(hci::LeMetaEventView view) { in on_le_subevent()
/packages/modules/Bluetooth/system/main/shim/
Dhci_layer.cc153 bluetooth::hci::LeMetaEventView le_meta_event_view) { in subevent_callback()

12