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.cc841 uint8_t cur_role; in bta_av_sys_rs_cback() local
874 (BTM_GetRole(peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_sys_rs_cback()
875 (cur_role == BTM_ROLE_SLAVE)) { in bta_av_sys_rs_cback()
Dbta_av_aact.cc1881 uint8_t cur_role; in bta_av_do_start() local
1893 if ((BTM_GetRole(p_scb->peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_do_start()
1894 (cur_role == BTM_ROLE_MASTER)) { in bta_av_do_start()
2231 uint8_t cur_role; in bta_av_start_ok() local
2345 if ((BTM_GetRole(p_scb->peer_addr, &cur_role) == BTM_SUCCESS) && in bta_av_start_ok()
2346 (cur_role == BTM_ROLE_MASTER)) { in bta_av_start_ok()