Home
last modified time | relevance | path

Searched refs:val_hdl (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dstorage_helper.cc98 uint16_t handle = std::get<0>(pac_tuple).val_hdl; in serializePacs()
195 STREAM_TO_UINT16(hdl_pair.val_hdl, ptr); in deserializePacs()
199 log::verbose("Handle: 0x{:04x}, ccc handle: 0x{:04x}, pac_count: {}", hdl_pair.val_hdl, in deserializePacs()
205 auto hdl = hdl_pair.val_hdl; in deserializePacs()
207 return std::get<0>(pac_ent).val_hdl == hdl; in deserializePacs()
278 ase.hdls.val_hdl, ase.hdls.ccc_hdl); in SerializeAses()
280 UINT16_TO_STREAM(ptr, ase.hdls.val_hdl); in SerializeAses()
355 if (leAudioDevice->ctp_hdls_.val_hdl == 0 || leAudioDevice->ctp_hdls_.ccc_hdl == 0) { in SerializeHandles()
360 UINT16_TO_STREAM(ptr, leAudioDevice->ctp_hdls_.val_hdl); in SerializeHandles()
364 ? leAudioDevice->audio_locations_.sink->handles.val_hdl in SerializeHandles()
[all …]
Dstate_machine_test.cc318 if (dev->ctp_hdls_.val_hdl == handle) { in SetUp()
664 leAudioDevice->audio_avail_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
666 leAudioDevice->audio_supp_cont_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
668 leAudioDevice->ctp_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
674 ase.hdls.val_hdl = attr_handle++; in PrepareConnectedDevice()
684 ase.hdls.val_hdl = attr_handle++; in PrepareConnectedDevice()
1093 handle_pair.val_hdl = pacs_attr_handle_next++; in DevicePacsInit()
1098 auto val_hdl = attr_handle++; in DevicePacsInit() local
1100 leAudioDevice->audio_locations_.sink.emplace(types::hdl_pair(val_hdl, ccc_hdl), in DevicePacsInit()
1117 handle_pair.val_hdl = pacs_attr_handle_next++; in DevicePacsInit()
[all …]
Dclient.cc663 leAudioDevice->ases_[i].hdls.val_hdl, OnGattReadRspStatic, in AseInitialStateReadRequest()
674 multi_read.handles[i % GATT_MAX_READ_MULTI_HANDLES] = leAudioDevice->ases_[i].hdls.val_hdl; in AseInitialStateReadRequest()
2192 std::get<0>(pac_tuple).val_hdl); in DeregisterNotifications()
2196 std::get<0>(pac_tuple).val_hdl); in DeregisterNotifications()
2201 leAudioDevice->audio_locations_.sink->handles.val_hdl); in DeregisterNotifications()
2205 leAudioDevice->audio_locations_.source->handles.val_hdl); in DeregisterNotifications()
2207 if (leAudioDevice->audio_avail_hdls_.val_hdl != 0) { in DeregisterNotifications()
2209 leAudioDevice->audio_avail_hdls_.val_hdl); in DeregisterNotifications()
2211 if (leAudioDevice->audio_supp_cont_hdls_.val_hdl != 0) { in DeregisterNotifications()
2213 leAudioDevice->audio_supp_cont_hdls_.val_hdl); in DeregisterNotifications()
[all …]
Dle_audio_types.h1103 hdl_pair(uint16_t val_hdl, uint16_t ccc_hdl) : val_hdl(val_hdl), ccc_hdl(ccc_hdl) {} in hdl_pair()
1105 uint16_t val_hdl = 0; member
1180 ase(uint16_t val_hdl, uint16_t ccc_hdl, uint8_t direction, uint8_t initial_id = kAseIdInvalid)
1181 : hdls(val_hdl, ccc_hdl), in hdls()
Ddevices.cc587 struct ase* LeAudioDevice::GetAseByValHandle(uint16_t val_hdl) { in GetAseByValHandle() argument
589 [&val_hdl](const auto& ase) { return ase.hdls.val_hdl == val_hdl; }); in GetAseByValHandle()
1025 stream << "\t • Value handle: " << loghex(std::get<0>(pac).val_hdl) in DumpPacsDebugState()
Ddevices.h151 struct types::ase* GetAseByValHandle(uint16_t val_hdl);
Dstate_machine.cc1160 BtaGattQueue::WriteCharacteristic(leAudioDevice->conn_id_, leAudioDevice->ctp_hdls_.val_hdl, in WriteToControlPoint()
Dle_audio_client_test.cc8584 InjectNotificationEvent(device->address_, device->conn_id_, ase.hdls.val_hdl, releasing_state); in TEST_F()
9572 InjectNotificationEvent(device->address_, device->conn_id_, ase.hdls.val_hdl, releasing_state); in TEST_F()
9670 InjectNotificationEvent(device->address_, device->conn_id_, ase.hdls.val_hdl, releasing_state); in TEST_F()
9770 InjectNotificationEvent(device->address_, device->conn_id_, ase.hdls.val_hdl, releasing_state); in TEST_F()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_types.h62 hdl_pair(uint16_t val_hdl, uint16_t ccc_hdl) : val_hdl(val_hdl), ccc_hdl(ccc_hdl) {} in hdl_pair()
64 uint16_t val_hdl; member
220 val_handle = inst->svc_data.sirk_handle.val_hdl; in FindValueHandleByCccHandle()
222 val_handle = inst->svc_data.lock_handle.val_hdl; in FindValueHandleByCccHandle()
224 val_handle = inst->svc_data.size_handle.val_hdl; in FindValueHandleByCccHandle()
Dcsis_client.cc455 csis_instance->svc_data.lock_handle.val_hdl); in SetLock()
458 device->conn_id, csis_instance->svc_data.lock_handle.val_hdl, value, GATT_WRITE, in SetLock()
986 if (handle == csis_instance->svc_data.sirk_handle.val_hdl) { in OnCsisNotification()
988 } else if (handle == csis_instance->svc_data.lock_handle.val_hdl) { in OnCsisNotification()
990 } else if (handle == csis_instance->svc_data.size_handle.val_hdl) { in OnCsisNotification()
1669 csis_inst->svc_data.lock_handle.val_hdl); in DeregisterNotifications()
1671 csis_inst->svc_data.sirk_handle.val_hdl); in DeregisterNotifications()
1673 csis_inst->svc_data.size_handle.val_hdl); in DeregisterNotifications()
1714 csis_inst->svc_data.lock_handle.val_hdl = charac.value_handle; in OnCsisServiceFound()
1720 csis_inst->svc_data.lock_handle.val_hdl, csis_inst->svc_data.lock_handle.ccc_hdl, in OnCsisServiceFound()
[all …]