Home
last modified time | relevance | path

Searched defs:VirtualHciIndex (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dstate_machine.rs70 pub struct VirtualHciIndex(pub i32); struct
71 impl VirtualHciIndex { impl
76 impl Display for VirtualHciIndex { implementation
182 pub fn start_bluetooth(&self, hci: VirtualHciIndex) { in start_bluetooth()
191 pub fn stop_bluetooth(&self, hci: VirtualHciIndex) { in stop_bluetooth()
199 pub fn restart_bluetooth(&self, hci: VirtualHciIndex) { in restart_bluetooth()
209 pub fn get_state<T, F>(&self, hci: VirtualHciIndex, call: F) -> Option<T> in get_state()
223 pub fn modify_state<F>(&mut self, hci: VirtualHciIndex, call: F) in modify_state()
266 pub fn get_default_adapter(&mut self) -> VirtualHciIndex { in get_default_adapter()
271 pub fn set_desired_default_adapter(&mut self, adapter: VirtualHciIndex) { in set_desired_default_adapter()
[all …]
Dbluetooth_manager.rs48 pub(crate) fn callback_hci_device_change(&mut self, hci: VirtualHciIndex, present: bool) { in callback_hci_device_change()
59 pub(crate) fn callback_hci_enabled_change(&mut self, hci: VirtualHciIndex, enabled: bool) { in callback_hci_enabled_change()
71 pub(crate) fn callback_default_adapter_change(&mut self, hci: VirtualHciIndex) { in callback_default_adapter_change()
Dconfig_util.rs98 pub fn modify_hci_n_enabled(hci: VirtualHciIndex, enabled: bool) -> bool { in modify_hci_n_enabled()
111 hci: VirtualHciIndex, in modify_hci_n_enabled_internal()