Home
last modified time | relevance | path

Searched refs:VolumeControlDevice (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_vc_device.cc29 bool VolumeControlDevice::EnableEncryption() { in EnableEncryption()
33 bool VolumeControlDevice::EnqueueInitialRequests( in EnqueueInitialRequests()
39 bool VolumeControlDevice::IsEncryptionEnabled() { in IsEncryptionEnabled()
43 bool VolumeControlDevice::UpdateHandles(void) { in UpdateHandles()
47 bool VolumeControlDevice::VerifyReady(uint16_t /* handle */) { in VerifyReady()
51 bool VolumeControlDevice::set_volume_control_service_handles( in set_volume_control_service_handles()
56 void VolumeControlDevice::set_volume_offset_control_service_handles( in set_volume_offset_control_service_handles()
60 bool VolumeControlDevice::subscribe_for_notifications( in subscribe_for_notifications()
66 uint16_t VolumeControlDevice::find_ccc_handle(uint16_t /* chrc_handle */) { in find_ccc_handle()
70 void VolumeControlDevice::ControlPointOperation( in ControlPointOperation()
[all …]
/packages/modules/Bluetooth/system/bta/vc/
Ddevice.cc36 void VolumeControlDevice::DeregisterNotifications(tGATT_IF gatt_if) { in DeregisterNotifications()
52 void VolumeControlDevice::Disconnect(tGATT_IF gatt_if) { in Disconnect()
70 uint16_t VolumeControlDevice::find_ccc_handle(uint16_t chrc_handle) { in find_ccc_handle()
86 bool VolumeControlDevice::set_volume_control_service_handles( in set_volume_control_service_handles()
122 void VolumeControlDevice::set_volume_offset_control_service_handles( in set_volume_offset_control_service_handles()
166 bool VolumeControlDevice::UpdateHandles(void) { in UpdateHandles()
203 void VolumeControlDevice::ResetHandles(void) { in ResetHandles()
219 void VolumeControlDevice::ControlPointOperation(uint8_t opcode, in ControlPointOperation()
231 bool VolumeControlDevice::subscribe_for_notifications(tGATT_IF gatt_if, in subscribe_for_notifications()
259 bool VolumeControlDevice::EnqueueInitialRequests( in EnqueueInitialRequests()
[all …]
Ddevices.h35 class VolumeControlDevice : public bluetooth::common::IRedactableLoggable {
64 VolumeControlDevice(const RawAddress& address, bool connecting_actively) in VolumeControlDevice() function
80 ~VolumeControlDevice() = default;
183 VolumeControlDevice* FindByAddress(const RawAddress& address) { in FindByAddress()
185 [&address](const VolumeControlDevice& device) { in FindByAddress()
192 VolumeControlDevice* FindByConnId(uint16_t connection_id) { in FindByConnId()
195 [&connection_id](const VolumeControlDevice& device) { in FindByConnId()
227 VolumeControlDevice* device = FindByAddress(addr); in ControlPointOperation()
234 std::vector<VolumeControlDevice> devices_;
Dvc.cc165 VolumeControlDevice* device = in OnGattConnected()
197 VolumeControlDevice* device = in OnEncryptionComplete()
224 void ClearDeviceInformationAndStartSearch(VolumeControlDevice* device) { in ClearDeviceInformationAndStartSearch()
246 VolumeControlDevice* device = in OnServiceChangeEvent()
257 VolumeControlDevice* device = in OnServiceDiscDoneEvent()
270 VolumeControlDevice* device = in OnServiceSearchComplete()
308 VolumeControlDevice* device = volume_control_devices_.FindByConnId(conn_id); in OnCharacteristicValueChanged()
370 void HandleAutonomusVolumeChange(VolumeControlDevice* device, in HandleAutonomusVolumeChange()
430 void OnVolumeControlStateReadOrNotified(VolumeControlDevice* device, in OnVolumeControlStateReadOrNotified()
503 void OnVolumeControlFlagsChanged(VolumeControlDevice* device, uint16_t len, in OnVolumeControlFlagsChanged()
[all …]
Ddevices_test.cc112 VolumeControlDevice* device = devices_->FindByAddress(test_address_1); in TEST_F()
120 VolumeControlDevice* test_device = devices_->FindByAddress(test_address_0); in TEST_F()
130 VolumeControlDevice* test_device_0 = devices_->FindByAddress(test_address_0); in TEST_F()
148 VolumeControlDevice* device = devices_->FindByAddress(test_address); in TEST_F()
178 VolumeControlDevice* device = devices_->FindByAddress(test_address); in TEST_F()
198 VolumeControlDevice* device = devices_->FindByAddress(test_address); in TEST_F()
218 device = new VolumeControlDevice(GetTestAddress(1), true); in SetUp()
329 VolumeControlDevice* device = nullptr;