Searched refs:ag_scb (Results 1 – 2 of 2) sorted by relevance
529 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) { in bta_ag_rfc_acp_open()531 if (ag_scb.in_use && alarm_is_scheduled(ag_scb.collision_timer)) { in bta_ag_rfc_acp_open()533 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()534 alarm_cancel(ag_scb.collision_timer); in bta_ag_rfc_acp_open()535 if (dev_addr != ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()537 bta_ag_resume_open(&ag_scb); in bta_ag_rfc_acp_open()540 if (dev_addr == ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()542 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()544 bta_ag_rfc_fail(&ag_scb, tBTA_AG_DATA::kEmpty); in bta_ag_rfc_acp_open()546 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()[all …]
852 tBTA_AG_SCB* ag_scb; in bta_ag_at_hfp_cback() local1015 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()1016 i++, ag_scb++) { in bta_ag_at_hfp_cback()1017 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()1018 if ((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) && in bta_ag_at_hfp_cback()1019 (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback()1020 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback()1158 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()1159 i++, ag_scb++) { in bta_ag_at_hfp_cback()1160 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()[all …]