Searched refs:cur_role (Results 1 – 2 of 2) sorted by relevance
930 tHCI_ROLE cur_role; in bta_av_sys_rs_cback() local959 (BTM_GetRole(peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()960 (cur_role == HCI_ROLE_PERIPHERAL)) { in bta_av_sys_rs_cback()
1920 tHCI_ROLE cur_role; in bta_av_do_start() local1921 if ((BTM_GetRole(p_scb->PeerAddress(), &cur_role) == BTM_SUCCESS) && in bta_av_do_start()1922 (cur_role == HCI_ROLE_CENTRAL)) { in bta_av_do_start()2278 tHCI_ROLE cur_role; in bta_av_start_ok() local2410 if ((BTM_GetRole(p_scb->PeerAddress(), &cur_role) == BTM_SUCCESS) && in bta_av_start_ok()2411 (cur_role == HCI_ROLE_CENTRAL)) { in bta_av_start_ok()