Searched refs:ContextualCallback (Results 1 – 15 of 15) sorted by relevance
/system/bt/gd/common/ |
D | contextual_callback.h | 68 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/ |
D | fuzz_hci_layer.h | 73 … 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 …]
|
D | fuzz_hci_layer.cc | 24 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/ |
D | hci_layer.h | 57 … 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 …]
|
D | hci_layer.cc | 28 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 …]
|
D | le_scanning_manager_test.cc | 116 … 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_;
|
D | controller.h | 35 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* num_packets */)>;
|
D | le_advertising_manager_test.cc | 144 … 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_;
|
D | acl_manager_test.cc | 74 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_;
|
D | controller_test.cc | 202 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler() 259 common::ContextualCallback<void(EventPacketView)> number_of_completed_packets_callback_;
|
/system/bt/gd/os/ |
D | handler.h | 80 …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/ |
D | fake_hci_layer.h | 84 … common::ContextualCallback<void(EventPacketView)> event_handler) override { in RegisterEventHandler() 106 std::map<EventCode, common::ContextualCallback<void(EventPacketView)>> registered_events_;
|
/system/bt/gd/fuzz/ |
D | helpers.h | 50 void InvokeIfValid(common::ContextualCallback<void(TView)> callback, std::vector<uint8_t> data) { in InvokeIfValid()
|
/system/bt/gd/neighbor/ |
D | inquiry_test.cc | 234 …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/ |
D | dynamic_channel_manager.h | 61 …using OnConnectionOpenCallback = common::ContextualCallback<void(std::unique_ptr<DynamicChannel>)>;
|