• Home
  • Raw
  • Download

Lines Matching refs:event_code

58 bool is_valid_event_code(bluetooth::hci::EventCode event_code) {  in is_valid_event_code()  argument
59 switch (event_code) { in is_valid_event_code()
163 bluetooth::hci::EventCode event_code) { in event_already_registered_in_hci_layer() argument
164 switch (event_code) { in event_already_registered_in_hci_layer()
183 bluetooth::hci::EventCode event_code) { in event_already_registered_in_controller_layer() argument
184 switch (event_code) { in event_already_registered_in_controller_layer()
194 bluetooth::hci::EventCode event_code) { in event_already_registered_in_acl_layer() argument
196 if (event == event_code) { in event_already_registered_in_acl_layer()
256 bluetooth::hci::EventCode event_code) { in event_already_registered_in_le_advertising_manager() argument
258 if (event == event_code) { in event_already_registered_in_le_advertising_manager()
266 bluetooth::hci::EventCode event_code) { in event_already_registered_in_le_scanning_manager() argument
268 if (event == event_code) { in event_already_registered_in_le_scanning_manager()
430 static void register_event(bluetooth::hci::EventCode event_code) { in register_event() argument
433 event_code, handler->Bind(event_callback)); in register_event()
488 auto event_code = static_cast<bluetooth::hci::EventCode>(event_code_raw); in on_shutting_down() local
489 if (!is_valid_event_code(event_code)) { in on_shutting_down()
492 if (event_already_registered_in_hci_layer(event_code)) { in on_shutting_down()
495 event_code)) { in on_shutting_down()
497 } else if (event_already_registered_in_le_scanning_manager(event_code)) { in on_shutting_down()
500 bluetooth::shim::GetHciLayer()->UnregisterEventHandler(event_code); in on_shutting_down()
599 static void register_event(bluetooth::hci::EventCode event_code) { in register_event() argument
602 static_cast<uint8_t>(event_code)); in register_event()
731 auto event_code = static_cast<bluetooth::hci::EventCode>(event_code_raw); in hci_on_reset_complete() local
732 if (!is_valid_event_code(event_code)) { in hci_on_reset_complete()
735 if (event_already_registered_in_acl_layer(event_code)) { in hci_on_reset_complete()
737 } else if (event_already_registered_in_controller_layer(event_code)) { in hci_on_reset_complete()
739 } else if (event_already_registered_in_hci_layer(event_code)) { in hci_on_reset_complete()
741 } else if (event_already_registered_in_le_advertising_manager(event_code)) { in hci_on_reset_complete()
743 } else if (event_already_registered_in_le_scanning_manager(event_code)) { in hci_on_reset_complete()
748 ::rust::register_event(event_code); in hci_on_reset_complete()
750 cpp::register_event(event_code); in hci_on_reset_complete()