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.c552 tBTA_AG_SCB *ag_scb, *other_scb; in bta_ag_rfc_acp_open() local
569 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_rfc_acp_open()
571 if (ag_scb->in_use && alarm_is_scheduled(ag_scb->collision_timer)) in bta_ag_rfc_acp_open()
573 alarm_cancel(ag_scb->collision_timer); in bta_ag_rfc_acp_open()
575 if (bdcmp (dev_addr, ag_scb->peer_addr) == 0) in bta_ag_rfc_acp_open()
586 bdcpy(other_scb->peer_addr, ag_scb->peer_addr); in bta_ag_rfc_acp_open()
587 other_scb->open_services = ag_scb->open_services; in bta_ag_rfc_acp_open()
588 other_scb->cli_sec_mask = ag_scb->cli_sec_mask; in bta_ag_rfc_acp_open()
Dbta_ag_cmd.c874 tBTA_AG_SCB *ag_scb; in bta_ag_at_hfp_cback() local
1003 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback()
1005 if (ag_scb->in_use) in bta_ag_at_hfp_cback()
1007 if((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) in bta_ag_at_hfp_cback()
1008 && (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback()
1009 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback()
1120 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback()
1122 if (ag_scb->in_use) in bta_ag_at_hfp_cback()
1124 bta_ag_send_result(ag_scb, BTA_AG_RES_BTRH, NULL, int_arg); in bta_ag_at_hfp_cback()