Lines Matching full:role
63 /* the delay time in milliseconds to retry role switch */
401 APPL_TRACE_DEBUG("scb hndl x%x, role x%x", p_scb->hndl, p_scb->role);
690 /* if the AV and AVK are both supported, it cannot support the CT role */
847 ((0 == (p_scb->role & BTA_AV_ROLE_AD_ACP)) || /* Outgoing connection or */
906 ** Description Receives the role change event from dm
922 /* loop through all the SCBs to find matching peer addresses and report the role change event */
945 /* restore role switch policy, if role switch failed */
953 /* if BTA_AvOpen() was called for other device, which caused the role switch of the peer_addr, */
1042 ** channel that is local as slave role.
1043 ** If so, role switch and remove it from link policy.
1045 ** Returns TRUE, if role switch is done
1050 UINT8 role;
1064 BTM_GetRole(p_scbi->peer_addr, &role);
1065 /* this channel is open - clear the role switch link policy for this link */
1066 if(BTM_ROLE_MASTER != role)
1072 /* can not switch role on SCBI
1093 ** If so, check if the link role fits the requirements.
1095 ** Returns TRUE, if role is ok
1100 UINT8 role;
1103 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS)
1105 LOG_INFO(LOG_TAG, "%s hndl:x%x role:%d conn_audio:x%x bits:%d features:x%x",
1106 __func__, p_scb->hndl, role, bta_av_cb.conn_audio, bits,
1108 if (BTM_ROLE_MASTER != role && (A2D_BitsSet(bta_av_cb.conn_audio) > bits || (bta_av_cb.features & BTA_AV_FEAT_MASTER)))
1115 /* can not switch role on SCB - start the timer on SCB */