Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_act.cc532 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) { in bta_ag_rfc_acp_open()
534 if (ag_scb.in_use && alarm_is_scheduled(ag_scb.collision_timer)) { in bta_ag_rfc_acp_open()
536 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()
537 alarm_cancel(ag_scb.collision_timer); in bta_ag_rfc_acp_open()
538 if (dev_addr != ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()
540 bta_ag_resume_open(&ag_scb); in bta_ag_rfc_acp_open()
543 if (dev_addr == ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()
545 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()
547 bta_ag_rfc_fail(&ag_scb, tBTA_AG_DATA::kEmpty); in bta_ag_rfc_acp_open()
549 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()
[all …]
Dbta_ag_cmd.cc839 tBTA_AG_SCB* ag_scb; in bta_ag_at_hfp_cback() local
989 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()
990 i++, ag_scb++) { in bta_ag_at_hfp_cback()
991 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()
992 if ((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) && in bta_ag_at_hfp_cback()
993 (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback()
994 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback()
1130 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS; in bta_ag_at_hfp_cback()
1131 i++, ag_scb++) { in bta_ag_at_hfp_cback()
1132 if (ag_scb->in_use) { in bta_ag_at_hfp_cback()
[all …]