Home
last modified time | relevance | path

Searched refs:ccc_handle (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dstorage_helper.cc101 uint16_t ccc_handle = std::get<0>(pac_tuple).ccc_hdl; in serializePacs() local
104 UINT16_TO_STREAM(ptr, ccc_handle); in serializePacs()
108 handle, ccc_handle, static_cast<int>(pac_recs.size())); in serializePacs()
343 uint16_t ccc_handle; in DeserializeAses() local
348 STREAM_TO_UINT16(ccc_handle, ptr); in DeserializeAses()
352 leAudioDevice->ases_.emplace_back(handle, ccc_handle, direction, ase_id); in DeserializeAses()
360 handle, ccc_handle); in DeserializeAses()
Dclient.cc2517 uint16_t ccc_handle = handle_pair.ccc_hdl; in subscribe_for_notification() local
2530 address, conn_id, ccc_handle); in subscribe_for_notification()
2537 conn_id, ccc_handle, std::move(value), GATT_WRITE, in subscribe_for_notification()
2973 uint16_t ccc_handle = find_ccc_handle(charac); in OnServiceSearchComplete() local
2974 if (ccc_handle == 0) { in OnServiceSearchComplete()
2980 ccc_handle); in OnServiceSearchComplete()
2995 leAudioDevice->ases_.emplace_back(charac.value_handle, ccc_handle, in OnServiceSearchComplete()
3001 charac.value_handle, ccc_handle, direction, in OnServiceSearchComplete()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client.cc1741 uint16_t ccc_handle = in OnCsisServiceFound() local
1743 if (ccc_handle == GAP_INVALID_HANDLE) { in OnCsisServiceFound()
1749 csis_inst->svc_data.lock_handle.ccc_hdl = ccc_handle; in OnCsisServiceFound()
1752 charac.value_handle, ccc_handle); in OnCsisServiceFound()
1766 uint16_t ccc_handle = in OnCsisServiceFound() local
1768 csis_inst->svc_data.sirk_handle.ccc_hdl = ccc_handle; in OnCsisServiceFound()
1771 if (ccc_handle != GAP_INVALID_HANDLE) in OnCsisServiceFound()
1773 charac.value_handle, ccc_handle); in OnCsisServiceFound()
1782 uint16_t ccc_handle = in OnCsisServiceFound() local
1784 csis_inst->svc_data.size_handle.ccc_hdl = ccc_handle; in OnCsisServiceFound()
[all …]
Dcsis_types.h226 uint16_t FindValueHandleByCccHandle(uint16_t ccc_handle) { in FindValueHandleByCccHandle() argument
229 if (inst->svc_data.sirk_handle.ccc_hdl == ccc_handle) { in FindValueHandleByCccHandle()
231 } else if (inst->svc_data.lock_handle.ccc_hdl == ccc_handle) { in FindValueHandleByCccHandle()
233 } else if (inst->svc_data.size_handle.ccc_hdl == ccc_handle) { in FindValueHandleByCccHandle()
Dcsis_client_test.cc637 void TestGattWriteCCC(uint16_t ccc_handle, GattStatus status, in TestGattWriteCCC() argument
645 uint16_t ccc_handle) { in TestGattWriteCCC() argument
646 return [status, ccc_handle](uint16_t conn_id, uint16_t handle, in TestGattWriteCCC()
651 if (ccc_handle) { in TestGattWriteCCC()
652 handle = ccc_handle; in TestGattWriteCCC()
664 .WillOnce(Invoke(WriteDescriptorCbGenerator(status, ccc_handle))); in TestGattWriteCCC()
854 uint16_t ccc_handle = 0x0028; in TEST_F() local
855 TestGattWriteCCC(ccc_handle, GATT_DATABASE_OUT_OF_SYNC, 0); in TEST_F()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client.cc1609 uint16_t ccc_handle = in CacheAttributeHandles() local
1611 if (ccc_handle == GAP_INVALID_HANDLE) { in CacheAttributeHandles()
1615 device->active_preset_ccc_handle = ccc_handle; in CacheAttributeHandles()
1620 uint16_t ccc_handle = in CacheAttributeHandles() local
1622 if (ccc_handle == GAP_INVALID_HANDLE) { in CacheAttributeHandles()
1639 device->cp_ccc_handle = ccc_handle; in CacheAttributeHandles()
1644 uint16_t ccc_handle = in CacheAttributeHandles() local
1646 device->features_ccc_handle = ccc_handle; in CacheAttributeHandles()
2062 uint16_t ccc_handle, in SubscribeForNotifications() argument
2070 register_status, value_handle, ccc_handle); in SubscribeForNotifications()
[all …]
/packages/modules/Bluetooth/system/bta/vc/
Ddevice.cc233 uint16_t ccc_handle, in subscribe_for_notifications() argument
245 BtaGattQueue::WriteDescriptor(connection_id, ccc_handle, std::move(value), in subscribe_for_notifications()
Ddevices.h163 uint16_t ccc_handle, GATT_WRITE_OP_CB cb);
/packages/modules/Bluetooth/system/bta/ras/
Dras_client.cc469 uint16_t ccc_handle = FindCccHandle(characteristic); in SubscribeCharacteristic() local
470 if (ccc_handle == GAP_INVALID_HANDLE) { in SubscribeCharacteristic()
491 tracker->conn_id_, ccc_handle, value, GATT_AUTH_REQ_NONE, in SubscribeCharacteristic()