Lines Matching refs:app_info
64 static tBTA_HD_APP_INFO app_info; variable
105 if (app_info.descriptor.dsc_list) osi_free(app_info.descriptor.dsc_list); in btif_hd_free_buf()
106 if (app_info.p_description) osi_free(app_info.p_description); in btif_hd_free_buf()
107 if (app_info.p_name) osi_free(app_info.p_name); in btif_hd_free_buf()
108 if (app_info.p_provider) osi_free(app_info.p_provider); in btif_hd_free_buf()
109 app_info.descriptor.dsc_list = NULL; in btif_hd_free_buf()
110 app_info.p_description = NULL; in btif_hd_free_buf()
111 app_info.p_name = NULL; in btif_hd_free_buf()
112 app_info.p_provider = NULL; in btif_hd_free_buf()
151 BTA_HdRegisterApp(&app_info, &in_qos, &out_qos); in btif_hd_upstreams_evt()
403 app_info.p_name = (char*)osi_calloc(BTIF_HD_APP_NAME_LEN); in register_app()
404 strlcpy(app_info.p_name, p_app_param->name, BTIF_HD_APP_NAME_LEN); in register_app()
405 app_info.p_description = (char*)osi_calloc(BTIF_HD_APP_DESCRIPTION_LEN); in register_app()
406 strlcpy(app_info.p_description, p_app_param->description, in register_app()
408 app_info.p_provider = (char*)osi_calloc(BTIF_HD_APP_PROVIDER_LEN); in register_app()
409 strlcpy(app_info.p_provider, p_app_param->provider, BTIF_HD_APP_PROVIDER_LEN); in register_app()
410 app_info.subclass = p_app_param->subclass; in register_app()
411 app_info.descriptor.dl_len = p_app_param->desc_list_len; in register_app()
412 app_info.descriptor.dsc_list = in register_app()
413 (uint8_t*)osi_malloc(app_info.descriptor.dl_len); in register_app()
414 memcpy(app_info.descriptor.dsc_list, p_app_param->desc_list, in register_app()