Searched refs:ag_scb (Results 1 – 2 of 2) sorted by relevance
/system/bt/bta/ag/ |
D | bta_ag_act.c | 555 tBTA_AG_SCB *ag_scb, *other_scb; in bta_ag_rfc_acp_open() local 572 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_rfc_acp_open() 574 if (ag_scb->in_use && alarm_is_scheduled(ag_scb->collision_timer)) in bta_ag_rfc_acp_open() 576 alarm_cancel(ag_scb->collision_timer); in bta_ag_rfc_acp_open() 578 if (bdcmp (dev_addr, ag_scb->peer_addr) == 0) in bta_ag_rfc_acp_open() 589 bdcpy(other_scb->peer_addr, ag_scb->peer_addr); in bta_ag_rfc_acp_open() 590 other_scb->open_services = ag_scb->open_services; in bta_ag_rfc_acp_open() 591 other_scb->cli_sec_mask = ag_scb->cli_sec_mask; in bta_ag_rfc_acp_open()
|
D | bta_ag_cmd.c | 1100 tBTA_AG_SCB *ag_scb; in bta_ag_at_hfp_cback() local 1230 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback() 1232 if (ag_scb->in_use) in bta_ag_at_hfp_cback() 1234 if((ag_scb->call_ind == BTA_AG_CALL_ACTIVE) in bta_ag_at_hfp_cback() 1235 && (ag_scb->callsetup_ind == BTA_AG_CALLSETUP_NONE)) in bta_ag_at_hfp_cback() 1236 ag_scb->callheld_ind = BTA_AG_CALLHELD_NOACTIVE + 1; in bta_ag_at_hfp_cback() 1383 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) in bta_ag_at_hfp_cback() 1385 if (ag_scb->in_use) in bta_ag_at_hfp_cback() 1387 bta_ag_send_result(ag_scb, BTA_AG_RES_BTRH, NULL, int_arg); in bta_ag_at_hfp_cback()
|