Searched refs:modify_state (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | state_machine.rs | 226 pub fn modify_state<F>(&mut self, hci: VirtualHciIndex, call: F) in modify_state() method 684 context.state_machine.modify_state(hci, |a: &mut AdapterState| { in mainloop() 714 context.state_machine.modify_state(hci, |a: &mut AdapterState| { in mainloop() 727 context.state_machine.modify_state(hci, |a: &mut AdapterState| { in mainloop() 773 context.state_machine.modify_state(hci, |a: &mut AdapterState| { in mainloop() 914 context.state_machine.modify_state(hci, |a: &mut AdapterState| { in mainloop() 1230 self.modify_state(new_virt, |a: &mut AdapterState| { in get_next_virtual_id() 1261 self.modify_state(dev, |a: &mut AdapterState| { in get_updated_virtual_id() 1264 self.modify_state(real, |a: &mut AdapterState| { in get_updated_virtual_id() 1272 self.modify_state(dev, |a: &mut AdapterState| { in get_updated_virtual_id() [all …]
|
D | bluetooth_manager.rs | 101 self.proxy.modify_state(hci, move |a: &mut AdapterState| a.config_enabled = true); in start() 126 self.proxy.modify_state(hci, move |a: &mut AdapterState| a.config_enabled = false); in stop()
|