Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Dbta_gattc_cache.cc558 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_characteristic_srcb() local
559 if (handle == charac.value_handle) return &charac; in bta_gattc_get_characteristic_srcb()
584 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_descriptor_srcb() local
585 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_descriptor_srcb()
609 for (const Characteristic& charac : service->characteristics) { in bta_gattc_get_owning_characteristic_srcb() local
610 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_owning_characteristic_srcb()
611 if (handle == desc.handle) return &charac; in bta_gattc_get_owning_characteristic_srcb()
789 for (const Characteristic& charac : service.characteristics) { in bta_gattc_get_db_size() local
792 db_size += charac.descriptors.size(); in bta_gattc_get_db_size()
849 for (const Characteristic& charac : service.characteristics) { in bta_gattc_get_gatt_db_impl() local
[all …]
Ddatabase.cc112 for (const Characteristic& charac : service.characteristics) { in Serialize() local
114 {charac.declaration_handle, in Serialize()
116 {.characteristic = {.properties = charac.properties, in Serialize()
117 .value_handle = charac.value_handle, in Serialize()
118 .uuid = charac.uuid}}}); in Serialize()
120 for (const Descriptor& desc : charac.descriptors) { in Serialize()
/system/bt/bta/hh/
Dbta_hh_le.cc1362 for (const gatt::Characteristic& charac : service->characteristics) { in bta_hh_le_search_hid_chars() local
1363 if (!charac.uuid.Is16Bit()) continue; in bta_hh_le_search_hid_chars()
1365 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars()
1367 charac.uuid.ToString().c_str()); in bta_hh_le_search_hid_chars()
1371 p_dev_cb->hid_srvc.control_point_handle = charac.value_handle; in bta_hh_le_search_hid_chars()
1375 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1380 BtaGattQueue::ReadCharacteristic(p_dev_cb->conn_id, charac.value_handle, in bta_hh_le_search_hid_chars()
1383 bta_hh_le_read_char_descriptor(p_dev_cb, charac.value_handle, in bta_hh_le_search_hid_chars()
1391 charac.value_handle); in bta_hh_le_search_hid_chars()
1399 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.cc645 for (const gatt::Characteristic& charac : service->characteristics) { in OnServiceSearchComplete() local
646 if (charac.uuid == READ_ONLY_PROPERTIES_UUID) { in OnServiceSearchComplete()
652 << loghex(charac.value_handle); in OnServiceSearchComplete()
654 conn_id, charac.value_handle, in OnServiceSearchComplete()
657 } else if (charac.uuid == AUDIO_CONTROL_POINT_UUID) { in OnServiceSearchComplete()
658 hearingDevice->audio_control_point_handle = charac.value_handle; in OnServiceSearchComplete()
660 } else if (charac.uuid == AUDIO_STATUS_UUID) { in OnServiceSearchComplete()
661 hearingDevice->audio_status_handle = charac.value_handle; in OnServiceSearchComplete()
664 find_ccc_handle(conn_id, charac.value_handle); in OnServiceSearchComplete()
671 << ": audio_status_handle=" << loghex(charac.value_handle) in OnServiceSearchComplete()
[all …]