Lines Matching refs:p_rec
134 static void bta_gattc_display_explore_record(tBTA_GATTC_ATTR_REC *p_rec, UINT8 num_rec) in bta_gattc_display_explore_record() argument
137 tBTA_GATTC_ATTR_REC *pp = p_rec; in bta_gattc_display_explore_record()
343 tBTA_GATTC_ATTR_REC *p_rec = NULL; in bta_gattc_get_disc_range() local
347 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_srvc_idx; in bta_gattc_get_disc_range()
348 *p_s_hdl = p_rec->s_handle; in bta_gattc_get_disc_range()
352 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_char_idx; in bta_gattc_get_disc_range()
353 *p_s_hdl = p_rec->s_handle + 1; in bta_gattc_get_disc_range()
356 *p_e_hdl = p_rec->e_handle; in bta_gattc_get_disc_range()
358 APPL_TRACE_DEBUG("discover range [%d ~ %d]",p_rec->s_handle, p_rec->e_handle); in bta_gattc_get_disc_range()
480 tBTA_GATTC_ATTR_REC *p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_srvc_idx; in bta_gattc_explore_srvc() local
497 p_rec->s_handle, in bta_gattc_explore_srvc()
498 p_rec->e_handle, in bta_gattc_explore_srvc()
499 &p_rec->uuid, in bta_gattc_explore_srvc()
500 p_rec->is_primary) == 0) in bta_gattc_explore_srvc()
549 tBTA_GATTC_ATTR_REC *p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_char_idx; in bta_gattc_char_disc_cmpl() local
556 p_rec->char_decl_handle, in bta_gattc_char_disc_cmpl()
557 p_rec->s_handle, in bta_gattc_char_disc_cmpl()
558 &p_rec->uuid, in bta_gattc_char_disc_cmpl()
559 p_rec->property); in bta_gattc_char_disc_cmpl()
582 tBTA_GATTC_ATTR_REC *p_rec = NULL; in bta_gattc_char_dscpt_disc_cmpl() local
586 p_rec = p_srvc_cb->p_srvc_list + (++ p_srvc_cb->cur_char_idx); in bta_gattc_char_dscpt_disc_cmpl()
589 p_rec->char_decl_handle, in bta_gattc_char_dscpt_disc_cmpl()
590 p_rec->s_handle, in bta_gattc_char_dscpt_disc_cmpl()
591 &p_rec->uuid, in bta_gattc_char_dscpt_disc_cmpl()
592 p_rec->property); in bta_gattc_char_dscpt_disc_cmpl()
611 tBTA_GATTC_ATTR_REC *p_rec = NULL; in bta_gattc_srvc_in_list() local
625 p_rec = p_srvc_cb->p_srvc_list + i; in bta_gattc_srvc_in_list()
628 if (p_rec->s_handle == s_handle || p_rec->e_handle == e_handle) in bta_gattc_srvc_in_list()
650 tBTA_GATTC_ATTR_REC *p_rec = NULL; in bta_gattc_add_srvc_to_list() local
655 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->next_avail_idx; in bta_gattc_add_srvc_to_list()
660 p_rec->s_handle = s_handle; in bta_gattc_add_srvc_to_list()
661 p_rec->e_handle = e_handle; in bta_gattc_add_srvc_to_list()
662 p_rec->is_primary = is_primary; in bta_gattc_add_srvc_to_list()
663 memcpy(&p_rec->uuid, &uuid, sizeof(tBT_UUID)); in bta_gattc_add_srvc_to_list()
689 tBTA_GATTC_ATTR_REC *p_rec = NULL; in bta_gattc_add_char_to_list() local
700 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->next_avail_idx; in bta_gattc_add_char_to_list()
704 p_rec->s_handle = value_handle; in bta_gattc_add_char_to_list()
705 p_rec->char_decl_handle = decl_handle; in bta_gattc_add_char_to_list()
706 p_rec->property = property; in bta_gattc_add_char_to_list()
707 p_rec->e_handle = (p_srvc_cb->p_srvc_list + p_srvc_cb->cur_srvc_idx)->e_handle; in bta_gattc_add_char_to_list()
708 memcpy(&p_rec->uuid, &uuid, sizeof(tBT_UUID)); in bta_gattc_add_char_to_list()
713 p_rec -= 1; in bta_gattc_add_char_to_list()
714 p_rec->e_handle = decl_handle - 1; in bta_gattc_add_char_to_list()