Home
last modified time | relevance | path

Searched refs:cur_role (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/av/
Dbta_av_main.cc811 tHCI_ROLE cur_role; in bta_av_sys_rs_cback() local
841 (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()
Dbta_av_aact.cc1817 tHCI_ROLE cur_role; in bta_av_do_start() local
1818 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() local
2320 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()