Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.cc180 static A2dpIntf* g_a2dpif;
261 A2dpIntf::~A2dpIntf() { in ~A2dpIntf()
265 std::unique_ptr<A2dpIntf> GetA2dpProfile(const unsigned char* btif) { in GetA2dpProfile()
270 auto a2dpif = std::make_unique<A2dpIntf>( in GetA2dpProfile()
276 int A2dpIntf::init() const { in init()
283 uint32_t A2dpIntf::connect(RawAddress addr) const { in connect()
286 uint32_t A2dpIntf::disconnect(RawAddress addr) const { in disconnect()
289 int A2dpIntf::set_silence_device(RawAddress addr, bool silent) const { in set_silence_device()
292 int A2dpIntf::set_active_device(RawAddress addr) const { in set_active_device()
295 int A2dpIntf::config_codec(RawAddress addr, ::rust::Vec<A2dpCodecConfig> codec_preferences) const { in config_codec()
[all …]
Dbtav_shim.h35 class A2dpIntf {
37 A2dpIntf(const btav_source_interface_t* intf) : intf_(intf){}; in A2dpIntf() function
38 ~A2dpIntf();
60 std::unique_ptr<A2dpIntf> GetA2dpProfile(const unsigned char* btif);
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs231 type A2dpIntf; typedef
234 unsafe fn GetA2dpProfile(btif: *const u8) -> UniquePtr<A2dpIntf>; in GetA2dpProfile() argument
236 fn init(self: &A2dpIntf) -> i32; in init()
237 fn connect(self: &A2dpIntf, bt_addr: RawAddress) -> u32; in connect() argument
238 fn disconnect(self: &A2dpIntf, bt_addr: RawAddress) -> u32; in disconnect() argument
239 fn set_silence_device(self: &A2dpIntf, bt_addr: RawAddress, silent: bool) -> i32; in set_silence_device() argument
240 fn set_active_device(self: &A2dpIntf, bt_addr: RawAddress) -> i32; in set_active_device() argument
242 self: &A2dpIntf, in config_codec() argument
246 fn set_audio_config(self: &A2dpIntf, config: A2dpCodecConfig) -> bool; in set_audio_config() argument
247 fn start_audio_request(self: &A2dpIntf) -> bool; in start_audio_request()
[all …]