Searched refs:HfpIntf (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | hfp.rs | 191 type HfpIntf; typedef 193 unsafe fn GetHfpProfile(btif: *const u8) -> UniquePtr<HfpIntf>; in GetHfpProfile() argument 195 fn init(self: Pin<&mut HfpIntf>) -> i32; in init() 196 fn connect(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> u32; in connect() argument 198 self: Pin<&mut HfpIntf>, in connect_audio() argument 203 fn set_active_device(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in set_active_device() argument 204 fn set_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> i32; in set_volume() argument 205 fn set_mic_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> u32; in set_mic_volume() argument 206 fn disconnect(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> u32; in disconnect() argument 207 fn disconnect_audio(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in disconnect_audio() argument [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/ |
D | hfp_shim.cc | 35 static HfpIntf* g_hfpif; 314 int HfpIntf::init() { in init() 318 uint32_t HfpIntf::connect(RawAddress addr) { in connect() 322 int HfpIntf::connect_audio(RawAddress addr, bool sco_offload, int disabled_codecs) { in connect_audio() 327 int HfpIntf::set_active_device(RawAddress addr) { in set_active_device() 331 int HfpIntf::set_volume(int8_t volume, RawAddress addr) { in set_volume() 335 uint32_t HfpIntf::set_mic_volume(int8_t volume, RawAddress addr) { in set_mic_volume() 339 uint32_t HfpIntf::disconnect(RawAddress addr) { in disconnect() 343 int HfpIntf::disconnect_audio(RawAddress addr) { in disconnect_audio() 347 uint32_t HfpIntf::device_status_notification(TelephonyDeviceStatus status, RawAddress addr) { in device_status_notification() [all …]
|
D | hfp_shim.h | 34 class HfpIntf { 36 HfpIntf(headset::Interface* intf) : intf_(intf){}; in HfpIntf() function 60 std::unique_ptr<HfpIntf> GetHfpProfile(const unsigned char* btif);
|