Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Davrcp.rs34 type AvrcpIntf; typedef
36 unsafe fn GetAvrcpProfile(btif: *const u8) -> UniquePtr<AvrcpIntf>; in GetAvrcpProfile() argument
38 fn init(self: Pin<&mut AvrcpIntf>); in init() argument
39 fn cleanup(self: Pin<&mut AvrcpIntf>); in cleanup() argument
40 fn connect(self: Pin<&mut AvrcpIntf>, bt_addr: RawAddress) -> u32; in connect() argument
41 fn disconnect(self: Pin<&mut AvrcpIntf>, bt_addr: RawAddress) -> u32; in disconnect() argument
42 fn set_volume(self: Pin<&mut AvrcpIntf>, bt_addr: RawAddress, volume: i8); in set_volume() argument
43 fn set_playback_status(self: Pin<&mut AvrcpIntf>, status: &String); in set_playback_status() argument
44 fn set_position(self: Pin<&mut AvrcpIntf>, position_us: i64); in set_position() argument
46 self: Pin<&mut AvrcpIntf>, in set_metadata() argument
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.cc201 static AvrcpIntf* g_avrcpif;
350 std::unique_ptr<AvrcpIntf> GetAvrcpProfile(const unsigned char* btif) { in GetAvrcpProfile()
357 auto avrcpif = std::make_unique<AvrcpIntf>( in GetAvrcpProfile()
363 AvrcpIntf::~AvrcpIntf() {} in ~AvrcpIntf()
365 void AvrcpIntf::init() { intf_->Init(&mAvrcpInterface, &mVolumeInterface, nullptr); } in init()
367 void AvrcpIntf::cleanup() { intf_->Cleanup(); } in cleanup()
369 uint32_t AvrcpIntf::connect(RawAddress addr) { return intf_->ConnectDevice(addr); } in connect()
370 uint32_t AvrcpIntf::disconnect(RawAddress addr) { return intf_->DisconnectDevice(addr); } in disconnect()
372 void AvrcpIntf::set_volume(RawAddress addr, int8_t volume) { in set_volume()
376 void AvrcpIntf::set_playback_status(const ::rust::String& status) { in set_playback_status()
[all …]
Dbtav_shim.h59 class AvrcpIntf {
61 AvrcpIntf(bluetooth::avrcp::ServiceInterface* intf) : intf_(intf) {} in AvrcpIntf() function
62 ~AvrcpIntf();
83 std::unique_ptr<AvrcpIntf> GetAvrcpProfile(const unsigned char* btif);