Home
last modified time | relevance | path

Searched refs:SubeventCode (Results 1 – 25 of 34) sorted by relevance

12

/system/bt/gd/hci/
Dle_iso_interface.h25 constexpr hci::SubeventCode LeIsoEvents[] = {
26 hci::SubeventCode::CIS_ESTABLISHED,
27 hci::SubeventCode::CIS_REQUEST,
28 hci::SubeventCode::CREATE_BIG_COMPLETE,
29 hci::SubeventCode::TERMINATE_BIG_COMPLETE,
30 hci::SubeventCode::BIG_SYNC_ESTABLISHED,
31 hci::SubeventCode::BIG_SYNC_LOST,
32 hci::SubeventCode::BIG_INFO_ADVERTISING_REPORT,
Dle_scanning_interface.h25 constexpr hci::SubeventCode LeScanningEvents[] = {
26 hci::SubeventCode::SCAN_TIMEOUT,
27 hci::SubeventCode::ADVERTISING_REPORT,
28 hci::SubeventCode::DIRECTED_ADVERTISING_REPORT,
29 hci::SubeventCode::EXTENDED_ADVERTISING_REPORT,
30 hci::SubeventCode::PERIODIC_ADVERTISING_REPORT,
31 hci::SubeventCode::PERIODIC_ADVERTISING_SYNC_ESTABLISHED,
32 hci::SubeventCode::PERIODIC_ADVERTISING_SYNC_LOST,
Dle_acl_connection_interface.h25 constexpr SubeventCode LeConnectionManagementEvents[] = {
26 SubeventCode::CONNECTION_COMPLETE,
27 SubeventCode::ENHANCED_CONNECTION_COMPLETE,
28 SubeventCode::CONNECTION_UPDATE_COMPLETE,
29 SubeventCode::PHY_UPDATE_COMPLETE,
30 SubeventCode::DATA_LENGTH_CHANGE,
31 SubeventCode::REMOTE_CONNECTION_PARAMETER_REQUEST,
Dle_security_interface.h25 constexpr hci::SubeventCode LeSecurityEvents[] = {
26 hci::SubeventCode::LONG_TERM_KEY_REQUEST,
27 hci::SubeventCode::READ_LOCAL_P256_PUBLIC_KEY_COMPLETE,
28 hci::SubeventCode::GENERATE_DHKEY_COMPLETE,
Dle_advertising_interface.h25 constexpr hci::SubeventCode LeAdvertisingEvents[] = {
26 hci::SubeventCode::SCAN_REQUEST_RECEIVED,
27 hci::SubeventCode::ADVERTISING_SET_TERMINATED,
Dhci_layer.h65 virtual void RegisterLeEventHandler(SubeventCode subevent_code,
68 virtual void UnregisterLeEventHandler(SubeventCode subevent_code);
Dhci_layer.cc268 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
274 void unregister_le_event(SubeventCode event) { in unregister_le_event()
327 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in on_le_meta_event()
342 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_;
421 void HciLayer::RegisterLeEventHandler(SubeventCode event, ContextualCallback<void(LeMetaEventView)>… in RegisterLeEventHandler()
425 void HciLayer::UnregisterLeEventHandler(SubeventCode event) { in UnregisterLeEventHandler()
Dle_scanning_manager_test.cc125 void RegisterLeEventHandler(SubeventCode subevent_code, in RegisterLeEventHandler()
130 void UnregisterLeEventHandler(SubeventCode subevent_code) override { in UnregisterLeEventHandler()
148 SubeventCode subevent_code = meta_event_view.GetSubeventCode(); in IncomingLeMetaEvent()
180 std::map<SubeventCode, common::ContextualCallback<void(LeMetaEventView)>> registered_le_events_;
Dle_scanning_manager.cc264 case hci::SubeventCode::ADVERTISING_REPORT: in handle_scan_results()
267 case hci::SubeventCode::DIRECTED_ADVERTISING_REPORT: in handle_scan_results()
270 case hci::SubeventCode::EXTENDED_ADVERTISING_REPORT: in handle_scan_results()
273 case hci::SubeventCode::SCAN_TIMEOUT: in handle_scan_results()
/system/bt/main/shim/
Dhci_layer.cc119 bool is_valid_subevent_code(bluetooth::hci::SubeventCode subevent_code) { in is_valid_subevent_code()
121 case bluetooth::hci::SubeventCode::CONNECTION_COMPLETE: in is_valid_subevent_code()
122 case bluetooth::hci::SubeventCode::CONNECTION_UPDATE_COMPLETE: in is_valid_subevent_code()
123 case bluetooth::hci::SubeventCode::DATA_LENGTH_CHANGE: in is_valid_subevent_code()
124 case bluetooth::hci::SubeventCode::ENHANCED_CONNECTION_COMPLETE: in is_valid_subevent_code()
125 case bluetooth::hci::SubeventCode::PHY_UPDATE_COMPLETE: in is_valid_subevent_code()
126 case bluetooth::hci::SubeventCode::READ_REMOTE_FEATURES_COMPLETE: in is_valid_subevent_code()
127 case bluetooth::hci::SubeventCode::REMOTE_CONNECTION_PARAMETER_REQUEST: in is_valid_subevent_code()
128 case bluetooth::hci::SubeventCode::READ_LOCAL_P256_PUBLIC_KEY_COMPLETE: in is_valid_subevent_code()
129 case bluetooth::hci::SubeventCode::GENERATE_DHKEY_COMPLETE: in is_valid_subevent_code()
[all …]
/system/bt/gd/btaa/linux_generic/
Dcmd_evt_classification.cc400 CmdEvtActivityClassification lookup_le_event(hci::SubeventCode subevent_code) { in lookup_le_event()
403 case hci::SubeventCode::CONNECTION_COMPLETE: in lookup_le_event()
404 case hci::SubeventCode::ENHANCED_CONNECTION_COMPLETE: in lookup_le_event()
408 case hci::SubeventCode::CONNECTION_UPDATE_COMPLETE: in lookup_le_event()
409 case hci::SubeventCode::READ_REMOTE_FEATURES_COMPLETE: in lookup_le_event()
410 case hci::SubeventCode::PHY_UPDATE_COMPLETE: in lookup_le_event()
411 case hci::SubeventCode::CTE_REQUEST_FAILED: in lookup_le_event()
412 case hci::SubeventCode::TRANSMIT_POWER_REPORTING: in lookup_le_event()
416 case hci::SubeventCode::LONG_TERM_KEY_REQUEST: in lookup_le_event()
417 case hci::SubeventCode::REMOTE_CONNECTION_PARAMETER_REQUEST: in lookup_le_event()
[all …]
/system/bt/gd/hci/cert/
Ddirect_hci_test.py35 from bluetooth_packets_python3.hci_packets import SubeventCode
121 …self.dut_hci.register_for_le_events(SubeventCode.EXTENDED_ADVERTISING_REPORT, SubeventCode.ADVERTI…
207 …self.dut_hci.register_for_le_events(SubeventCode.CONNECTION_COMPLETE, SubeventCode.ADVERTISING_SET…
208 SubeventCode.ENHANCED_CONNECTION_COMPLETE,
209 SubeventCode.READ_REMOTE_FEATURES_COMPLETE)
227 …yload[0] == int(EventCode.LE_META_EVENT) and packet.payload[2] == int(SubeventCode.READ_REMOTE_FEA…
241 …self.dut_hci.register_for_le_events(SubeventCode.CONNECTION_COMPLETE, SubeventCode.ENHANCED_CONNEC…
Dle_advertising_manager_test.py48 self.cert_hci.register_for_le_events(hci_packets.SubeventCode.ADVERTISING_REPORT,
49 hci_packets.SubeventCode.EXTENDED_ADVERTISING_REPORT)
Dle_acl_manager_test.py76 self.register_for_le_event(hci_packets.SubeventCode.CONNECTION_COMPLETE)
77 self.register_for_le_event(hci_packets.SubeventCode.ENHANCED_CONNECTION_COMPLETE)
210 self.register_for_le_event(hci_packets.SubeventCode.CONNECTION_COMPLETE)
/system/bt/gd/rust/hci/src/
Dlib.rs23 ResetBuilder, SubeventCode,
125 le_evt_handlers: Arc<Mutex<HashMap<SubeventCode, Sender<LeMetaEventPacket>>>>,
154 pub async fn register_le(&mut self, code: SubeventCode, sender: Sender<LeMetaEventPacket>) { in register_le() argument
163 pub async fn unregister_le(&mut self, code: SubeventCode) { in unregister_le() argument
170 le_evt_handlers: Arc<Mutex<HashMap<SubeventCode, Sender<LeMetaEventPacket>>>>, in dispatch() argument
Dfacade.rs13 AclPacket, CommandPacket, EventCode, EventPacket, IsoPacket, LeMetaEventPacket, SubeventCode,
75 .register_le(SubeventCode::from_u32(code).unwrap(), self.le_evt_tx.clone()) in register_le_event()
/system/bt/gd/btaa/
Dcmd_evt_classification.h33 CmdEvtActivityClassification lookup_le_event(hci::SubeventCode subevent_code);
/system/bt/gd/hci/fuzz/
Dfuzz_hci_layer.h89 void RegisterLeEventHandler(hci::SubeventCode event, in RegisterLeEventHandler()
94 void UnregisterLeEventHandler(hci::SubeventCode event) override { in UnregisterLeEventHandler()
180 …std::map<hci::SubeventCode, common::ContextualCallback<void(hci::LeMetaEventView)>> le_event_handl…
Dfuzz_hci_layer.cc147 …auto handler_pair = le_event_handlers_.find(static_cast<SubeventCode>(fdp.ConsumeIntegral<uint8_t>… in injectLeEvent()
/system/bt/gd/hci/acl_manager/
Dle_impl.h88 SubeventCode code = event_packet.GetSubeventCode(); in on_le_event()
90 case SubeventCode::CONNECTION_COMPLETE: in on_le_event()
93 case SubeventCode::ENHANCED_CONNECTION_COMPLETE: in on_le_event()
96 case SubeventCode::CONNECTION_UPDATE_COMPLETE: in on_le_event()
99 case SubeventCode::PHY_UPDATE_COMPLETE: in on_le_event()
102 case SubeventCode::DATA_LENGTH_CHANGE: in on_le_event()
105 case SubeventCode::REMOTE_CONNECTION_PARAMETER_REQUEST: in on_le_event()
/system/bt/gd/iso/internal/
Diso_manager_impl.cc49 hci::SubeventCode code = event.GetSubeventCode(); in OnHciLeEvent()
51 if (code == hci::SubeventCode::CIS_ESTABLISHED) { in OnHciLeEvent()
60 } else if (code == hci::SubeventCode::CIS_REQUEST) { in OnHciLeEvent()
/system/bt/gd/cert/
Dpy_le_acl_manager.py121 if complete.GetSubeventCode() == hci_packets.SubeventCode.ENHANCED_CONNECTION_COMPLETE:
Dmatchers.py134 …inner_event = HciMatchers._extract_matching_le_event(packet_bytes, hci_packets.SubeventCode.CONNEC…
139 … hci_packets.SubeventCode.ENHANCED_CONNECTION_COMPLETE)
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h337 bool GetLeEventSupported(bluetooth::hci::SubeventCode subevent_code) const { in GetLeEventSupported()
/system/bt/gd/hci/facade/
Dfacade.cc98 …static_cast<SubeventCode>(event->code()), facade_handler_->BindOn(this, &HciFacadeService::on_le_s… in RequestLeSubevent()

12