Home
last modified time | relevance | path

Searched refs:BtState (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/rust/linux/stack/src/
Dbluetooth.rs4 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
Dlib.rs13 use bt_topshim::btif::BtState;
58 BluetoothAdapterStateChanged(BtState),
/system/bt/gd/rust/topshim/src/
Dbtif.rs15 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/
Dmain.rs18 AdapterStateChanged(btif::BtState),
89 if state == btif::BtState::On { in mainloop()