Home
last modified time | relevance | path

Searched refs:subevent_handlers_ (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/hci/
Dvendor_specific_event_manager.cc46 subevent_handlers_.count(event) == 0, in register_event()
50 subevent_handlers_[event] = handler; in register_event()
54 subevent_handlers_.erase(subevent_handlers_.find(event)); in unregister_event()
85 if (subevent_handlers_.find(vse_subevent_code) == subevent_handlers_.end()) { in on_vendor_specific_event()
89 subevent_handlers_[vse_subevent_code].Invoke(vendor_specific_event_view); in on_vendor_specific_event()
97 …map<VseSubeventCode, common::ContextualCallback<void(VendorSpecificEventView)>> subevent_handlers_; member
Dhci_layer.cc269 …ASSERT_LOG(subevent_handlers_.count(event) == 0, "Can not register a second handler for %02hhx (%s… in register_le_event()
271 subevent_handlers_[event] = handler; in register_le_event()
275 subevent_handlers_.erase(subevent_handlers_.find(event)); in unregister_le_event()
328 if (subevent_handlers_.find(subevent_code) == subevent_handlers_.end()) { in on_le_meta_event()
332 subevent_handlers_[subevent_code].Invoke(meta_event_view); in on_le_meta_event()
342 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_; member