Searched refs:BTM_ROLE_MASTER (Results 1 – 9 of 9) sorted by relevance
1066 if(BTM_ROLE_MASTER != role) 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()1108 …if (BTM_ROLE_MASTER != role && (A2D_BitsSet(bta_av_cb.conn_audio) > bits || (bta_av_cb.features & … 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()
2027 (cur_role == BTM_ROLE_MASTER) ) in bta_av_do_start()2455 (cur_role == BTM_ROLE_MASTER) ) in bta_av_start_ok()
81 #define BTA_JV_ROLE_MASTER BTM_ROLE_MASTER
1310 if (p->link_role == BTM_ROLE_MASTER) in BTM_SetLinkSuperTout()1482 if (new_role == BTM_ROLE_MASTER) in btm_acl_role_changed()
1442 if (link_role == BTM_ROLE_MASTER) in btm_ble_set_encryption()1461 if (link_role == BTM_ROLE_MASTER) in btm_ble_set_encryption()
6340 return (p && (p->link_role == BTM_ROLE_MASTER)); in btm_sec_is_master()
419 if ((p != NULL) && (p->link_role == BTM_ROLE_MASTER)) in gatts_db_read_attr_value_by_type()
695 #define BTM_ROLE_MASTER HCI_ROLE_MASTER macro
3173 BTM_SwitchRole(p_bda, BTM_ROLE_MASTER, NULL); in bta_dm_acl_change()