Lines Matching refs:ag_scb
529 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) { in bta_ag_rfc_acp_open()
531 if (ag_scb.in_use && alarm_is_scheduled(ag_scb.collision_timer)) { in bta_ag_rfc_acp_open()
533 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()
534 alarm_cancel(ag_scb.collision_timer); in bta_ag_rfc_acp_open()
535 if (dev_addr != ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()
537 bta_ag_resume_open(&ag_scb); in bta_ag_rfc_acp_open()
540 if (dev_addr == ag_scb.peer_addr && p_scb != &ag_scb) { in bta_ag_rfc_acp_open()
542 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()
544 bta_ag_rfc_fail(&ag_scb, tBTA_AG_DATA::kEmpty); in bta_ag_rfc_acp_open()
546 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()
547 status = RFCOMM_RemoveConnection(ag_scb.conn_handle); in bta_ag_rfc_acp_open()
551 << std::to_string(ag_scb.conn_handle) << ", error " in bta_ag_rfc_acp_open()
557 << ", peer_addr=" << ag_scb.peer_addr in bta_ag_rfc_acp_open()
558 << ", in_use=" << ag_scb.in_use in bta_ag_rfc_acp_open()