Searched refs:ag_scb (Results 1 – 2 of 2) sorted by relevance
573 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) { in bta_ag_rfc_acp_open()575 if (ag_scb.in_use && alarm_is_scheduled(ag_scb.collision_timer)) { in bta_ag_rfc_acp_open()576 log::verbose("cancel collision alarm for {}", ag_scb.peer_addr); in bta_ag_rfc_acp_open()577 alarm_cancel(ag_scb.collision_timer); in bta_ag_rfc_acp_open()578 if (dev_addr != ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()580 bta_ag_resume_open(&ag_scb); in bta_ag_rfc_acp_open()583 if (dev_addr == ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()586 ag_scb.peer_addr, ag_scb.conn_handle); in bta_ag_rfc_acp_open()589 bta_ag_rfc_fail(&ag_scb, tBTA_AG_DATA::kEmpty); in bta_ag_rfc_acp_open()593 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()[all …]
865 tBTA_AG_SCB* ag_scb; in bta_ag_at_hfp_cback() local1016 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()1017 i++, ag_scb++) { in bta_ag_at_hfp_cback()1018 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()1019 if ((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) && in bta_ag_at_hfp_cback()1020 (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback()1021 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback()1159 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()1160 i++, ag_scb++) { in bta_ag_at_hfp_cback()1161 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()[all …]