Searched refs:VolumeControlIntf (Results 1 – 3 of 3) sorted by relevance
35 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 …]
29 class VolumeControlIntf {31 VolumeControlIntf(vc::VolumeControlInterface* intf) : intf_(intf){}; in VolumeControlIntf() function52 std::unique_ptr<VolumeControlIntf> GetVolumeControlProfile(const unsigned char* btif);
28 type VolumeControlIntf; typedef30 unsafe fn GetVolumeControlProfile(btif: *const u8) -> UniquePtr<VolumeControlIntf>; in GetVolumeControlProfile() argument32 fn init(self: Pin<&mut VolumeControlIntf>); in init() argument33 fn cleanup(self: Pin<&mut VolumeControlIntf>); in cleanup() argument34 fn connect(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in connect() argument35 fn disconnect(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in disconnect() argument36 fn remove_device(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in remove_device() argument37 fn set_volume(self: Pin<&mut VolumeControlIntf>, group_id: i32, volume: u8); in set_volume() argument38 fn mute(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in mute() argument39 fn unmute(self: Pin<&mut VolumeControlIntf>, addr: RawAddress); in unmute() argument[all …]