Lines Matching refs:new_role
537 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role, in BTM_SwitchRole() argument
547 __func__, remote_bd_addr.ToString().c_str(), new_role, p_cb, in BTM_SwitchRole()
564 if (p->link_role == new_role) return (BTM_SUCCESS); in BTM_SwitchRole()
612 btsnd_hcic_switch_role(remote_bd_addr, new_role); in BTM_SwitchRole()
624 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole()
688 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change()
697 __func__, evt.new_role, evt.hci_status, p->switch_role_state); in btm_acl_encrypt_change()
1478 uint8_t new_role) { in btm_acl_role_changed() argument
1487 hci_status, new_role); in btm_acl_role_changed()
1499 p_data->role = new_role; in btm_acl_role_changed()
1503 p->link_role = new_role; in btm_acl_role_changed()
1507 if (new_role == BTM_ROLE_MASTER) { in btm_acl_role_changed()
1512 new_role = p->link_role; in btm_acl_role_changed()
1541 evt.new_role = new_role; in btm_acl_role_changed()