Lines Matching refs:peer_addr
297 if(bdcmp(p_scb->peer_addr, b) != 0) in bta_av_save_addr()
307 bdcpy(p_scb->peer_addr, b); in bta_av_save_addr()
407 (*p_req)(p_scb->peer_addr, in bta_av_next_getcap()
840 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_role_res()
866 bdcpy(av_open.bd_addr, p_scb->peer_addr); in bta_av_role_res()
999 bta_sys_app_open(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); in bta_av_do_disc_a2d()
1030 if (A2D_FindService(sdp_uuid, p_scb->peer_addr, &db_params, in bta_av_do_disc_a2d()
1098 bdcpy(msg.peer_addr, p_scb->peer_addr); in bta_av_cleanup()
1186 p_scb->peer_addr, in bta_av_config_ind()
1197 p_scb->peer_addr, in bta_av_config_ind()
1229 AVDT_DisconnectReq(p_scb->peer_addr, bta_av_dt_cback[p_scb->hdi]); in bta_av_disconnect_req()
1301 memcpy(av_sink_codec_info.avk_config.bd_addr,p_scb->peer_addr,sizeof(BD_ADDR)); in bta_av_setconfig_rsp()
1334 p_scb->p_cos->disc_res(p_scb->hndl, num, num, 0, p_scb->peer_addr, in bta_av_setconfig_rsp()
1384 bdcpy(msg.peer_addr, p_scb->peer_addr); in bta_av_str_opened()
1403 bta_sys_conn_open(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); in bta_av_str_opened()
1420 bdcpy(open.bd_addr, p_scb->peer_addr); in bta_av_str_opened()
1426 if( NULL != (p = BTM_ReadRemoteFeatures(p_scb->peer_addr))) in bta_av_str_opened()
1574 AVDT_ConnectReq(p_scb->peer_addr, p_scb->sec_mask, bta_av_dt_cback[p_scb->hdi]); in bta_av_connect_req()
1633 p_scb->p_cos->disc_res(p_scb->hndl, p_scb->num_seps, num_snks, num_srcs, p_scb->peer_addr, in bta_av_disc_results()
1684 p_scb->p_cos->disc_res(p_scb->hndl, p_scb->num_seps, num_snks, 0, p_scb->peer_addr, in bta_av_disc_res_as_acp()
1814 …& (p_opened_scb->state == BTA_AV_OPEN_SST) && (!bdcmp(p_opened_scb->peer_addr,p_scb->peer_addr )) ) in bta_av_open_failed()
1823 bdcpy(open.bd_addr, p_scb->peer_addr); in bta_av_open_failed()
1842 AVDT_DisconnectReq(p_scb->peer_addr, bta_av_dt_cback[p_scb->hdi]); in bta_av_open_failed()
1909 memcpy(av_sink_codec_info.avk_config.bd_addr,p_scb->peer_addr,sizeof(BD_ADDR)); in bta_av_getcap_results()
1925 AVDT_OpenReq(p_scb->seps[p_scb->sep_idx].av_handle, p_scb->peer_addr, in bta_av_getcap_results()
1981 … AVDT_DiscoverReq(p_scb->peer_addr, p_scb->sep_info, BTA_AV_NUM_SEPS, bta_av_dt_cback[p_scb->hdi]); in bta_av_discover_req()
2023 if ((BTM_GetRole (p_scb->peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_do_start()
2029 bta_sys_clear_policy(BTA_ID_AV, policy, p_scb->peer_addr); in bta_av_do_start()
2034 bta_sys_busy(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_do_start()
2072 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_str_stopped()
2075 bta_sys_set_policy(BTA_ID_AV, policy, p_scb->peer_addr); in bta_av_str_stopped()
2092 L2CA_SetFlushTimeout(p_scb->peer_addr, L2CAP_DEFAULT_FLUSH_TO); in bta_av_str_stopped()
2368 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_start_ok()
2407 bta_sys_conn_open(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); in bta_av_start_ok()
2409 bta_sys_busy(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_start_ok()
2424 L2CA_SetFlushTimeout(p_scb->peer_addr, flush_to ); in bta_av_start_ok()
2451 if ((BTM_GetRole (p_scb->peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_start_ok()
2457 bta_sys_clear_policy(BTA_ID_AV, policy, p_scb->peer_addr); in bta_av_start_ok()
2507 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_start_failed()
2511 …ys_set_policy(BTA_ID_AV, (HCI_ENABLE_SNIFF_MODE|HCI_ENABLE_MASTER_SLAVE_SWITCH), p_scb->peer_addr); in bta_av_start_failed()
2533 bta_sys_set_policy(BTA_ID_AV, policy, p_scb->peer_addr); in bta_av_str_closed()
2543 bdcpy(data.open.bd_addr, p_scb->peer_addr); in bta_av_str_closed()
2556 bta_sys_conn_close(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); in bta_av_str_closed()
2577 bta_sys_conn_close(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); in bta_av_str_closed()
2656 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_suspend_cfm()
2659 bta_sys_set_policy(BTA_ID_AV, policy, p_scb->peer_addr); in bta_av_suspend_cfm()
2679 L2CA_SetFlushTimeout(p_scb->peer_addr, L2CAP_DEFAULT_FLUSH_TO); in bta_av_suspend_cfm()
2757 AVDT_DisconnectReq(p_scb->peer_addr, bta_av_dt_cback[p_scb->hdi]); in bta_av_rcfg_failed()
2788 AVDT_ConnectReq(p_scb->peer_addr, p_scb->sec_mask, bta_av_dt_cback[p_scb->hdi]); in bta_av_rcfg_connect()
2818 AVDT_ConnectReq(p_scb->peer_addr, p_scb->sec_mask, bta_av_dt_cback[p_scb->hdi]); in bta_av_rcfg_discntd()
2931 … AVDT_DiscoverReq(p_scb->peer_addr, p_scb->sep_info, BTA_AV_NUM_SEPS, bta_av_dt_cback[p_scb->hdi]); in bta_av_rcfg_open()
2943 AVDT_OpenReq(p_scb->avdt_handle, p_scb->peer_addr, in bta_av_rcfg_open()
3005 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_2nd_start()