Home
last modified time | relevance | path

Searched refs:hfp (Results 1 – 25 of 87) sorted by relevance

1234

/packages/modules/Bluetooth/system/audio_hal_interface/
Dhfp_client_interface.cc30 using ::bluetooth::audio::aidl::hfp::HfpDecodingTransport;
31 using ::bluetooth::audio::aidl::hfp::HfpEncodingTransport;
41 namespace hfp { namespace
90 const ::hfp::offload_config& offload_config) { in offload_config_to_hal_audio_config()
170 const ::hfp::offload_config& offload_config) { in UpdateAudioConfigToHal()
190 auto instance = aidl::hfp::HfpDecodingTransport::instance_; in ConfirmStreamingRequest()
193 case aidl::hfp::HFP_CTRL_CMD_START: in ConfirmStreamingRequest()
194 aidl::hfp::HfpDecodingTransport::software_hal_interface->StreamStarted( in ConfirmStreamingRequest()
198 case aidl::hfp::HFP_CTRL_CMD_NONE: in ConfirmStreamingRequest()
207 auto instance = aidl::hfp::HfpDecodingTransport::instance_; in CancelStreamingRequest()
[all …]
Dhfp_client_interface.h24 namespace hfp {
39 const ::hfp::offload_config& config) = 0;
53 void UpdateAudioConfigToHal(const ::hfp::offload_config& config) override;
66 void UpdateAudioConfigToHal(const ::hfp::offload_config& config) override;
79 void UpdateAudioConfigToHal(const ::hfp::offload_config& config) override;
82 std::unordered_map<int, ::hfp::sco_config> GetHfpScoConfig();
Dhfp_client_interface_host.cc21 namespace hfp { namespace
52 std::unordered_map<int, ::hfp::sco_config>
54 return std::unordered_map<int, ::hfp::sco_config>(); in GetHfpScoConfig()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Dhfp.py41 self.hfp = HFP(channel)
93 self.hfp.EnableSlcAsHandsfree(connection=self.connection)
95 self.hfp.EnableSlc(connection=self.connection)
148 self.hfp.DisableSlcAsHandsfree(connection=self.connection)
150 self.hfp.DisableSlc(connection=self.connection)
163 self.hfp.SetBatteryLevel(connection=self.connection, battery_percentage=100)
174 self.hfp.SetBatteryLevel(connection=self.connection, battery_percentage=42)
212 self.hfp.DeclineCall()
238 self.hfp.DisconnectToAudioAsHandsfree(connection=self.connection)
240 self.hfp.SetAudioPath(audio_path=AUDIO_PATH_SPEAKERS)
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dhfp_service.rs4 use bt_topshim::profiles::hfp::{Hfp, HfpCallbacks, HfpCallbacksDispatcher};
66 let hfp = self.btif_hfp.clone(); in start_slc() localVariable
71 hfp.lock().unwrap().connect(addr); in start_slc()
85 let hfp = self.btif_hfp.clone(); in stop_slc() localVariable
90 hfp.lock().unwrap().disconnect(addr); in stop_slc()
109 let hfp = self.btif_hfp.clone(); in connect_audio() localVariable
114 hfp.lock().unwrap().connect_audio( in connect_audio()
119 hfp.lock().unwrap().set_active_device(addr); in connect_audio()
138 let hfp = self.btif_hfp.clone(); in disconnect_audio() localVariable
143 hfp.lock().unwrap().disconnect_audio(addr); in disconnect_audio()
[all …]
/packages/modules/Bluetooth/sysprop/
Dhfp.sysprop9 prop_name: "bluetooth.hfp.hf_client_features.config"
17 prop_name: "bluetooth.hfp.hf_features.config"
25 prop_name: "bluetooth.hfp.hf_services_mask.config"
33 prop_name: "bluetooth.hfp.version.config"
41 prop_name: "bluetooth.hfp.codec_aptx_voice.enabled"
50 prop_name: "bluetooth.hfp.swb.aptx.power_management.enabled"
DBUILD.gn10 "hfp.sysprop",
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dprovider_info.cc33 ::hfp::sco_config recordHfpCodecInfo(CodecInfo codecInfo) { in recordHfpCodecInfo()
34 auto hfp_transport = codecInfo.transport.get<CodecInfo::Transport::hfp>(); in recordHfpCodecInfo()
35 ::hfp::sco_config config{ in recordHfpCodecInfo()
74 const std::unordered_map<int, ::hfp::sco_config>&
Dhfp_client_interface_aidl.h30 namespace hfp {
75 static std::unordered_map<int, ::hfp::sco_config> GetHfpScoConfig(
176 struct formatter<bluetooth::audio::aidl::hfp::tHFP_CTRL_CMD>
177 : enum_formatter<bluetooth::audio::aidl::hfp::tHFP_CTRL_CMD> {};
Dprovider_info.h39 const std::unordered_map<int, ::hfp::sco_config>& GetHfpScoConfig();
43 std::unordered_map<int /* HFP CODEC in UUID_CODEC_XXX */, ::hfp::sco_config>
Dhfp_client_interface_aidl.cc37 namespace hfp { namespace
67 std::unordered_map<int, ::hfp::sco_config> HfpTransport::GetHfpScoConfig( in GetHfpScoConfig()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs18 use bt_topshim::profiles::hfp::interop_insert_call_when_sco_start;
19 use bt_topshim::profiles::hfp::{
463 hfp: Option<Hfp>, field
528 hfp: None, in new()
675 if let Some(hfp) = &mut self.hfp { in enable_profile()
676 hfp.enable(); in enable_profile()
720 if let Some(hfp) = &mut self.hfp { in disable_profile()
721 hfp.disable(); in disable_profile()
756 &Profile::Hfp => Some(self.hfp.as_ref().map_or(false, |hfp| hfp.is_enabled())), in is_profile_enabled()
1681 match self.hfp.as_mut() { in dispatch_hfp_callbacks()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/
DBUILD.gn32 "src/profiles/hfp.rs",
49 "src/profiles/hfp.rs",
73 "hfp/hfp_shim.cc",
DAndroid.bp55 "hfp/hfp_shim.cc",
93 "src/profiles/hfp.rs",
112 "src/profiles/hfp.rs",
/packages/modules/Bluetooth/floss/pandora/server/
Dserver.py22 from floss.pandora.server import hfp
68 hfp_service = hfp.HFPService(bluetooth)
/packages/modules/Bluetooth/flags/
Dhfp.aconfig7 description: "Auto connect to hfp device is there is no a2dp device to connect to"
14 description: "Auto connect to hfp device is there is no a2dp device to connect to"
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetMessageObject.java16 package com.android.bluetooth.hfp;
DBluetoothCmeError.java17 package com.android.bluetooth.hfp;
DHeadsetDeviceState.java16 package com.android.bluetooth.hfp;
DHeadsetVendorSpecificResultCode.java16 package com.android.bluetooth.hfp;
DHeadsetHalConstants.java17 package com.android.bluetooth.hfp;
DHeadsetSystemInterface.java17 package com.android.bluetooth.hfp;
63 mHeadsetPhoneState = new com.android.bluetooth.hfp.HeadsetPhoneState(mHeadsetService); in HeadsetSystemInterface()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dmod.rs34 pub mod hfp; module
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineFactory.java21 import com.android.bluetooth.hfp.HeadsetService;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetAgIndicatorEnableStateTest.java17 package com.android.bluetooth.hfp;

1234