Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Diface_bluetooth_manager.rs9 pub hci_interface: i32, field
23 fn start(&mut self, hci_interface: i32); in start()
26 fn stop(&mut self, hci_interface: i32); in stop()
29 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool; in get_adapter_enabled()
49 fn set_desired_default_adapter(&mut self, hci_interface: i32); in set_desired_default_adapter()
63 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool); in on_hci_device_changed()
66 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool); in on_hci_enabled_changed()
73 fn on_default_adapter_changed(&mut self, hci_interface: i32); in on_default_adapter_changed()
Dbluetooth_manager_dbus.rs16 hci_interface: i32, field
31 fn start(&mut self, hci_interface: i32) { in start()
36 fn stop(&mut self, hci_interface: i32) { in stop()
41 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
71 fn set_desired_default_adapter(&mut self, hci_interface: i32) { in set_desired_default_adapter()
92 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed()
95 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed()
98 fn on_default_adapter_changed(&mut self, hci_interface: i32) {} in on_default_adapter_changed()
Dbluetooth_manager.rs137 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
138 self.is_adapter_enabled(VirtualHciIndex(hci_interface)) in get_adapter_enabled()
193 hci_interface: a.virt_hci.to_i32(), in get_available_adapters()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_scanner.cc43 : hci_interface(interface), weak_factory_(this) {} in BleScanningManagerImpl()
115 BleScannerHciInterface* GetHciInterface() { return hci_interface; } in GetHciInterface()
116 BleScannerHciInterface* hci_interface = nullptr; member in __anon9aabb3d70111::BleScanningManagerImpl
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_host.cc91 int waitHciDev(int hci_interface) { in waitHciDev() argument
162 if (cc->index[i] == hci_interface) { in waitHciDev()
170 "HCI interface({}) not found in the MGMT lndex list", hci_interface); in waitHciDev()
198 int hci_interface = bluetooth::common::InitFlags::GetAdapterIndex(); in ConnectToSocket() local
200 if (waitHciDev(hci_interface) != 0) { in ConnectToSocket()
208 addr.hci_dev = hci_interface; in ConnectToSocket()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dmain.rs226 fn set_adapter_enabled(&mut self, hci_interface: i32, enabled: bool) { in set_adapter_enabled()
227 print_info!("hci{} enabled = {}", hci_interface, enabled); in set_adapter_enabled()
229 self.adapters.entry(hci_interface).and_modify(|v| *v = enabled).or_insert(enabled); in set_adapter_enabled()
235 if hci_interface == default_adapter && prev_enabled != enabled { in set_adapter_enabled()
239 self.create_adapter_proxy(hci_interface); in set_adapter_enabled()
Dcallbacks.rs79 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) { in on_hci_device_changed()
80 print_info!("hci{} present = {}", hci_interface, present); in on_hci_device_changed()
83 self.context.lock().unwrap().adapters.entry(hci_interface).or_insert(false); in on_hci_device_changed()
85 self.context.lock().unwrap().adapters.remove(&hci_interface); in on_hci_device_changed()
89 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) { in on_hci_enabled_changed()
90 self.context.lock().unwrap().set_adapter_enabled(hci_interface, enabled); in on_hci_enabled_changed()
93 fn on_default_adapter_changed(&mut self, hci_interface: i32) { in on_default_adapter_changed()
94 print_info!("hci{} is now the default", hci_interface); in on_default_adapter_changed()
Ddbus_iface.rs1110 hci_interface: i32, field
1151 fn start(&mut self, hci_interface: i32) { in start()
1156 fn stop(&mut self, hci_interface: i32) { in stop()
1161 fn get_adapter_enabled(&mut self, hci_interface: i32) -> bool { in get_adapter_enabled()
1216 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed()
1219 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed()
1222 fn on_default_adapter_changed(&mut self, hci_interface: i32) {} in on_default_adapter_changed()