Searched refs:BtState (Results 1 – 4 of 4) sorted by relevance
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 4 use bt_topshim::btif::{BluetoothCallbacks, BluetoothInterface, BtState}; 52 state: BtState, 65 state: BtState::Off, in new() 88 fn adapter_state_changed(&mut self, state: BtState); in adapter_state_changed() argument 121 fn adapter_state_changed(&mut self, state: BtState) { in adapter_state_changed() argument
|
D | lib.rs | 13 use bt_topshim::btif::BtState; 58 BluetoothAdapterStateChanged(BtState),
|
/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 15 pub enum BtState { enum 250 pub adapter_state_changed: Box<dyn Fn(BtState) + Send>, 345 let new_state = match BtState::from_i32(state) { in adapter_state_changed_callback() 347 None => BtState::Off, in adapter_state_changed_callback()
|
/system/bt/gd/rust/linux/adapter/src/ |
D | main.rs | 18 AdapterStateChanged(btif::BtState), 89 if state == btif::BtState::On { in mainloop()
|