Lines Matching refs:p_app_param
391 static bt_status_t register_app(bthd_app_param_t* p_app_param, in register_app() argument
401 if (strlen(p_app_param->name) >= BTIF_HD_APP_NAME_LEN || in register_app()
402 strlen(p_app_param->description) >= BTIF_HD_APP_DESCRIPTION_LEN || in register_app()
403 strlen(p_app_param->provider) >= BTIF_HD_APP_PROVIDER_LEN) { in register_app()
407 strlcpy(app_info.p_name, p_app_param->name, BTIF_HD_APP_NAME_LEN); in register_app()
409 strlcpy(app_info.p_description, p_app_param->description, 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()
417 memcpy(app_info.descriptor.dsc_list, p_app_param->desc_list, in register_app()
418 p_app_param->desc_list_len); in register_app()