Home
last modified time | relevance | path

Searched refs:ContextualCallback (Results 1 – 20 of 20) sorted by relevance

/system/bt/gd/hci/fuzz/
Dfuzz_hci_layer.h78 …void RegisterEventHandler(hci::EventCode event, common::ContextualCallback<void(hci::EventView)> h… in RegisterEventHandler()
90 … common::ContextualCallback<void(hci::LeMetaEventView)> handler) override { in RegisterLeEventHandler()
101 …hci::SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(hci::EventView)> even…
104 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
107 common::ContextualCallback<void(hci::EventView)> event_handler,
108 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect,
109 … common::ContextualCallback<void(hci::ErrorCode hci_status, uint16_t, uint8_t, uint16_t, uint16_t)>
113 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler,
114 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect,
115 … common::ContextualCallback<void(hci::ErrorCode hci_status, uint16_t, uint8_t, uint16_t, uint16_t)>
[all …]
Dfuzz_hci_layer.cc24 using bluetooth::common::ContextualCallback;
28 hci::SecurityInterface* FuzzHciLayer::GetSecurityInterface(ContextualCallback<void(hci::EventView)>… in GetSecurityInterface()
33 ContextualCallback<void(hci::LeMetaEventView)> event_handler) { in GetLeSecurityInterface()
38 ContextualCallback<void(hci::EventView)> event_handler, in GetAclConnectionInterface()
39 ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, in GetAclConnectionInterface()
40 ContextualCallback< in GetAclConnectionInterface()
47 ContextualCallback<void(hci::LeMetaEventView)> event_handler, in GetLeAclConnectionInterface()
48 ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, in GetLeAclConnectionInterface()
49 ContextualCallback< in GetLeAclConnectionInterface()
56 ContextualCallback<void(hci::LeMetaEventView)> event_handler) { in GetLeAdvertisingInterface()
[all …]
/system/bt/gd/common/
Dcontextual_callback.h68 class ContextualCallback; variable
72 class ContextualCallback<R(Args...)> {
74 ContextualCallback(common::Callback<R(Args...)>&& callback, IPostableContext* context) in ContextualCallback() function
77 constexpr ContextualCallback() = default;
79 ContextualCallback(const ContextualCallback&) = default;
80 ContextualCallback& operator=(const ContextualCallback&) = default;
81 ContextualCallback(ContextualCallback&&) noexcept = default;
82 ContextualCallback& operator=(ContextualCallback&&) noexcept = default;
/system/bt/gd/hci/
Dhci_layer.h61 …virtual void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)…
66 … common::ContextualCallback<void(LeMetaEventView)> event_handler);
70 …virtual SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(EventView)> event_…
72 …virtual LeSecurityInterface* GetLeSecurityInterface(common::ContextualCallback<void(LeMetaEventVie…
75 common::ContextualCallback<void(EventView)> event_handler,
76 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect,
77 common::ContextualCallback<void(hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t)>
81 common::ContextualCallback<void(LeMetaEventView)> event_handler,
82 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect,
83 common::ContextualCallback<void(hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t)>
[all …]
Dhci_layer.cc33 using bluetooth::common::ContextualCallback;
240 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event()
255 void register_le_meta_event(ContextualCallback<void(EventView)> handler) { in register_le_meta_event()
268 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
341 std::map<EventCode, ContextualCallback<void(EventView)>> event_handlers_;
342 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_;
409 void HciLayer::RegisterEventHandler(EventCode event, ContextualCallback<void(EventView)> handler) { in RegisterEventHandler()
413 void HciLayer::RegisterLeMetaEventHandler(ContextualCallback<void(EventView)> handler) { in RegisterLeMetaEventHandler()
421 void HciLayer::RegisterLeEventHandler(SubeventCode event, ContextualCallback<void(LeMetaEventView)>… in RegisterLeEventHandler()
466 ContextualCallback<void(EventView)> event_handler, in GetAclConnectionInterface()
[all …]
Dvendor_specific_event_manager.cc44 …void register_event(VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEventView… in register_event()
97 …std::map<VseSubeventCode, common::ContextualCallback<void(VendorSpecificEventView)>> subevent_hand…
123 VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEventView)> handler) { in RegisterEventHandler()
Dvendor_specific_event_manager.h28 …void RegisterEventHandler(VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEve…
Dle_scanning_manager_test.cc117 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
126 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
179 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
180 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dcontroller.h35 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* num_packets */)>;
Dcontroller_test.cc206 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
264 common::ContextualCallback<void(EventView)> number_of_completed_packets_callback_;
Dacl_manager_test.cc80 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> cb) override { in RegisterCompletedAclPacketsCallback()
113 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> acl_cb_;
199 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
208 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
300 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
301 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dle_advertising_manager_test.cc167 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
172 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
219 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
220 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dle_advertising_manager.cc904 …common::ContextualCallback<void(ErrorCode, uint16_t, hci::AddressWithType)> set_terminated_callbac…
/system/bt/gd/os/
Dhandler.h80 …common::ContextualCallback<common::MakeUnboundRunType<Functor, Args...>> Bind(Functor&& functor, A… in Bind()
81 return common::ContextualCallback<common::MakeUnboundRunType<Functor, Args...>>( in Bind()
86 common::ContextualCallback<common::MakeUnboundRunType<Functor, T, Args...>> BindOn( in BindOn()
88 return common::ContextualCallback<common::MakeUnboundRunType<Functor, T, Args...>>( in BindOn()
/system/bt/gd/iso/
Diso_manager.h31 using CisEstablishedCallback = common::ContextualCallback<void(uint16_t)>;
32 using IsoDataCallback = common::ContextualCallback<void(std::unique_ptr<hci::IsoView>)>;
/system/bt/gd/iso/internal/
Diso_manager_impl.h29 using CisEstablishedCallback = common::ContextualCallback<void(uint16_t)>;
30 using IsoDataCallback = common::ContextualCallback<void(std::unique_ptr<hci::IsoView>)>;
/system/bt/gd/security/test/
Dfake_hci_layer.h86 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
108 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
/system/bt/gd/fuzz/
Dhelpers.h50 void InvokeIfValid(common::ContextualCallback<void(TView)> callback, std::vector<uint8_t> data) { in InvokeIfValid()
/system/bt/gd/neighbor/
Dinquiry_test.cc234 …hci::EventCode event_code, common::ContextualCallback<void(hci::EventView)> event_handler) overrid… in RegisterEventHandler()
304 common::ContextualCallback<void(hci::EventView)> inquiry_result_callback_;
305 common::ContextualCallback<void(hci::EventView)> inquiry_result_with_rssi_callback_;
306 common::ContextualCallback<void(hci::EventView)> extended_inquiry_result_callback_;
307 common::ContextualCallback<void(hci::EventView)> inquiry_complete_callback_;
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.h61 …using OnConnectionOpenCallback = common::ContextualCallback<void(std::unique_ptr<DynamicChannel>)>;