Lines Matching refs:api_reg
638 if (p_data->api_reg.p_cback) { in bta_hl_api_update()
639 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL*)&evt_data); in bta_hl_api_update()
649 if (p_data->api_reg.p_cback) { in bta_hl_api_update()
650 p_data->api_reg.p_cback(BTA_HL_SDP_INFO_IND_EVT, (tBTA_HL*)&evt_data); in bta_hl_api_update()
672 if (!bta_hl_is_a_duplicate_id(p_data->api_reg.app_id)) { in bta_hl_api_register()
676 p_acb->app_id = p_data->api_reg.app_id; in bta_hl_api_register()
677 p_acb->p_cback = p_data->api_reg.p_cback; in bta_hl_api_register()
678 p_acb->sec_mask = p_data->api_reg.sec_mask; in bta_hl_api_register()
679 p_acb->dev_type = p_data->api_reg.dev_type; in bta_hl_api_register()
680 strlcpy(p_acb->srv_name, p_data->api_reg.srv_name, in bta_hl_api_register()
682 strlcpy(p_acb->srv_desp, p_data->api_reg.srv_desp, in bta_hl_api_register()
684 strlcpy(p_acb->provider_name, p_data->api_reg.provider_name, in bta_hl_api_register()
714 evt_data.reg_cfm.app_id = p_data->api_reg.app_id; in bta_hl_api_register()
717 if (p_data->api_reg.p_cback) { in bta_hl_api_register()
718 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL*)&evt_data); in bta_hl_api_register()
728 if (p_data->api_reg.p_cback) { in bta_hl_api_register()
729 p_data->api_reg.p_cback(BTA_HL_SDP_INFO_IND_EVT, (tBTA_HL*)&evt_data); in bta_hl_api_register()