Home
last modified time | relevance | path

Searched refs:ProfileConnectionState (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dmod.rs7 pub enum ProfileConnectionState { enum
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs34 use bt_topshim::profiles::ProfileConnectionState;
2491 pub fn get_hfp_connection_state(&self) -> ProfileConnectionState { in get_hfp_connection_state() argument
2493 ProfileConnectionState::Active in get_hfp_connection_state()
2495 let mut winning_state = ProfileConnectionState::Disconnected; in get_hfp_connection_state()
2501 winning_state = ProfileConnectionState::Connected; in get_hfp_connection_state()
2507 if winning_state != ProfileConnectionState::Connected => in get_hfp_connection_state()
2509 winning_state = ProfileConnectionState::Connecting; in get_hfp_connection_state()
2513 if winning_state == ProfileConnectionState::Disconnected => in get_hfp_connection_state()
2515 winning_state = ProfileConnectionState::Disconnecting; in get_hfp_connection_state()
2526 pub fn get_a2dp_connection_state(&self) -> ProfileConnectionState { in get_a2dp_connection_state() argument
[all …]
Dbluetooth.rs19 profiles::ProfileConnectionState,
224 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState; in get_profile_connection_state() argument
2645 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState { in get_profile_connection_state() argument
2655 _ => ProfileConnectionState::Disconnected, in get_profile_connection_state()
2658 ProfileConnectionState::Disconnected in get_profile_connection_state()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs7 use bt_topshim::profiles::ProfileConnectionState;
179 impl_dbus_arg_enum!(ProfileConnectionState);
705 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState { in get_profile_connection_state() argument
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcommand_handler.rs18 use bt_topshim::profiles::ProfileConnectionState;
560 let connected_profiles: Vec<(Profile, ProfileConnectionState)> = supported_profiles in cmd_adapter()
566 (prof, ProfileConnectionState::Disconnected) in cmd_adapter()
569 .filter(|(_prof, state)| state != &ProfileConnectionState::Disconnected) in cmd_adapter()
Ddbus_iface.rs26 use bt_topshim::profiles::ProfileConnectionState;
107 impl_dbus_arg_enum!(ProfileConnectionState);
970 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState { in get_profile_connection_state() argument