Searched refs:p_new_srvc (Results 1 – 1 of 1) sorted by relevance
217 void bta_gattc_insert_sec_service_to_cache(list_t *services, tBTA_GATTC_SERVICE *p_new_srvc) in bta_gattc_insert_sec_service_to_cache() argument220 if (!services || !p_new_srvc) { in bta_gattc_insert_sec_service_to_cache()226 list_append(services, p_new_srvc); in bta_gattc_insert_sec_service_to_cache()231 if(service && p_new_srvc->e_handle < service->s_handle) { in bta_gattc_insert_sec_service_to_cache()232 list_prepend(services, p_new_srvc); in bta_gattc_insert_sec_service_to_cache()237 list_append(services, p_new_srvc); in bta_gattc_insert_sec_service_to_cache()242 … if (p_new_srvc->s_handle > service->e_handle && p_new_srvc->e_handle < next_service->s_handle) { in bta_gattc_insert_sec_service_to_cache()243 list_insert_after(services, sn, p_new_srvc); in bta_gattc_insert_sec_service_to_cache()269 tBTA_GATTC_SERVICE *p_new_srvc = osi_malloc(sizeof(tBTA_GATTC_SERVICE)); in bta_gattc_add_srvc_to_cache() local270 if (!p_new_srvc) { in bta_gattc_add_srvc_to_cache()[all …]