/packages/modules/Bluetooth/system/gd/hci/ |
D | hci_layer_mock.h | 50 (EventCode, common::ContextualCallback<void(EventView)>), 56 (SubeventCode, common::ContextualCallback<void(LeMetaEventView)>), 62 (VseSubeventCode, common::ContextualCallback<void(VendorSpecificEventView)>), 68 (common::ContextualCallback<void(EventView)> event_handler), 74 (common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect)); 79 (common::ContextualCallback<void(LeMetaEventView)> event_handler), 85 (common::ContextualCallback<void(EventView)> event_handler, 86 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, 87 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 88 common::ContextualCallback<void(hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t)> [all …]
|
D | hci_layer.h | 67 …virtual void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)… 72 … common::ContextualCallback<void(LeMetaEventView)> event_handler); 77 VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEventView)> handler); 82 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect); 84 …virtual SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(EventView)> event_… 86 …virtual LeSecurityInterface* GetLeSecurityInterface(common::ContextualCallback<void(LeMetaEventVie… 89 common::ContextualCallback<void(EventView)> event_handler, 90 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, 91 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 92 common::ContextualCallback<void(hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t)> [all …]
|
D | hci_interface.h | 59 EventCode event_code, common::ContextualCallback<void(EventView)> event_handler) = 0; 65 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0; 71 common::ContextualCallback<void(VendorSpecificEventView)> event_handler) = 0; 76 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect) = 0; 79 common::ContextualCallback<void(EventView)> event_handler) = 0; 82 common::ContextualCallback<void(LeMetaEventView)> event_handler) = 0; 85 common::ContextualCallback<void(EventView)> event_handler, 86 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, 87 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 88 common::ContextualCallback<void(hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t)> [all …]
|
D | hci_layer.cc | 44 using bluetooth::common::ContextualCallback; 326 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event() 347 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event() 360 VseSubeventCode event, ContextualCallback<void(VendorSpecificEventView)> handler) { in register_vs_event() 510 std::map<EventCode, ContextualCallback<void(EventView)>> event_handlers_; 511 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> le_event_handlers_; 512 std::map<VseSubeventCode, ContextualCallback<void(VendorSpecificEventView)>> vs_event_handlers_; 597 void HciLayer::RegisterEventHandler(EventCode event, ContextualCallback<void(EventView)> handler) { in RegisterEventHandler() 605 void HciLayer::RegisterLeEventHandler(SubeventCode event, ContextualCallback<void(LeMetaEventView)>… in RegisterLeEventHandler() 614 VseSubeventCode event, ContextualCallback<void(VendorSpecificEventView)> handler) { in RegisterVendorSpecificEventHandler() [all …]
|
D | hci_layer_fake.h | 50 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… 55 …SubeventCode subevent_code, common::ContextualCallback<void(LeMetaEventView)> event_handler) overr… 61 common::ContextualCallback<void(VendorSpecificEventView)> event_handler) override; 97 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_; 98 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_; 99 std::map<VseSubeventCode, common::ContextualCallback<void(VendorSpecificEventView)>>
|
D | hci_layer_fake.cc | 123 EventCode event_code, common::ContextualCallback<void(EventView)> event_handler) { in RegisterEventHandler() 132 SubeventCode subevent_code, common::ContextualCallback<void(LeMetaEventView)> event_handler) { in RegisterLeEventHandler() 142 common::ContextualCallback<void(VendorSpecificEventView)> event_handler) { in RegisterVendorSpecificEventHandler()
|
D | controller_interface.h | 34 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* num_packets */)>;
|
D | acl_manager_unittest.cc | 113 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> acl_cb_;
|
D | acl_manager_test.cc | 70 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> cb) override { in RegisterCompletedAclPacketsCallback() 103 common::ContextualCallback<void(uint16_t /* handle */, uint16_t /* packets */)> acl_cb_;
|
D | le_advertising_manager.cc | 1567 …common::ContextualCallback<void(ErrorCode, uint16_t, hci::AddressWithType)> set_terminated_callbac…
|
/packages/modules/Bluetooth/system/gd/hci/fuzz/ |
D | fuzz_hci_layer.h | 87 …void RegisterEventHandler(hci::EventCode event, common::ContextualCallback<void(hci::EventView)> h… in RegisterEventHandler() 99 … common::ContextualCallback<void(hci::LeMetaEventView)> handler) override { in RegisterLeEventHandler() 110 …hci::SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(hci::EventView)> even… 113 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler) override; 116 common::ContextualCallback<void(hci::EventView)> event_handler, 117 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, 118 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 119 common::ContextualCallback<void( 125 common::ContextualCallback<void(hci::LeMetaEventView)> event_handler, 126 common::ContextualCallback<void(uint16_t, hci::ErrorCode)> on_disconnect, [all …]
|
D | fuzz_hci_layer.cc | 26 using bluetooth::common::ContextualCallback; 31 ContextualCallback<void(hci::EventView)> /* event_handler */) { in GetSecurityInterface() 36 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */) { in GetLeSecurityInterface() 41 ContextualCallback<void(hci::EventView)> /* event_handler */, in GetAclConnectionInterface() 42 ContextualCallback<void(uint16_t, hci::ErrorCode)> /* on_disconnect */, in GetAclConnectionInterface() 43 ContextualCallback<void(Address, ClassOfDevice)> /* on_connection_request */, in GetAclConnectionInterface() 44 ContextualCallback<void( in GetAclConnectionInterface() 55 ContextualCallback<void(hci::LeMetaEventView)> /* event_handler */, in GetLeAclConnectionInterface() 56 ContextualCallback<void(uint16_t, hci::ErrorCode)> /* on_disconnect */, in GetLeAclConnectionInterface() 57 ContextualCallback<void( in GetLeAclConnectionInterface() [all …]
|
/packages/modules/Bluetooth/system/gd/common/ |
D | contextual_callback.h | 61 class ContextualCallback; variable 65 class ContextualCallback<R(Args...)> { 67 ContextualCallback(common::Callback<R(Args...)>&& callback, IPostableContext* context) in ContextualCallback() function 70 constexpr ContextualCallback() = default; 72 ContextualCallback(const ContextualCallback&) = default; 73 ContextualCallback& operator=(const ContextualCallback&) = default; 74 ContextualCallback(ContextualCallback&&) noexcept = default; 75 ContextualCallback& operator=(ContextualCallback&&) noexcept = default; 91 ContextualCallback(Callback&& callback, IPostableContext* context) 92 -> ContextualCallback<typename Callback::RunType>;
|
D | postable_context.h | 45 return common::ContextualCallback( in Bind() 51 return common::ContextualCallback( in BindOn()
|
/packages/modules/Bluetooth/system/gd/ |
D | module_gdx_unittest.h | 45 void set_callback(common::ContextualCallback<void(std::string)> one_message_callback); 73 common::ContextualCallback<void(std::string)> call_many_;
|
D | module_gdx_unittest.cc | 211 void TestGdxModule::set_callback(common::ContextualCallback<void(std::string)> callback) { in set_callback() 221 [](common::ContextualCallback<void(std::string)> callback, std::string message) { in call_callback_on_handler() 413 common::ContextualCallback<void(std::string)> callback;
|
/packages/modules/Bluetooth/system/gd/security/test/ |
D | fake_hci_layer.h | 90 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler() 112 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
|
/packages/modules/Bluetooth/system/gd/fuzz/ |
D | helpers.h | 52 void InvokeIfValid(common::ContextualCallback<void(TView)> callback, std::vector<uint8_t> data) { in InvokeIfValid()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/ |
D | dynamic_channel_manager.h | 61 …using OnConnectionOpenCallback = common::ContextualCallback<void(std::unique_ptr<DynamicChannel>)>;
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_core_test.cc | 72 using bluetooth::common::ContextualCallback; 958 ContextualCallback<void(VendorSpecificEventView)> vse_callback_;
|