Lines Matching refs:p_acb
605 tBTA_HL_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR(0);
621 evt_data.dereg_cfm.app_handle = p_acb->app_handle;
622 if (p_acb->p_cback)
624 p_acb->p_cback(BTA_HL_DEREGISTER_CFM_EVT, (tBTA_HL *) &evt_data);
636 if (p_acb)
637 memset(p_acb, 0, sizeof(tBTA_HL_APP_CB));
651 evt_data.reg_cfm.app_handle = p_acb->app_handle;
659 evt_data.sdp_info_ind.app_handle = p_acb->app_handle;
660 evt_data.sdp_info_ind.ctrl_psm = p_acb->ctrl_psm;
661 evt_data.sdp_info_ind.data_psm = p_acb->data_psm;
685 tBTA_HL_APP_CB *p_acb = NULL;
695 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
696 p_acb->in_use = TRUE;
697 p_acb->app_id = p_data->api_reg.app_id;
698 p_acb->p_cback = p_data->api_reg.p_cback;
699 p_acb->sec_mask = p_data->api_reg.sec_mask;
700 p_acb->dev_type = p_data->api_reg.dev_type;
701 BCM_STRNCPY_S(p_acb->srv_name, sizeof(p_acb->srv_name), p_data->api_reg.srv_name, BTA_SERVICE_NAME_LEN);
702 BCM_STRNCPY_S(p_acb->srv_desp, sizeof(p_acb->srv_desp), p_data->api_reg.srv_desp, BTA_SERVICE_DESP_LEN);
703 BCM_STRNCPY_S(p_acb->provider_name, sizeof(p_acb->provider_name), p_data->api_reg.provider_name, BTA_PROVIDER_NAME_LEN);
705 p_acb->ctrl_psm = bta_hl_cb.p_alloc_psm();
706 p_acb->data_psm = bta_hl_cb.p_alloc_psm();
707 p_acb->p_mcap_cback = bta_hl_mcap_ctrl_cback;
726 if (p_acb)
727 memset(p_acb, 0, sizeof(tBTA_HL_APP_CB));
741 evt_data.reg_cfm.app_handle = p_acb->app_handle;
749 evt_data.sdp_info_ind.app_handle = p_acb->app_handle;
750 evt_data.sdp_info_ind.ctrl_psm = p_acb->ctrl_psm;
751 evt_data.sdp_info_ind.data_psm = p_acb->data_psm;
775 tBTA_HL_APP_CB *p_acb;
779 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
780 p_acb->deregistering= TRUE;
803 tBTA_HL_APP_CB *p_acb;
830 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
832 if (p_acb->p_cback)
839 p_acb->p_cback(BTA_HL_CCH_OPEN_CFM_EVT,(tBTA_HL *) &evt_data );
866 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
867 if (p_acb->p_cback)
874 p_acb->p_cback(BTA_HL_CCH_OPEN_CFM_EVT,(tBTA_HL *) &evt_data );
901 tBTA_HL_APP_CB *p_acb;
926 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
927 if (p_acb->p_cback)
930 p_acb->app_handle,
933 p_acb->p_cback(BTA_HL_CCH_CLOSE_CFM_EVT,(tBTA_HL *) &evt_data );
963 tBTA_HL_APP_CB *p_acb;
971 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
984 (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK))
1079 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1080 if (p_acb->p_cback)
1083 p_acb->app_handle,
1087 p_acb->p_cback(BTA_HL_DCH_OPEN_CFM_EVT,(tBTA_HL *) &evt_data );
1116 tBTA_HL_APP_CB *p_acb;
1147 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1148 if (p_acb->p_cback)
1152 p_acb->app_handle,
1157 p_acb->p_cback(BTA_HL_DCH_CLOSE_CFM_EVT,(tBTA_HL *) &evt_data );
1185 tBTA_HL_APP_CB *p_acb;
1194 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1205 (p_acb->mdl_cfg[mdl_cfg_idx].dch_mode != BTA_HL_DCH_MODE_RELIABLE))
1216 p_dcb->local_mdep_id = p_acb->mdl_cfg[mdl_cfg_idx].local_mdep_id;
1222 p_dcb->dch_mode = p_acb->mdl_cfg[mdl_cfg_idx].dch_mode;
1290 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1291 if (p_acb->p_cback)
1294 p_acb->app_handle,
1298 p_acb->p_cback(BTA_HL_DCH_RECONNECT_CFM_EVT,(tBTA_HL *) &evt_data );
1325 tBTA_HL_APP_CB *p_acb;
1333 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1422 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1423 if (p_acb->p_cback)
1426 p_acb->app_handle,
1429 p_acb->p_cback(BTA_HL_DCH_ECHO_TEST_CFM_EVT,(tBTA_HL *) &evt_data );
1458 tBTA_HL_APP_CB *p_acb;
1519 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1520 if (p_acb->p_cback)
1528 p_acb->p_cback(BTA_HL_SDP_QUERY_CFM_EVT,(tBTA_HL *) &evt_data );
1561 tBTA_HL_APP_CB *p_acb = BTA_HL_GET_APP_CB_PTR( app_idx);
1596 bta_hl_build_sdp_query_cfm(&evt_data,p_mcb->app_id, p_acb->app_handle,
1598 p_acb->p_cback(BTA_HL_SDP_QUERY_CFM_EVT,(tBTA_HL *) &evt_data );
1639 tBTA_HL_APP_CB *p_acb;
1692 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1693 if (p_acb->p_cback)
1696 p_acb->app_handle,
1700 p_acb->p_cback(BTA_HL_DELETE_MDL_CFM_EVT,(tBTA_HL *) &evt_data );
1730 tBTA_HL_APP_CB *p_acb;
1773 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1774 if (p_acb->p_cback)
1777 p_acb->app_handle,
1782 p_acb->p_cback(BTA_HL_DELETE_MDL_CFM_EVT,(tBTA_HL *) &evt_data );
1809 tBTA_HL_APP_CB *p_acb;
1837 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1838 if (p_acb->p_cback)
1841 evt_data.delete_mdl_ind.app_handle = p_acb->app_handle;
1843 p_acb->p_cback(BTA_HL_DELETE_MDL_IND_EVT,(tBTA_HL *) &evt_data );
1868 tBTA_HL_APP_CB *p_acb;
1916 p_acb = BTA_HL_GET_APP_CB_PTR(app_idx);
1917 if (p_acb->p_cback)
1924 p_acb->app_handle,
1927 p_acb->p_cback(BTA_HL_DCH_ABORT_CFM_EVT,(tBTA_HL *) &evt_data);