Searched refs:ProfileConnectionState (Results 1 – 6 of 6) sorted by relevance
7 pub enum ProfileConnectionState { enum
34 use bt_topshim::profiles::ProfileConnectionState;2491 pub fn get_hfp_connection_state(&self) -> ProfileConnectionState { in get_hfp_connection_state() argument2493 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 …]
19 profiles::ProfileConnectionState,224 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState; in get_profile_connection_state() argument2645 fn get_profile_connection_state(&self, profile: Uuid) -> ProfileConnectionState { in get_profile_connection_state() argument2655 _ => ProfileConnectionState::Disconnected, in get_profile_connection_state()2658 ProfileConnectionState::Disconnected in get_profile_connection_state()
7 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
18 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()
26 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