/system/bt/gd/hci/fuzz/ |
D | fuzz_hci_layer.h | 78 …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 …]
|
D | fuzz_hci_layer.cc | 24 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/ |
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/ |
D | hci_layer.h | 61 …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 …]
|
D | hci_layer.cc | 33 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 …]
|
D | vendor_specific_event_manager.cc | 44 …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()
|
D | vendor_specific_event_manager.h | 28 …void RegisterEventHandler(VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEve…
|
D | le_scanning_manager_test.cc | 117 …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_;
|
D | controller.h | 35 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* num_packets */)>;
|
D | controller_test.cc | 206 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler() 264 common::ContextualCallback<void(EventView)> number_of_completed_packets_callback_;
|
D | acl_manager_test.cc | 80 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_;
|
D | le_advertising_manager_test.cc | 167 …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_;
|
D | le_advertising_manager.cc | 904 …common::ContextualCallback<void(ErrorCode, uint16_t, hci::AddressWithType)> set_terminated_callbac…
|
/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/iso/ |
D | iso_manager.h | 31 using CisEstablishedCallback = common::ContextualCallback<void(uint16_t)>; 32 using IsoDataCallback = common::ContextualCallback<void(std::unique_ptr<hci::IsoView>)>;
|
/system/bt/gd/iso/internal/ |
D | iso_manager_impl.h | 29 using CisEstablishedCallback = common::ContextualCallback<void(uint16_t)>; 30 using IsoDataCallback = common::ContextualCallback<void(std::unique_ptr<hci::IsoView>)>;
|
/system/bt/gd/security/test/ |
D | fake_hci_layer.h | 86 …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/ |
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::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/ |
D | dynamic_channel_manager.h | 61 …using OnConnectionOpenCallback = common::ContextualCallback<void(std::unique_ptr<DynamicChannel>)>;
|