Searched refs:ag_scb (Results 1 – 2 of 2) sorted by relevance
/system/bt/bta/ag/ |
D | bta_ag_act.c | 551 tBTA_AG_SCB *ag_scb, *other_scb; in bta_ag_rfc_acp_open() local 568 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_rfc_acp_open() 570 if ((ag_scb->in_use) && (ag_scb->colli_tmr_on)) in bta_ag_rfc_acp_open() 573 ag_scb->colli_tmr_on = FALSE; in bta_ag_rfc_acp_open() 574 bta_sys_stop_timer (&ag_scb->colli_timer); in bta_ag_rfc_acp_open() 576 if (bdcmp (dev_addr, ag_scb->peer_addr) == 0) in bta_ag_rfc_acp_open() 587 bdcpy(other_scb->peer_addr, ag_scb->peer_addr); in bta_ag_rfc_acp_open() 588 other_scb->open_services = ag_scb->open_services; in bta_ag_rfc_acp_open() 589 other_scb->cli_sec_mask = ag_scb->cli_sec_mask; in bta_ag_rfc_acp_open()
|
D | bta_ag_cmd.c | 875 tBTA_AG_SCB *ag_scb; in bta_ag_at_hfp_cback() local 1005 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback() 1007 if (ag_scb->in_use) in bta_ag_at_hfp_cback() 1009 if((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) in bta_ag_at_hfp_cback() 1010 && (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback() 1011 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback() 1122 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback() 1124 if (ag_scb->in_use) in bta_ag_at_hfp_cback() 1126 bta_ag_send_result(ag_scb, BTA_AG_RES_BTRH, NULL, int_arg); in bta_ag_at_hfp_cback()
|