Lines Matching refs:app_info
67 static tBTA_HD_APP_INFO app_info; variable
108 if (app_info.descriptor.dsc_list) osi_free(app_info.descriptor.dsc_list); in btif_hd_free_buf()
109 if (app_info.p_description) osi_free(app_info.p_description); in btif_hd_free_buf()
110 if (app_info.p_name) osi_free(app_info.p_name); in btif_hd_free_buf()
111 if (app_info.p_provider) osi_free(app_info.p_provider); in btif_hd_free_buf()
112 app_info.descriptor.dsc_list = NULL; in btif_hd_free_buf()
113 app_info.p_description = NULL; in btif_hd_free_buf()
114 app_info.p_name = NULL; in btif_hd_free_buf()
115 app_info.p_provider = NULL; in btif_hd_free_buf()
154 BTA_HdRegisterApp(&app_info, &in_qos, &out_qos); in btif_hd_upstreams_evt()
406 app_info.p_name = (char*)osi_calloc(BTIF_HD_APP_NAME_LEN); in register_app()
407 strlcpy(app_info.p_name, p_app_param->name, BTIF_HD_APP_NAME_LEN); in register_app()
408 app_info.p_description = (char*)osi_calloc(BTIF_HD_APP_DESCRIPTION_LEN); in register_app()
409 strlcpy(app_info.p_description, p_app_param->description, in register_app()
411 app_info.p_provider = (char*)osi_calloc(BTIF_HD_APP_PROVIDER_LEN); in register_app()
412 strlcpy(app_info.p_provider, p_app_param->provider, BTIF_HD_APP_PROVIDER_LEN); in register_app()
413 app_info.subclass = p_app_param->subclass; in register_app()
414 app_info.descriptor.dl_len = p_app_param->desc_list_len; in register_app()
415 app_info.descriptor.dsc_list = in register_app()
416 (uint8_t*)osi_malloc(app_info.descriptor.dl_len); in register_app()
417 memcpy(app_info.descriptor.dsc_list, p_app_param->desc_list, in register_app()