/external/bluetooth/bluedroid/stack/mcap/ |
D | mca_api.c | 424 UINT16 mdl_id, UINT8 peer_dep_id, in MCA_CreateMdl() argument 432 …MCA_TRACE_API ("MCA_CreateMdl: %d dep=%d mdl_id=%d peer_dep_id=%d", mcl, dep, mdl_id, peer_dep_id); in MCA_CreateMdl() 441 if ((peer_dep_id > MCA_MAX_MDEP_ID) || (!MCA_IS_VALID_MDL_ID(mdl_id))) in MCA_CreateMdl() 443 MCA_TRACE_ERROR ("bad peer dep id:%d or bad mdl id: %d ", peer_dep_id, mdl_id); in MCA_CreateMdl() 447 if (mca_ccb_uses_mdl_id(p_ccb, mdl_id)) in MCA_CreateMdl() 449 MCA_TRACE_ERROR ("mdl id: %d is used in the control link", mdl_id); in MCA_CreateMdl() 459 p_dcb->mdl_id = mdl_id; in MCA_CreateMdl() 469 p_evt_data->mdl_id = mdl_id; in MCA_CreateMdl() 502 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code, in MCA_CreateMdlRsp() argument 510 …MCA_TRACE_API ("MCA_CreateMdlRsp: %d dep=%d mdl_id=%d cfg=%d rsp_code=%d", mcl, dep, mdl_id, cfg, … in MCA_CreateMdlRsp() [all …]
|
D | mca_cact.c | 111 p_msg->mdl_id = p_dcb->mdl_id; in mca_ccb_snd_req() 130 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_req() 179 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_rsp() 277 BE_STREAM_TO_UINT16 (evt_data.hdr.mdl_id, p); in mca_ccb_hdl_req() 280 MCA_TRACE_DEBUG ("received mdl id: %d ", evt_data.hdr.mdl_id); in mca_ccb_hdl_req() 342 evt_data.hdr.mdl_id = 0; in mca_ccb_hdl_req() 356 if (MCA_IS_VALID_MDL_ID(evt_data.hdr.mdl_id) || in mca_ccb_hdl_req() 357 … ((evt_data.hdr.mdl_id == MCA_ALL_MDL_ID) && (evt_data.hdr.op_code == MCA_OP_MDL_DELETE_REQ))) in mca_ccb_hdl_req() 372 else if (mca_ccb_uses_mdl_id(p_ccb, evt_data.hdr.mdl_id)) in mca_ccb_hdl_req() 375 mca_dcb_close_by_mdl_id(p_ccb, evt_data.hdr.mdl_id); in mca_ccb_hdl_req() [all …]
|
D | mca_dsm.c | 269 evt_data.close_cfm.mdl_id = p_dcb->mdl_id; in mca_dcb_dealloc() 323 void mca_dcb_close_by_mdl_id(tMCA_CCB*p_ccb, UINT16 mdl_id) in mca_dcb_close_by_mdl_id() argument 328 MCA_TRACE_DEBUG("mca_dcb_close_by_mdl_id mdl_id=%d", mdl_id); in mca_dcb_close_by_mdl_id() 335 if (p_dcb->mdl_id == mdl_id) in mca_dcb_close_by_mdl_id() 340 else if (mdl_id == MCA_ALL_MDL_ID) in mca_dcb_close_by_mdl_id()
|
D | mca_dact.c | 46 evt_data.cong_chg.mdl_id = p_dcb->mdl_id; in mca_dcb_report_cong() 71 evt_data.open_cfm.mdl_id = p_dcb->mdl_id; in mca_dcb_tc_open()
|
D | mca_int.h | 46 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member 112 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member 245 UINT16 mdl_id; /* the MDL ID for this data channel */ member 271 extern BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id); 292 extern void mca_dcb_close_by_mdl_id(tMCA_CCB*p_ccb, UINT16 mdl_id);
|
D | mca_csm.c | 367 BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id) in mca_ccb_uses_mdl_id() argument 377 if (p_dcb->state != MCA_DCB_NULL_ST && p_dcb->mdl_id == mdl_id) in mca_ccb_uses_mdl_id()
|
/external/bluetooth/bluedroid/stack/include/ |
D | mca_api.h | 129 UINT16 mdl_id; /* The associated MDL ID */ member 135 UINT16 mdl_id; /* The associated MDL ID */ member 142 UINT16 mdl_id; /* The associated MDL ID */ member 150 UINT16 mdl_id; /* The associated MDL ID */ member 170 UINT16 mdl_id; /* The associated MDL ID */ member 177 UINT16 mdl_id; /* The associated MDL ID */ member 184 UINT16 mdl_id; /* N/A - This is a place holder */ member 359 UINT16 mdl_id, UINT8 peer_dep_id, 377 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code, 407 UINT16 mdl_id, const tMCA_CHNL_CFG *p_chnl_cfg); [all …]
|
/external/bluetooth/bluedroid/bta/hl/ |
D | bta_hl_utils.c | 639 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.create_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 656 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 664 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 723 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.reconnect_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 732 bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->api_dch_create_rsp.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 739 … bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->mca_evt.mca_data.abort_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 746 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.abort_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes() 801 UINT16 mdl_id=0; in bta_hl_allocate_mdl_id() local 809 mdl_id = ((mdl_id+1) & 0xFEFF); in bta_hl_allocate_mdl_id() 815 (p_mcb->mdl[i].mdl_id == mdl_id) ) in bta_hl_allocate_mdl_id() [all …]
|
D | bta_hl_api.c | 360 p_buf->mdl_id = p_recon_param->mdl_id; in BTA_HlDchReconnect() 457 tBTA_HL_MDL_ID mdl_id ) in BTA_HlDeleteMdl() argument 465 p_buf->mdl_id = mdl_id; in BTA_HlDeleteMdl() 552 p_buf->mdl_id = p_rsp_param->mdl_id; in BTA_HlDchCreateRsp()
|
D | bta_hl_int.h | 312 tBTA_HL_MDL_ID mdl_id; member 325 tBTA_HL_MDL_ID mdl_id; member 401 tBTA_HL_MDL_ID mdl_id; member 453 UINT16 mdl_id; member 739 extern BOOLEAN bta_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, 760 tBTA_HL_MDL_ID mdl_id, UINT8 *p_mdl_cfg_idx); 765 tBTA_HL_MDL_ID mdl_id); 767 tBTA_HL_MDL_ID mdl_id); 768 extern BOOLEAN bta_hl_is_mdl_value_valid(tBTA_HL_MDL_ID mdl_id); 797 extern BOOLEAN bta_hl_is_cong_on(UINT8 app_id, BD_ADDR bd_addr, tBTA_HL_MDL_ID mdl_id); [all …]
|
D | bta_hl_main.c | 1022 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_open() 1223 p_dcb->mdl_id = p_data->api_dch_reconnect.mdl_id; in bta_hl_api_dch_reconnect() 1301 0,p_data->api_dch_reconnect.mdl_id,0,0,0, status); in bta_hl_api_dch_reconnect() 1361 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_echo_test() 1650 if (bta_hl_is_mdl_value_valid(p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl() 1655 p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl() 1660 p_mcb->delete_mdl.mdl_id = p_data->api_delete_mdl.mdl_id; in bta_hl_api_delete_mdl() 1664 p_data->api_delete_mdl.mdl_id)!= MCA_SUCCESS) in bta_hl_api_delete_mdl() 1704 p_data->api_delete_mdl.mdl_id, in bta_hl_api_delete_mdl() 1749 p_delete_cfm->mdl_id)) in bta_hl_mca_delete_mdl_cfm() [all …]
|
D | bta_hl_act.c | 95 p_cong_chg->mdl_id, in bta_hl_dch_mca_cong_change() 903 evt_data.dch_open_ind.mdl_id = p_dcb->mdl_id; in bta_hl_dch_mca_open_ind() 1027 p_dcb->mdl_id, dch_mode, in bta_hl_dch_mca_open_cfm() 1245 APPL_TRACE_DEBUG("bta_hl_dch_mca_reconnect_ind mdl_id=%d", p_reconnect_ind->mdl_id); in bta_hl_dch_mca_reconnect_ind() 1248 if (bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_reconnect_ind->mdl_id, &mdl_cfg_idx)) in bta_hl_dch_mca_reconnect_ind() 1250 if (!bta_hl_find_mdl_idx(app_idx,mcl_idx,p_reconnect_ind->mdl_id, &in_use_mdl_idx) ) in bta_hl_dch_mca_reconnect_ind() 1263 p_dcb->mdl_id = p_reconnect_ind->mdl_id; in bta_hl_dch_mca_reconnect_ind() 1289 p_dcb->mdl_id, in bta_hl_dch_mca_reconnect_ind() 1373 p_dcb->mdl_id, in bta_hl_dch_mca_reconnect() 1422 p_dcb->mdl_id, in bta_hl_dch_create_rsp() [all …]
|
/external/bluetooth/bluedroid/bta/include/ |
D | bta_hl_api.h | 265 tBTA_HL_MDL_ID mdl_id; member 273 tBTA_HL_MDL_ID mdl_id; member 332 tBTA_HL_MDL_ID mdl_id; member 352 tBTA_HL_MDL_ID mdl_id; member 493 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member 506 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member 521 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member 557 tBTA_HL_MDL_ID mdl_id; member 565 tBTA_HL_MDL_ID mdl_id; member 838 tBTA_HL_MDL_ID mdl_id );
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_hl.c | 370 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in btif_hl_find_mdl_idx() argument 380 (mdl_id !=0) && in btif_hl_find_mdl_idx() 381 (p_mcb->mdl[i].mdl_id== mdl_id)) in btif_hl_find_mdl_idx() 390 __FUNCTION__,found, mdl_id, i); in btif_hl_find_mdl_idx() 697 p_mdl->base.mdl_id && in btif_hl_is_reconnect_possible() 698 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible() 701 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode); in btif_hl_is_reconnect_possible() 707 *p_mdl_id = p_mdl->base.mdl_id; in btif_hl_is_reconnect_possible() 708 … BTIF_TRACE_DEBUG("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id ); in btif_hl_is_reconnect_possible() 732 *p_mdl_id = p_mdl1->base.mdl_id; in btif_hl_is_reconnect_possible() [all …]
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_hl_co.c | 225 p_mdl_cfg->mdl_id, in bta_hl_co_save_mdl() 296 … i, p->mdl_id, p->dch_mode, p->local_mdep_role, p->local_mdep_role, p->mtu); in bta_hl_co_load_mdl_config()
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_hl.h | 163 UINT16 mdl_id; member 221 UINT16 mdl_id; member
|