Lines Matching refs:p_attr
86 tBTA_GATTC_CACHE_ATTR *p_attr = data; in display_cache_attribute() local
88 p_attr->handle, p_attr->uuid.uu.uuid16, in display_cache_attribute()
89 bta_gattc_attr_type[p_attr->attr_type], p_attr->property); in display_cache_attribute()
1126 void bta_gattc_fill_gatt_db_el(btgatt_db_element_t *p_attr, in bta_gattc_fill_gatt_db_el() argument
1132 p_attr->type = type; in bta_gattc_fill_gatt_db_el()
1133 p_attr->attribute_handle = att_handle; in bta_gattc_fill_gatt_db_el()
1134 p_attr->start_handle = s_handle; in bta_gattc_fill_gatt_db_el()
1135 p_attr->end_handle = e_handle; in bta_gattc_fill_gatt_db_el()
1136 p_attr->id = id; in bta_gattc_fill_gatt_db_el()
1137 p_attr->properties = prop; in bta_gattc_fill_gatt_db_el()
1138 bta_to_btif_uuid(&p_attr->uuid, &uuid); in bta_gattc_fill_gatt_db_el()
1347 tBTA_GATTC_NV_ATTR *p_attr) in bta_gattc_rebuild_cache() argument
1355 while (num_attr > 0 && p_attr != NULL) in bta_gattc_rebuild_cache()
1357 switch (p_attr->attr_type) in bta_gattc_rebuild_cache()
1361 p_attr->s_handle, in bta_gattc_rebuild_cache()
1362 p_attr->e_handle, in bta_gattc_rebuild_cache()
1363 &p_attr->uuid, in bta_gattc_rebuild_cache()
1364 p_attr->is_primary); in bta_gattc_rebuild_cache()
1370 p_attr->s_handle, in bta_gattc_rebuild_cache()
1371 p_attr->s_handle, in bta_gattc_rebuild_cache()
1372 &p_attr->uuid, in bta_gattc_rebuild_cache()
1373 p_attr->prop); in bta_gattc_rebuild_cache()
1379 p_attr->s_handle, in bta_gattc_rebuild_cache()
1380 &p_attr->uuid, in bta_gattc_rebuild_cache()
1381 p_attr->prop, in bta_gattc_rebuild_cache()
1382 p_attr->incl_srvc_handle, in bta_gattc_rebuild_cache()
1383 p_attr->attr_type); in bta_gattc_rebuild_cache()
1386 p_attr ++; in bta_gattc_rebuild_cache()
1400 void bta_gattc_fill_nv_attr(tBTA_GATTC_NV_ATTR *p_attr, UINT8 type, UINT16 s_handle, in bta_gattc_fill_nv_attr() argument
1404 p_attr->s_handle = s_handle; in bta_gattc_fill_nv_attr()
1405 p_attr->e_handle = e_handle; in bta_gattc_fill_nv_attr()
1406 p_attr->attr_type = type; in bta_gattc_fill_nv_attr()
1407 p_attr->is_primary = is_primary; in bta_gattc_fill_nv_attr()
1408 p_attr->id = 0; in bta_gattc_fill_nv_attr()
1409 p_attr->prop = prop; in bta_gattc_fill_nv_attr()
1410 p_attr->incl_srvc_handle = incl_srvc_handle; in bta_gattc_fill_nv_attr()
1412 memcpy(&p_attr->uuid, &uuid, sizeof(tBT_UUID)); in bta_gattc_fill_nv_attr()