Home
last modified time | relevance | path

Searched refs:p_list (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/gatt/
Dgatt_api.c145 tGATT_HDL_LIST_ELEM *p_list=NULL; in GATTS_CreateService() local
163 if ((p_list = gatt_find_hdl_buffer_by_app_id(p_app_uuid128, p_svc_uuid, svc_inst)) != NULL) in GATTS_CreateService()
165 s_hdl = p_list->asgn_range.s_handle; in GATTS_CreateService()
180 p_list = p_list_info->p_first; in GATTS_CreateService()
182 if (p_list) in GATTS_CreateService()
184 s_hdl = p_list->asgn_range.e_handle + 1; in GATTS_CreateService()
202 if ( (p_list = gatt_alloc_hdl_buffer()) == NULL) in GATTS_CreateService()
209 p_list->asgn_range.app_uuid128 = *p_app_uuid128; in GATTS_CreateService()
210 p_list->asgn_range.svc_uuid = *p_svc_uuid; in GATTS_CreateService()
211 p_list->asgn_range.svc_inst = svc_inst; in GATTS_CreateService()
[all …]
Dgatt_utils.c334 tGATT_HDL_LIST_ELEM *p_list = NULL; in gatt_find_hdl_buffer_by_handle() local
336 p_list = p_list_info->p_first; in gatt_find_hdl_buffer_by_handle()
338 while (p_list != NULL) in gatt_find_hdl_buffer_by_handle()
340 if (p_list->in_use && p_list->asgn_range.s_handle == handle) in gatt_find_hdl_buffer_by_handle()
342 return(p_list); in gatt_find_hdl_buffer_by_handle()
344 p_list = p_list->p_next; in gatt_find_hdl_buffer_by_handle()
362 tGATT_HDL_LIST_ELEM *p_list = NULL; in gatt_find_hdl_buffer_by_app_id() local
364 p_list = p_list_info->p_first; in gatt_find_hdl_buffer_by_app_id()
366 while (p_list != NULL) in gatt_find_hdl_buffer_by_app_id()
368 if ( gatt_uuid_compare (*p_app_uuid128, p_list->asgn_range.app_uuid128) in gatt_find_hdl_buffer_by_app_id()
[all …]
Dgatt_int.h596 extern BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tB…
597 extern void gatt_update_last_pri_srv_info(tGATT_SRV_LIST_INFO *p_list);
598 extern BOOLEAN gatt_add_a_srv_to_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_new);
599 extern BOOLEAN gatt_remove_a_srv_from_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_remo…
600 extern BOOLEAN gatt_add_an_item_to_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_new);
601 extern BOOLEAN gatt_remove_an_item_from_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_re…
617 extern UINT8 gatt_sr_alloc_rcb(tGATT_HDL_LIST_ELEM *p_list);
Dgatt_sr.c513 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info; in gatt_build_primary_service_rsp() local
521 p_srv = p_list->p_first; in gatt_build_primary_service_rsp()
559 if (p_list->p_last_primary == p_srv && in gatt_build_primary_service_rsp()
560 p_list->p_last_primary == p_list->p_last) in gatt_build_primary_service_rsp()
814 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info; in gatts_process_find_info() local
832 p_srv = p_list->p_first; in gatts_process_find_info()
951 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info; in gatts_process_read_by_type_req() local
979 p_srv = p_list->p_first; in gatts_process_read_by_type_req()
/system/bt/bta/hl/
Dbta_hl_sdp.c39 tBTA_HL_SUP_FEATURE_LIST_ELEM *p_list) in bta_hl_fill_sup_feature_list() argument
60 p_list->list_elem[list_cnt].p_mdep_desp = NULL; in bta_hl_fill_sup_feature_list()
64 p_list->list_elem[list_cnt].mdep_id = p_sattr->attr_value.v.u8; in bta_hl_fill_sup_feature_list()
67 p_list->list_elem[list_cnt].data_type = p_sattr->attr_value.v.u16; in bta_hl_fill_sup_feature_list()
70p_list->list_elem[list_cnt].mdep_role = (tBTA_HL_MDEP_ROLE) p_sattr->attr_value.v.u8; in bta_hl_fill_sup_feature_list()
73p_list->list_elem[list_cnt].p_mdep_desp = (char *) p_sattr->attr_value.v.array; in bta_hl_fill_sup_feature_list()
81 p_list->num_elems = list_cnt; in bta_hl_fill_sup_feature_list()
Dbta_hl_int.h608 tBTA_HL_SUP_FEATURE_LIST_ELEM *p_list);