Lines Matching refs:peer_addr
170 app_id, BD_ADDR peer_addr);
171 …c void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
274 if(!bdcmp(bd_addr, bta_av_cb.p_scb[xx]->peer_addr)) in bta_av_addr_to_scb()
862 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_start()
895 … bta_sys_set_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_cb->p_scb[i]->peer_addr); in bta_av_restore_switch()
911 …ic void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_av_sys_rs_cback() argument
925 if (p_scb && (bdcmp (peer_addr, p_scb->peer_addr) == 0)) { in bta_av_sys_rs_cback()
947 (BTM_GetRole (peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()
950 bta_sys_set_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, peer_addr); in bta_av_sys_rs_cback()
991 app_id, BD_ADDR peer_addr) in bta_av_sco_chg_cback() argument
997 UNUSED(peer_addr); in bta_av_sco_chg_cback()
1064 BTM_GetRole(p_scbi->peer_addr, &role); in bta_av_switch_if_needed()
1069 … bta_sys_clear_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_scbi->peer_addr); in bta_av_switch_if_needed()
1070 if (BTM_CMD_STARTED != BTM_SwitchRole(p_scbi->peer_addr, BTM_ROLE_MASTER, NULL)) in bta_av_switch_if_needed()
1103 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS) in bta_av_link_role_ok()
1111 bta_sys_clear_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_scb->peer_addr); in bta_av_link_role_ok()
1113 if (BTM_CMD_STARTED != BTM_SwitchRole(p_scb->peer_addr, BTM_ROLE_MASTER, NULL)) in bta_av_link_role_ok()