Searched refs:volume_state_handle (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/bta/vc/ |
D | device.cc | 37 if (volume_state_handle != 0) in DeregisterNotifications() 38 BTA_GATTC_DeregisterForNotifications(gatt_if, address, volume_state_handle); in DeregisterNotifications() 111 volume_state_handle = state_handle; in set_volume_control_service_handles() 210 volume_state_handle = 0; in ResetHandles() 263 handles_pending.insert(volume_state_handle); in EnqueueInitialRequests() 265 if (!subscribe_for_notifications(gatt_if, volume_state_handle, in EnqueueInitialRequests() 282 BtaGattQueue::ReadCharacteristic(connection_id, volume_state_handle, in EnqueueInitialRequests()
|
D | devices.h | 52 uint16_t volume_state_handle; variable 73 volume_state_handle(0), in VolumeControlDevice() 124 bool HasHandles(void) { return GATT_HANDLE_IS_VALID(volume_state_handle); } in HasHandles()
|
D | devices_test.cc | 353 ASSERT_EQ(0x0000, device->volume_state_handle); in TEST_F() 390 ASSERT_EQ(0x0004, device->volume_state_handle); in TEST_F() 453 ASSERT_NE(0, device->volume_state_handle); in TEST_F() 459 ASSERT_EQ(0, device->volume_state_handle); in TEST_F()
|
D | vc.cc | 323 if (handle == device->volume_state_handle) { in OnCharacteristicValueChanged()
|