• Home
  • Raw
  • Download

Lines Matching refs:peer_addr

177   p_scb->peer_addr = data.api_open.bd_addr;  in bta_ag_start_open()
187 bta_ag_collision_cback(0, BTA_ID_AG, 0, p_scb->peer_addr); in bta_ag_start_open()
297 RawAddress peer_addr = p_scb->peer_addr; in bta_ag_disc_fail() local
298 p_scb->peer_addr = RawAddress::kEmpty; in bta_ag_disc_fail()
301 bta_ag_cback_open(p_scb, peer_addr, BTA_AG_FAIL_SDP); in bta_ag_disc_fail()
330 RawAddress peer_addr = p_scb->peer_addr; in bta_ag_rfc_fail() local
341 p_scb->peer_addr = RawAddress::kEmpty; in bta_ag_rfc_fail()
347 bta_ag_cback_open(p_scb, peer_addr, BTA_AG_FAIL_RFCOMM); in bta_ag_rfc_fail()
394 close.bd_addr = p_scb->peer_addr; in bta_ag_rfc_close()
396 bta_sys_conn_close(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close()
398 if (bta_ag_get_active_device() == p_scb->peer_addr) { in bta_ag_rfc_close()
408 p_scb->peer_addr = RawAddress::kEmpty; in bta_ag_rfc_close()
430 bta_sys_sco_unuse(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close()
462 p_scb->peer_addr.ToString(), HFP_VERSION_CONFIG_KEY, in bta_ag_rfc_open()
465 __func__, p_scb->peer_addr.ToString().c_str()); in bta_ag_rfc_open()
470 p_scb->peer_addr.ToString(), HFP_SDP_FEATURES_CONFIG_KEY, in bta_ag_rfc_open()
480 __func__, p_scb->peer_addr.ToString().c_str()); in bta_ag_rfc_open()
492 bta_sys_conn_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_open()
494 bta_ag_cback_open(p_scb, p_scb->peer_addr, BTA_AG_SUCCESS); in bta_ag_rfc_open()
536 << ag_scb.peer_addr; in bta_ag_rfc_acp_open()
538 if (dev_addr != ag_scb.peer_addr && p_scb != &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()
560 << ", peer_addr=" << ag_scb.peer_addr in bta_ag_rfc_acp_open()
565 p_scb->peer_addr = dev_addr; in bta_ag_rfc_acp_open()
615 LOG(ERROR) << __func__ << ": failed to read data " << p_scb->peer_addr; in bta_ag_rfc_data()
621 LOG(WARNING) << __func__ << ": no data for " << p_scb->peer_addr; in bta_ag_rfc_data()
626 bta_sys_busy(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data()
631 bta_sys_sco_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data()
633 bta_sys_idle(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data()
655 bta_dm_pm_active(p_scb->peer_addr); in bta_ag_start_close()
656 L2CA_SetIdleTimeoutByBdAddr(p_scb->peer_addr, 0, BT_TRANSPORT_BR_EDR); in bta_ag_start_close()
777 evt.bd_addr = p_scb->peer_addr; in bta_ag_svc_conn_open()
782 bta_sys_sco_use(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_svc_conn_open()
785 bta_ag_api_set_active_device(p_scb->peer_addr); in bta_ag_svc_conn_open()