Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_cache.c176 if (p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_init_cache()
177 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_init_cache()
178 p_srvc_cb->p_srvc_cache = NULL; in bta_gattc_init_cache()
284 if (p_srvc_cb->p_srvc_cache == NULL) { in bta_gattc_add_srvc_to_cache()
285 p_srvc_cb->p_srvc_cache = list_new(service_free); in bta_gattc_add_srvc_to_cache()
288 if(!p_srvc_cb->p_srvc_cache) { in bta_gattc_add_srvc_to_cache()
295 list_append(p_srvc_cb->p_srvc_cache, p_new_srvc); in bta_gattc_add_srvc_to_cache()
298 bta_gattc_insert_sec_service_to_cache(p_srvc_cb->p_srvc_cache, p_new_srvc); in bta_gattc_add_srvc_to_cache()
315 …tBTA_GATTC_SERVICE *service = bta_gattc_find_matching_service(p_srvc_cb->p_srvc_cache, attr_handle… in bta_gattc_add_char_to_cache()
366 tBTA_GATTC_SERVICE *service = bta_gattc_find_matching_service(p_srvc_cb->p_srvc_cache, handle); in bta_gattc_add_attr_to_cache()
[all …]
Dbta_gattc_utils.c304 if (p_srcb->p_srvc_cache) { in bta_gattc_clcb_dealloc()
305 list_free(p_srcb->p_srvc_cache); in bta_gattc_clcb_dealloc()
306 p_srcb->p_srvc_cache = NULL; in bta_gattc_clcb_dealloc()
437 if (p_tcb->p_srvc_cache != NULL) { in bta_gattc_srcb_alloc()
438 list_free(p_tcb->p_srvc_cache); in bta_gattc_srcb_alloc()
439 p_tcb->p_srvc_cache = NULL; in bta_gattc_srcb_alloc()
Dbta_gattc_act.c724 if (p_clcb->p_srcb->p_srvc_cache == NULL || in bta_gattc_conn()
1091 if (p_clcb->p_srcb && p_clcb->p_srcb->p_srvc_cache) { in bta_gattc_disc_cmpl()
1092 list_free(p_clcb->p_srcb->p_srvc_cache); in bta_gattc_disc_cmpl()
1093 p_clcb->p_srcb->p_srvc_cache = NULL; in bta_gattc_disc_cmpl()
1586 if (p_clcb->p_srcb && p_clcb->p_srcb->p_srvc_cache) { in bta_gattc_search()
1868 if (p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_process_api_refresh()
1869 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_process_api_refresh()
1870 p_srvc_cb->p_srvc_cache = NULL; in bta_gattc_process_api_refresh()
1968 if (p_srvc_cb != NULL && p_srvc_cb->p_srvc_cache != NULL) { in bta_gattc_process_api_cache_clean()
1970 list_free(p_srvc_cb->p_srvc_cache); in bta_gattc_process_api_cache_clean()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gattc_int.h326 list_t *p_srvc_cache; /* list of tBTA_GATTC_SERVICE */ member