/packages/modules/Bluetooth/system/btif/src/ |
D | btif_vc.cc | 51 Bind(&VolumeControl::Initialize, this, in Init() 115 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Connect() 123 Bind(&VolumeControl::Connect, in Connect() 124 Unretained(VolumeControl::Get()), address)); in Connect() 128 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Disconnect() 135 Bind(&VolumeControl::Disconnect, in Disconnect() 136 Unretained(VolumeControl::Get()), address)); in Disconnect() 141 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in SetVolume() 148 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::SetVolume, in SetVolume() 149 Unretained(VolumeControl::Get()), in SetVolume() [all …]
|
D | bluetooth.cc | 329 if (VolumeControl::IsVolumeControlRunning()) { in removeDeviceFromProfiles() 832 VolumeControl::DebugDump(fd); in dump()
|
D | btif_hf.cc | 846 bt_status_t VolumeControl(bthf_volume_type_t type, int volume, 1044 bt_status_t HeadsetInterface::VolumeControl(bthf_volume_type_t type, int volume, in VolumeControl() function in bluetooth::headset::HeadsetInterface
|
D | btif_profile_storage.cc | 1070 Bind(&VolumeControl::AddFromStorage, bd_addr)); in btif_storage_load_bonded_volume_control_devices()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_vc.cc | 26 void VolumeControl::AddFromStorage(const RawAddress& /* address */) { in AddFromStorage() 29 void VolumeControl::CleanUp() { inc_func_call_count(__func__); } in CleanUp() 30 void VolumeControl::DebugDump(int /* fd */) { inc_func_call_count(__func__); } in DebugDump() 31 VolumeControl* VolumeControl::Get(void) { in Get() 35 bool VolumeControl::IsVolumeControlRunning() { in IsVolumeControlRunning() 39 void VolumeControl::Initialize( in Initialize()
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc_test.cc | 325 VolumeControl::Initialize(callbacks.get(), base::DoNothing()); in TestAppRegister() 329 ASSERT_TRUE(VolumeControl::IsVolumeControlRunning()); in TestAppRegister() 334 VolumeControl::CleanUp(); in TestAppUnregister() 335 ASSERT_FALSE(VolumeControl::IsVolumeControlRunning()); in TestAppUnregister() 346 VolumeControl::Get()->Connect(address); in TestConnect() 357 VolumeControl::Get()->Remove(address); in TestRemove() 367 VolumeControl::Get()->Disconnect(address); in TestDisconnect() 378 VolumeControl::Get()->AddFromStorage(address); in TestAddFromStorage() 524 ASSERT_DEATH(VolumeControl::Get(), ""); in TEST_F() 533 VolumeControl::Initialize( in TEST_F() [all …]
|
D | vc.cc | 81 class VolumeControlImpl : public VolumeControl { 1263 void VolumeControl::Initialize(bluetooth::vc::VolumeControlCallbacks* callbacks, in Initialize() 1274 bool VolumeControl::IsVolumeControlRunning() { return instance; } in IsVolumeControlRunning() 1276 VolumeControl* VolumeControl::Get(void) { in Get() 1281 void VolumeControl::AddFromStorage(const RawAddress& address) { in AddFromStorage() 1290 void VolumeControl::CleanUp() { in CleanUp() 1305 void VolumeControl::DebugDump(int fd) { in DebugDump()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | vc.rs | 155 pub struct VolumeControl { struct 163 unsafe impl Send for VolumeControl {} argument 165 impl ToggleableProfile for VolumeControl { implementation 194 impl VolumeControl { impl 195 pub fn new(intf: &BluetoothInterface) -> VolumeControl { in new() argument 201 VolumeControl { internal: vc_if, is_init: false, is_enabled: false } in new()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_vc_api.h | 24 class VolumeControl { 26 virtual ~VolumeControl() = default; 31 static VolumeControl* Get();
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | uuid.rs | 74 VolumeControl, enumerator 107 Profile::VolumeControl, 145 (Uuid::from_string(VOLUME_CONTROL).unwrap(), Profile::VolumeControl),
|
D | bluetooth_media.rs | 32 BtVcConnectionState, VolumeControl, VolumeControlCallbacks, VolumeControlCallbacksDispatcher, 91 &[Profile::LeAudio, Profile::VolumeControl, Profile::CoordinatedSet]; 490 vc: Option<VolumeControl>, 654 Profile::LeAudio | Profile::VolumeControl | Profile::CoordinatedSet => { in enable_profile() 684 &Profile::VolumeControl => { in enable_profile() 729 &Profile::VolumeControl => { in disable_profile() 760 &Profile::VolumeControl => Some(self.vc.as_ref().map_or(false, |vc| vc.is_enabled())), in is_profile_enabled() 3080 let _ = txl.send(Message::VolumeControl(cb)).await; in get_vc_dispatcher() 3134 self.vc = Some(VolumeControl::new(&self.intf.lock().unwrap())); in initialize() 3149 Profile::VolumeControl, in initialize() [all …]
|
D | lib.rs | 94 VolumeControl(VolumeControlCallbacks), enumerator 310 Message::VolumeControl(a) => { in dispatch()
|
D | bluetooth.rs | 742 | Profile::VolumeControl in disable_profile() 769 | Profile::VolumeControl in enable_profile() 792 | Profile::VolumeControl in is_profile_enabled() 2765 Profile::LeAudio | Profile::VolumeControl | Profile::CoordinatedSet in connect_all_enabled_profiles() 2883 Profile::LeAudio | Profile::VolumeControl | Profile::CoordinatedSet in disconnect_all_enabled_profiles()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth_headset_interface.h | 122 virtual bt_status_t VolumeControl(bthf_volume_type_t type, int volume,
|
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/ |
D | hfp_shim.cc | 332 return intf_->VolumeControl(headset::bthf_volume_type_t::BTHF_VOLUME_TYPE_SPK, volume, &addr); in set_volume() 336 return intf_->VolumeControl(headset::bthf_volume_type_t::BTHF_VOLUME_TYPE_MIC, volume, &addr); in set_mic_volume()
|
/packages/modules/Bluetooth/system/gd/metrics/chromeos/ |
D | metrics_event.cc | 107 VolumeControl, enumerator
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 889 VolumeControl, enumerator 905 SupportedProfiles::VolumeControl => "volume_control", in from()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_hfp.cpp | 685 bt_status_t status = sBluetoothHfpInterface->VolumeControl( in setVolumeNative()
|