Home | History | Annotate | Download | only in av

Lines Matching full:role

58 /* the delay time in milliseconds to retry role switch */
422 if (/*((p_scb && (p_scb->role & BTA_AV_ROLE_AD_ACP)) ||
436 APPL_TRACE_DEBUG("scb hndl x%x, role x%x", p_scb->hndl, p_scb->role);
701 /* if the AV and AVK are both supported, it cannot support the CT role */
849 ((0 == (p_scb->role & BTA_AV_ROLE_AD_ACP)) || /* Outgoing connection or */
908 ** Description Receives the role change event from dm
925 /* loop through all the SCBs to find matching peer addresses and report the role change event */
948 /* restore role switch policy, if role switch failed */
956 /* 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
1091 ** If so, check if the link role fits the requirements.
1093 ** Returns TRUE, if role is ok
1098 UINT8 role;
1102 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS)
1104 APPL_TRACE_ERROR("bta_av_link_role_ok hndl:x%x role:%d, conn_audio:x%x, bits:%d, features:x%x", p_scb->hndl, role, bta_av_cb.conn_audio, bits, bta_av_cb.features);
1105 if (BTM_ROLE_MASTER != role && (A2D_BitsSet(bta_av_cb.conn_audio) > bits || (bta_av_cb.features & BTA_AV_FEAT_MASTER)))
1112 /* can not switch role on SCB - start the timer on SCB */