Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/topshim/vc/
Dvc_shim.cc35 static VolumeControlIntf* g_vc_if;
155 std::unique_ptr<VolumeControlIntf> GetVolumeControlProfile(const unsigned char* btif) { in GetVolumeControlProfile()
160 auto vc_if = std::make_unique<VolumeControlIntf>( in GetVolumeControlProfile()
169 void VolumeControlIntf::init(/*VolumeControlCallbacks* callbacks*/) { in init()
173 void VolumeControlIntf::cleanup() { in cleanup()
177 void VolumeControlIntf::connect(RawAddress addr) { in connect()
181 void VolumeControlIntf::disconnect(RawAddress addr) { in disconnect()
185 void VolumeControlIntf::remove_device(RawAddress addr) { in remove_device()
189 void VolumeControlIntf::set_volume(int group_id, uint8_t volume) { in set_volume()
193 void VolumeControlIntf::mute(RawAddress addr) { in mute()
[all …]
Dvc_shim.h29 class VolumeControlIntf {
31 VolumeControlIntf(vc::VolumeControlInterface* intf) : intf_(intf){}; in VolumeControlIntf() function
52 std::unique_ptr<VolumeControlIntf> GetVolumeControlProfile(const unsigned char* btif);
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dvc.rs28 type VolumeControlIntf; typedef
30 unsafe fn GetVolumeControlProfile(btif: *const u8) -> UniquePtr<VolumeControlIntf>; in GetVolumeControlProfile() argument
32 fn init(self: Pin<&mut VolumeControlIntf>); in init() argument
33 fn cleanup(self: Pin<&mut VolumeControlIntf>); in cleanup() argument
34 fn connect(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in connect() argument
35 fn disconnect(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in disconnect() argument
36 fn remove_device(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in remove_device() argument
37 fn set_volume(self: Pin<&mut VolumeControlIntf>, group_id: i32, volume: u8); in set_volume() argument
38 fn mute(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in mute() argument
39 fn unmute(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in unmute() argument
[all …]