Home
last modified time | relevance | path

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

/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/fuzz/
Dfuzz_hci_layer.h73 … common::ContextualCallback<void(hci::EventPacketView)> handler) override { in RegisterEventHandler()
85 … common::ContextualCallback<void(hci::LeMetaEventView)> handler) override { in RegisterLeEventHandler()
97 common::ContextualCallback<void(hci::EventPacketView)> event_handler) override;
100 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
103 common::ContextualCallback<void(hci::EventPacketView)> event_handler,
104 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect) override;
107 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler,
108 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect) override;
111 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
114 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override;
[all …]
Dfuzz_hci_layer.cc24 using bluetooth::common::ContextualCallback;
29 ContextualCallback<void(hci::EventPacketView)> event_handler) { in GetSecurityInterface()
34 ContextualCallback<void(hci::LeMetaEventView)> event_handler) { in GetLeSecurityInterface()
39 ContextualCallback<void(hci::EventPacketView)> event_handler, in GetAclConnectionInterface()
40 ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect) { in GetAclConnectionInterface()
45 ContextualCallback<void(hci::LeMetaEventView)> event_handler, in GetLeAclConnectionInterface()
46 ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect) { in GetLeAclConnectionInterface()
51 ContextualCallback<void(hci::LeMetaEventView)> event_handler) { in GetLeAdvertisingInterface()
56 ContextualCallback<void(hci::LeMetaEventView)> event_handler) { in GetLeScanningInterface()
/system/bt/gd/hci/
Dhci_layer.h57 … common::ContextualCallback<void(EventPacketView)> event_handler);
62 … common::ContextualCallback<void(LeMetaEventView)> event_handler);
66 …virtual SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(EventPacketView)> …
68 …virtual LeSecurityInterface* GetLeSecurityInterface(common::ContextualCallback<void(LeMetaEventVie…
71 common::ContextualCallback<void(EventPacketView)> event_handler,
72 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect);
75 common::ContextualCallback<void(LeMetaEventView)> event_handler,
76 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect);
79 common::ContextualCallback<void(LeMetaEventView)> event_handler);
81 …virtual LeScanningInterface* GetLeScanningInterface(common::ContextualCallback<void(LeMetaEventVie…
[all …]
Dhci_layer.cc28 using bluetooth::common::ContextualCallback;
170 void register_event(EventCode event, ContextualCallback<void(EventPacketView)> handler) { in register_event()
180 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
215 std::map<EventCode, ContextualCallback<void(EventPacketView)>> event_handlers_;
216 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_;
268 void HciLayer::RegisterEventHandler(EventCode event, ContextualCallback<void(EventPacketView)> hand… in RegisterEventHandler()
276 void HciLayer::RegisterLeEventHandler(SubeventCode event, ContextualCallback<void(LeMetaEventView)>… in RegisterLeEventHandler()
303 ContextualCallback<void(EventPacketView)> event_handler, in GetAclConnectionInterface()
304 ContextualCallback<void(uint16_t, ErrorCode)> on_disconnect) { in GetAclConnectionInterface()
313 ContextualCallback<void(LeMetaEventView)> event_handler, in GetLeAclConnectionInterface()
[all …]
Dle_scanning_manager_test.cc116 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler()
121 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
168 std::map<EventCode, common::ContextualCallback<void(EventPacketView)>> registered_events_;
169 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dcontroller.h35 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* num_packets */)>;
Dle_advertising_manager_test.cc144 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler()
149 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
196 std::map<EventCode, common::ContextualCallback<void(EventPacketView)>> registered_events_;
197 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dacl_manager_test.cc74 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> cb) override { in RegisterCompletedAclPacketsCallback()
108 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> acl_cb_;
191 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler()
200 … common::ContextualCallback<void(LeMetaEventView)> event_handler) override { in RegisterLeEventHandler()
292 std::map<EventCode, common::ContextualCallback<void(EventPacketView)>> registered_events_;
293 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dcontroller_test.cc202 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler()
259 common::ContextualCallback<void(EventPacketView)> number_of_completed_packets_callback_;
/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/security/test/
Dfake_hci_layer.h84 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler()
106 std::map<EventCode, common::ContextualCallback<void(EventPacketView)>> 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::EventPacketView)> event_handler) o… in RegisterEventHandler()
304 common::ContextualCallback<void(hci::EventPacketView)> inquiry_result_callback_;
305 common::ContextualCallback<void(hci::EventPacketView)> inquiry_result_with_rssi_callback_;
306 common::ContextualCallback<void(hci::EventPacketView)> extended_inquiry_result_callback_;
307 common::ContextualCallback<void(hci::EventPacketView)> inquiry_complete_callback_;
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.h61 …using OnConnectionOpenCallback = common::ContextualCallback<void(std::unique_ptr<DynamicChannel>)>;