Searched refs:cur_role (Results 1 – 2 of 2) sorted by relevance
811 tHCI_ROLE cur_role; in bta_av_sys_rs_cback() local841 (BTM_GetRole(peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()842 (cur_role == HCI_ROLE_PERIPHERAL)) { in bta_av_sys_rs_cback()
1817 tHCI_ROLE cur_role; in bta_av_do_start() local1818 if ((BTM_GetRole(p_scb->PeerAddress(), &cur_role) == BTM_SUCCESS) && in bta_av_do_start()1819 (cur_role == HCI_ROLE_CENTRAL)) { in bta_av_do_start()2190 tHCI_ROLE cur_role; in bta_av_start_ok() local2320 if ((BTM_GetRole(p_scb->PeerAddress(), &cur_role) == BTM_SUCCESS) && in bta_av_start_ok()2321 (cur_role == HCI_ROLE_CENTRAL)) { in bta_av_start_ok()