Home
last modified time | relevance | path

Searched refs:volume_state_handle (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/bt/bta/vc/
H A Ddevice.cc33 if (volume_state_handle != 0) in Disconnect()
35 volume_state_handle); in Disconnect()
97 volume_state_handle = state_handle; in set_volume_control_service_handles()
136 volume_state_handle = 0; in ResetHandles()
187 handles_pending.insert(volume_state_handle); in EnqueueInitialRequests()
189 if (!subscribe_for_notifications(gatt_if, volume_state_handle, in EnqueueInitialRequests()
194 BtaGattQueue::ReadCharacteristic(connection_id, volume_state_handle, in EnqueueInitialRequests()
H A Ddevices.h55 uint16_t volume_state_handle; variable
74 volume_state_handle(0), in VolumeControlDevice()
95 bool HasHandles(void) { return GATT_HANDLE_IS_VALID(volume_state_handle); } in HasHandles()
H A Ddevices_test.cc316 ASSERT_EQ(0x0000, device->volume_state_handle); in TEST_F()
326 ASSERT_NE(0, device->volume_state_handle); in TEST_F()
331 ASSERT_EQ(0, device->volume_state_handle); in TEST_F()
H A Dvc.cc239 if (handle == device->volume_state_handle) { in OnCharacteristicValueChanged()