/system/bt/gd/btaa/ |
D | cmd_evt_classification.h | 33 CmdEvtActivityClassification lookup_le_event(hci::SubeventCode subevent_code);
|
/system/bt/main/shim/ |
D | hci_layer.cc | 119 bool is_valid_subevent_code(bluetooth::hci::SubeventCode subevent_code) { in is_valid_subevent_code() argument 120 switch (subevent_code) { in is_valid_subevent_code() 205 bluetooth::hci::SubeventCode subevent_code) { in subevent_already_registered_in_le_hci_layer() argument 206 switch (subevent_code) { in subevent_already_registered_in_le_hci_layer() 436 static void register_le_event(bluetooth::hci::SubeventCode subevent_code) { in register_le_event() argument 439 subevent_code, handler->Bind(subevent_callback)); in register_le_event() 605 static void register_le_event(bluetooth::hci::SubeventCode subevent_code) { in register_le_event() argument 608 static_cast<uint8_t>(subevent_code)); in register_le_event() 756 auto subevent_code = in hci_on_reset_complete() local 758 if (!is_valid_subevent_code(subevent_code)) { in hci_on_reset_complete() [all …]
|
/system/bt/gd/hci/ |
D | le_scanning_manager_test.cc | 125 void RegisterLeEventHandler(SubeventCode subevent_code, in RegisterLeEventHandler() argument 127 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler() 130 void UnregisterLeEventHandler(SubeventCode subevent_code) override { in UnregisterLeEventHandler() argument 131 registered_le_events_.erase(subevent_code); in UnregisterLeEventHandler() 148 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in IncomingLeMetaEvent() local 149 ASSERT_NE(registered_le_events_.find(subevent_code), registered_le_events_.end()) in IncomingLeMetaEvent() 150 << SubeventCodeText(subevent_code); in IncomingLeMetaEvent() 151 registered_le_events_[subevent_code].Invoke(meta_event_view); in IncomingLeMetaEvent()
|
D | hci_layer.h | 65 virtual void RegisterLeEventHandler(SubeventCode subevent_code, 68 virtual void UnregisterLeEventHandler(SubeventCode subevent_code);
|
D | hci_layer.cc | 327 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in on_le_meta_event() local 328 if (subevent_handlers_.find(subevent_code) == subevent_handlers_.end()) { in on_le_meta_event() 329 …G_WARN("Unhandled le subevent of type 0x%02hhx (%s)", subevent_code, SubeventCodeText(subevent_cod… in on_le_meta_event() 332 subevent_handlers_[subevent_code].Invoke(meta_event_view); in on_le_meta_event()
|
D | hci_packets.pdl | 5251 subevent_code : SubeventCode, 5261 packet LeConnectionComplete : LeMetaEvent (subevent_code = CONNECTION_COMPLETE) { 5291 packet LeAdvertisingReport : LeMetaEvent (subevent_code = ADVERTISING_REPORT) { 5296 packet LeConnectionUpdateComplete : LeMetaEvent (subevent_code = CONNECTION_UPDATE_COMPLETE) { 5305 packet LeReadRemoteFeaturesComplete : LeMetaEvent (subevent_code = READ_REMOTE_FEATURES_COMPLETE) { 5312 packet LeLongTermKeyRequest : LeMetaEvent (subevent_code = LONG_TERM_KEY_REQUEST) { 5319 packet LeRemoteConnectionParameterRequest : LeMetaEvent (subevent_code = REMOTE_CONNECTION_PARAMETE… 5328 packet LeDataLengthChange : LeMetaEvent (subevent_code = DATA_LENGTH_CHANGE) { 5337 packet ReadLocalP256PublicKeyComplete : LeMetaEvent (subevent_code = READ_LOCAL_P256_PUBLIC_KEY_COM… 5342 packet GenerateDhKeyComplete : LeMetaEvent (subevent_code = GENERATE_DHKEY_COMPLETE) { [all …]
|
D | le_advertising_manager_test.cc | 171 void RegisterLeEventHandler(SubeventCode subevent_code, in RegisterLeEventHandler() argument 173 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler() 190 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in IncomingLeMetaEvent() local 191 ASSERT_NE(registered_le_events_.find(subevent_code), registered_le_events_.end()) in IncomingLeMetaEvent() 192 << SubeventCodeText(subevent_code); in IncomingLeMetaEvent() 193 registered_le_events_[subevent_code].Invoke(meta_event_view); in IncomingLeMetaEvent()
|
D | acl_manager_test.cc | 207 void RegisterLeEventHandler(SubeventCode subevent_code, in RegisterLeEventHandler() argument 209 registered_le_events_[subevent_code] = event_handler; in RegisterLeEventHandler() 212 void UnregisterLeEventHandler(SubeventCode subevent_code) override { in UnregisterLeEventHandler() argument 213 registered_le_events_.erase(subevent_code); in UnregisterLeEventHandler() 230 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in IncomingLeMetaEvent() local 231 EXPECT_TRUE(registered_le_events_.find(subevent_code) != registered_le_events_.end()); in IncomingLeMetaEvent() 232 registered_le_events_[subevent_code].Invoke(meta_event_view); in IncomingLeMetaEvent()
|
D | le_scanning_manager.cc | 249 for (auto subevent_code : LeScanningEvents) { in stop() local 250 hci_layer_->UnregisterLeEventHandler(subevent_code); in stop()
|
/system/bt/gd/cert/ |
D | matchers.py | 107 def LeEventWithCode(subevent_code): argument 108 … return lambda msg: HciMatchers._extract_matching_le_event(msg.payload, subevent_code) is not None 111 def ExtractLeEventWithCode(packet_bytes, subevent_code): argument 112 return HciMatchers._extract_matching_le_event(packet_bytes, subevent_code) 115 def _extract_matching_le_event(packet_bytes, subevent_code): argument 120 if event.GetSubeventCode() != subevent_code:
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | device_properties.h | 337 bool GetLeEventSupported(bluetooth::hci::SubeventCode subevent_code) const { in GetLeEventSupported() argument 338 return le_event_mask_ & (1u << static_cast<uint64_t>(subevent_code)); in GetLeEventSupported()
|
/system/bt/gd/btaa/linux_generic/ |
D | hci_processor.cc | 44 auto subevent_code = le_packet_view.GetSubeventCode(); in process_le_event() local 45 auto le_event_info = lookup_le_event(subevent_code); in process_le_event()
|
D | cmd_evt_classification.cc | 400 CmdEvtActivityClassification lookup_le_event(hci::SubeventCode subevent_code) { in lookup_le_event() argument 402 switch (subevent_code) { in lookup_le_event()
|
/system/bt/gd/hci/acl_manager/ |
D | le_impl.h | 77 for (auto subevent_code : LeConnectionManagementEvents) { in ~le_impl() local 78 hci_layer_->UnregisterLeEventHandler(subevent_code); in ~le_impl()
|