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.cc1403 for (const gatt::Characteristic& charac : service->characteristics) { in bta_hh_le_search_hid_chars() local
1404 if (!charac.uuid.Is16Bit()) continue; in bta_hh_le_search_hid_chars()
1406 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars()
1408 charac.uuid.ToString().c_str()); in bta_hh_le_search_hid_chars()
1412 p_dev_cb->hid_srvc.control_point_handle = charac.value_handle; in bta_hh_le_search_hid_chars()
1416 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1421 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1424 bta_hh_le_read_char_descriptor(p_dev_cb, charac.value_handle, in bta_hh_le_search_hid_chars()
1432 charac.value_handle); in bta_hh_le_search_hid_chars()
1440 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.cc641 for (const gatt::Characteristic& charac : service->characteristics) { in OnServiceSearchComplete() local
642 if (charac.uuid == READ_ONLY_PROPERTIES_UUID) { in OnServiceSearchComplete()
648 << loghex(charac.value_handle); in OnServiceSearchComplete()
650 conn_id, charac.value_handle, in OnServiceSearchComplete()
653 } else if (charac.uuid == AUDIO_CONTROL_POINT_UUID) { in OnServiceSearchComplete()
654 hearingDevice->audio_control_point_handle = charac.value_handle; in OnServiceSearchComplete()
656 } else if (charac.uuid == AUDIO_STATUS_UUID) { in OnServiceSearchComplete()
657 hearingDevice->audio_status_handle = charac.value_handle; in OnServiceSearchComplete()
660 find_ccc_handle(conn_id, charac.value_handle); in OnServiceSearchComplete()
667 << ": audio_status_handle=" << loghex(charac.value_handle) in OnServiceSearchComplete()
[all …]