Home
last modified time | relevance | path

Searched refs:VolumeControl (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_vc.cc51 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 …]
Dbluetooth.cc329 if (VolumeControl::IsVolumeControlRunning()) { in removeDeviceFromProfiles()
832 VolumeControl::DebugDump(fd); in dump()
Dbtif_hf.cc846 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
Dbtif_profile_storage.cc1070 Bind(&VolumeControl::AddFromStorage, bd_addr)); in btif_storage_load_bonded_volume_control_devices()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_vc.cc26 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/
Dvc_test.cc325 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 …]
Dvc.cc81 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/
Dvc.rs155 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/
Dbta_vc_api.h24 class VolumeControl {
26 virtual ~VolumeControl() = default;
31 static VolumeControl* Get();
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Duuid.rs74 VolumeControl, enumerator
107 Profile::VolumeControl,
145 (Uuid::from_string(VOLUME_CONTROL).unwrap(), Profile::VolumeControl),
Dbluetooth_media.rs32 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 …]
Dlib.rs94 VolumeControl(VolumeControlCallbacks), enumerator
310 Message::VolumeControl(a) => { in dispatch()
Dbluetooth.rs742 | 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/
Dbluetooth_headset_interface.h122 virtual bt_status_t VolumeControl(bthf_volume_type_t type, int volume,
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc332 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/
Dmetrics_event.cc107 VolumeControl, enumerator
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs889 VolumeControl, enumerator
905 SupportedProfiles::VolumeControl => "volume_control", in from()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp685 bt_status_t status = sBluetoothHfpInterface->VolumeControl( in setVolumeNative()