Home
last modified time | relevance | path

Searched refs:p_mdl (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/hl/
Dbta_hl_utils.c1267 tBTA_HL_MDL_CFG *p_mdl; in bta_hl_find_non_active_mdl_cfg() local
1275 p_mdl = BTA_HL_GET_MDL_CFG_PTR(app_idx, i); in bta_hl_find_non_active_mdl_cfg()
1280 !memcmp(p_mdl->peer_bd_addr,p_mcb->bd_addr,BD_ADDR_LEN)) in bta_hl_find_non_active_mdl_cfg()
1287 if (p_dcb->in_use && p_mdl->mdl_id == p_dcb->mdl_id) in bta_hl_find_non_active_mdl_cfg()
1325 tBTA_HL_MDL_CFG *p_mdl, *p_mdl1, *p_mdl2; in bta_hl_find_avail_mdl_cfg_idx() local
1334 p_mdl = BTA_HL_GET_MDL_CFG_PTR(app_idx, i); in bta_hl_find_avail_mdl_cfg_idx()
1335 if (!p_mdl->active ) in bta_hl_find_avail_mdl_cfg_idx()
1421 tBTA_HL_MDL_CFG *p_mdl; in bta_hl_find_mdl_cfg_idx() local
1428 p_mdl = BTA_HL_GET_MDL_CFG_PTR(app_idx, i); in bta_hl_find_mdl_cfg_idx()
1429 if(p_mdl->active) in bta_hl_find_mdl_cfg_idx()
[all …]
/system/bt/btif/src/
Dbtif_hl.c563 btif_hl_mdl_cfg_t *p_mdl; in btif_hl_is_reconnect_possible() local
602 for (i=0, p_mdl=&p_acb->mdl_cfg[0] ; i< BTA_HL_NUM_MDL_CFGS; i++, p_mdl++ ) in btif_hl_is_reconnect_possible()
604 if (p_mdl->base.active && in btif_hl_is_reconnect_possible()
605 p_mdl->extra.data_type ==data_type && in btif_hl_is_reconnect_possible()
606 …(p_mdl->extra.peer_mdep_id != BTA_HL_INVALID_MDEP_ID && p_mdl->extra.peer_mdep_id == peer_mdep_id)… in btif_hl_is_reconnect_possible()
607 memcpy(p_mdl->base.peer_bd_addr, p_mcb->bd_addr,sizeof(BD_ADDR) ) && in btif_hl_is_reconnect_possible()
608 p_mdl->base.mdl_id && in btif_hl_is_reconnect_possible()
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible()
612 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode); in btif_hl_is_reconnect_possible()
615 if (p_mdl->base.dch_mode == dch_mode) in btif_hl_is_reconnect_possible()
[all …]