Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Ddatabase.cc104 for (const Characteristic& charac : service.characteristics) { in Serialize() local
106 {charac.declaration_handle, in Serialize()
108 {.characteristic = {.properties = charac.properties, in Serialize()
109 .value_handle = charac.value_handle, in Serialize()
110 .uuid = charac.uuid}}}); in Serialize()
112 for (const Descriptor& desc : charac.descriptors) { in Serialize()
Dbta_gattc_cache.cc460 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_characteristic_srcb() local
461 if (handle == charac.value_handle) return &charac; in bta_gattc_get_characteristic_srcb()
486 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_descriptor_srcb() local
487 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_descriptor_srcb()
511 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_owning_characteristic_srcb() local
512 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_owning_characteristic_srcb()
513 if (handle == desc.handle) return &charac; in bta_gattc_get_owning_characteristic_srcb()
572 for (const Characteristic& charac : service.characteristics) { in bta_gattc_get_db_size() local
575 db_size += charac.descriptors.size(); in bta_gattc_get_db_size()
632 for (const Characteristic& charac : service.characteristics) { in bta_gattc_get_gatt_db_impl() local
[all …]
/system/bt/bta/hh/
Dbta_hh_le.cc1400 for (const gatt::Characteristic& charac : service->characteristics) { in bta_hh_le_search_hid_chars() local
1401 if (!charac.uuid.Is16Bit()) continue; in bta_hh_le_search_hid_chars()
1403 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars()
1405 charac.uuid.ToString().c_str()); in bta_hh_le_search_hid_chars()
1409 p_dev_cb->hid_srvc.control_point_handle = charac.value_handle; in bta_hh_le_search_hid_chars()
1413 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1418 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1421 bta_hh_le_read_char_descriptor(p_dev_cb, charac.value_handle, in bta_hh_le_search_hid_chars()
1429 charac.value_handle); in bta_hh_le_search_hid_chars()
1437 bta_hh_le_read_char_descriptor(p_dev_cb, charac.value_handle, in bta_hh_le_search_hid_chars()
[all …]
/system/bt/bta/hearing_aid/
Dhearing_aid.cc648 for (const gatt::Characteristic& charac : service->characteristics) { in OnServiceSearchComplete() local
649 if (charac.uuid == READ_ONLY_PROPERTIES_UUID) { in OnServiceSearchComplete()
655 << loghex(charac.value_handle); in OnServiceSearchComplete()
657 conn_id, charac.value_handle, in OnServiceSearchComplete()
660 } else if (charac.uuid == AUDIO_CONTROL_POINT_UUID) { in OnServiceSearchComplete()
661 hearingDevice->audio_control_point_handle = charac.value_handle; in OnServiceSearchComplete()
663 } else if (charac.uuid == AUDIO_STATUS_UUID) { in OnServiceSearchComplete()
664 hearingDevice->audio_status_handle = charac.value_handle; in OnServiceSearchComplete()
667 find_ccc_handle(conn_id, charac.value_handle); in OnServiceSearchComplete()
674 << ": audio_status_handle=" << loghex(charac.value_handle) in OnServiceSearchComplete()
[all …]