Home
last modified time | relevance | path

Searched refs:event_handler (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/hci/
Dhci_layer.h52 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler,
57 …erLeEventHandler(SubeventCode subevent_code, common::Callback<void(LeMetaEventView)> event_handler,
62 …SecurityInterface* GetSecurityInterface(common::Callback<void(EventPacketView)> event_handler, os:…
64 LeSecurityInterface* GetLeSecurityInterface(common::Callback<void(LeMetaEventView)> event_handler,
67 …ertisingInterface* GetLeAdvertisingInterface(common::Callback<void(LeMetaEventView)> event_handler,
70 LeScanningInterface* GetLeScanningInterface(common::Callback<void(LeMetaEventView)> event_handler,
Dhci_layer.cc41 EventHandler() : event_handler(), handler(nullptr) {} in EventHandler()
43 : event_handler(std::move(on_event)), handler(on_event_handler) {} in EventHandler()
44 Callback<void(EventPacketView)> event_handler; member in __anon89211d040111::EventHandler
307 auto& registered_handler = event_handlers_[event_code].event_handler; in hci_event_received_handler()
376 …void RegisterEventHandler(EventCode event_code, Callback<void(EventPacketView)> event_handler, os:… in RegisterEventHandler()
378 … event_code, event_handler, common::Unretained(handler))); in RegisterEventHandler()
381 … handle_register_event_handler(EventCode event_code, Callback<void(EventPacketView)> event_handler, in handle_register_event_handler()
385 EventHandler to_save(event_handler, handler); in handle_register_event_handler()
398 …d RegisterLeEventHandler(SubeventCode subevent_code, Callback<void(LeMetaEventView)> event_handler, in RegisterLeEventHandler()
401 … subevent_code, event_handler, common::Unretained(handler))); in RegisterLeEventHandler()
[all …]
Dle_scanning_manager_test.cc120 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler, in RegisterEventHandler() argument
122 registered_events_[event_code] = event_handler; in RegisterEventHandler()
125 …erLeEventHandler(SubeventCode subevent_code, common::Callback<void(LeMetaEventView)> event_handler, in RegisterLeEventHandler() argument
127 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler()
Dle_advertising_manager_test.cc146 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler, in RegisterEventHandler() argument
148 registered_events_[event_code] = event_handler; in RegisterEventHandler()
151 …erLeEventHandler(SubeventCode subevent_code, common::Callback<void(LeMetaEventView)> event_handler, in RegisterLeEventHandler() argument
153 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler()
Dcontroller_test.cc201 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler, in RegisterEventHandler() argument
204 number_of_completed_packets_callback_ = event_handler; in RegisterEventHandler()
Dacl_manager_test.cc158 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler, in RegisterEventHandler() argument
160 registered_events_[event_code] = event_handler; in RegisterEventHandler()
167 …erLeEventHandler(SubeventCode subevent_code, common::Callback<void(LeMetaEventView)> event_handler, in RegisterLeEventHandler() argument
169 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler()
/system/bt/gd/security/test/
Dfake_hci_layer.h87 …d RegisterEventHandler(EventCode event_code, common::Callback<void(EventPacketView)> event_handler, in RegisterEventHandler() argument
89 registered_events_[event_code] = event_handler; in RegisterEventHandler()
/system/bt/gd/neighbor/
Dinquiry_test.cc228 …EventHandler(hci::EventCode event_code, common::Callback<void(hci::EventPacketView)> event_handler, in RegisterEventHandler() argument
233 inquiry_result_callback_ = event_handler; in RegisterEventHandler()
237 inquiry_result_with_rssi_callback_ = event_handler; in RegisterEventHandler()
241 extended_inquiry_result_callback_ = event_handler; in RegisterEventHandler()
245 inquiry_complete_callback_ = event_handler; in RegisterEventHandler()