Home
last modified time | relevance | path

Searched refs:BtCsisConnectionState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/csis/
Dcsis_shim.cc38 static BtCsisConnectionState to_rust_btcsis_connection_state(csis::ConnectionState state) { in to_rust_btcsis_connection_state()
41 return BtCsisConnectionState::Disconnected; in to_rust_btcsis_connection_state()
43 return BtCsisConnectionState::Connecting; in to_rust_btcsis_connection_state()
45 return BtCsisConnectionState::Connected; in to_rust_btcsis_connection_state()
47 return BtCsisConnectionState::Disconnecting; in to_rust_btcsis_connection_state()
51 return BtCsisConnectionState{}; in to_rust_btcsis_connection_state()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dcsis.rs21 pub enum BtCsisConnectionState { enum
55 fn csis_connection_state_callback(addr: RawAddress, state: BtCsisConnectionState); in csis_connection_state_callback() argument
72 pub type BtCsisConnectionState = ffi::BtCsisConnectionState; typedef
77 ConnectionState(RawAddress, BtCsisConnectionState),
91 RawAddress, BtCsisConnectionState);
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs16 BtCsisConnectionState, CsisClient, CsisClientCallbacks, CsisClientCallbacksDispatcher,
493 csis_states: HashMap<RawAddress, BtCsisConnectionState>,
787 BtCsisConnectionState::Connected => { in dispatch_csis_callbacks()
790 BtCsisConnectionState::Disconnected => { in dispatch_csis_callbacks()
3332 if *self.csis_states.get(&addr).unwrap_or(&BtCsisConnectionState::Disconnected) in connect_csis()
3333 == BtCsisConnectionState::Connected in connect_csis()
3358 if *self.csis_states.get(&addr).unwrap_or(&BtCsisConnectionState::Disconnected) in disconnect_csis()
3359 == BtCsisConnectionState::Disconnected in disconnect_csis()