Lines Matching refs:api_reg
651 if (p_data->api_reg.p_cback) in bta_hl_api_update()
653 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_update()
664 if (p_data->api_reg.p_cback) in bta_hl_api_update()
666 p_data->api_reg.p_cback(BTA_HL_SDP_INFO_IND_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_update()
690 if (!bta_hl_is_a_duplicate_id(p_data->api_reg.app_id)) in bta_hl_api_register()
696 p_acb->app_id = p_data->api_reg.app_id; in bta_hl_api_register()
697 p_acb->p_cback = p_data->api_reg.p_cback; in bta_hl_api_register()
698 p_acb->sec_mask = p_data->api_reg.sec_mask; in bta_hl_api_register()
699 p_acb->dev_type = p_data->api_reg.dev_type; in bta_hl_api_register()
700 strlcpy(p_acb->srv_name, p_data->api_reg.srv_name, BTA_SERVICE_NAME_LEN); in bta_hl_api_register()
701 strlcpy(p_acb->srv_desp, p_data->api_reg.srv_desp, BTA_SERVICE_DESP_LEN); in bta_hl_api_register()
702 strlcpy(p_acb->provider_name, p_data->api_reg.provider_name, BTA_PROVIDER_NAME_LEN); in bta_hl_api_register()
738 evt_data.reg_cfm.app_id = p_data->api_reg.app_id; in bta_hl_api_register()
741 if (p_data->api_reg.p_cback) in bta_hl_api_register()
743 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_register()
754 if (p_data->api_reg.p_cback) in bta_hl_api_register()
756 p_data->api_reg.p_cback(BTA_HL_SDP_INFO_IND_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_register()