Searched refs:BtVcConnectionState (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/topshim/vc/ |
D | vc_shim.cc | 37 static BtVcConnectionState to_rust_btvc_connection_state(vc::ConnectionState state) { in to_rust_btvc_connection_state() 40 return BtVcConnectionState::Disconnected; in to_rust_btvc_connection_state() 42 return BtVcConnectionState::Connecting; in to_rust_btvc_connection_state() 44 return BtVcConnectionState::Connected; in to_rust_btvc_connection_state() 46 return BtVcConnectionState::Disconnecting; in to_rust_btvc_connection_state() 50 return BtVcConnectionState{}; in to_rust_btvc_connection_state()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | vc.rs | 18 pub enum BtVcConnectionState { enum 76 fn vc_connection_state_callback(state: BtVcConnectionState, addr: RawAddress); in vc_connection_state_callback() argument 108 pub type BtVcConnectionState = ffi::BtVcConnectionState; typedef 112 ConnectionState(BtVcConnectionState, RawAddress), 129 BtVcConnectionState, RawAddress);
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_media.rs | 32 BtVcConnectionState, VolumeControl, VolumeControlCallbacks, VolumeControlCallbacksDispatcher, 491 vc_states: HashMap<RawAddress, BtVcConnectionState>, 852 BtVcConnectionState::Connected => { in dispatch_vc_callbacks() 872 BtVcConnectionState::Disconnected => { in dispatch_vc_callbacks() 3281 if *self.vc_states.get(&addr).unwrap_or(&BtVcConnectionState::Disconnected) in connect_vc() 3282 == BtVcConnectionState::Connected in connect_vc() 3307 if *self.vc_states.get(&addr).unwrap_or(&BtVcConnectionState::Disconnected) in disconnect_vc() 3308 == BtVcConnectionState::Disconnected in disconnect_vc()
|