Searched refs:src_role (Results 1 – 3 of 3) sorted by relevance
/system/bt/stack/pan/ |
D | pan_api.c | 285 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle) in PAN_Connect() argument 299 if (!(pan_cb.role & src_role)) in PAN_Connect() 301 PAN_TRACE_ERROR ("PAN is not active for the role %d", src_role); in PAN_Connect() 306 …if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER && src_role != PAN_ROLE_NAP_SER… in PAN_Connect() 309 PAN_TRACE_ERROR ("Either source %d or destination role %d is invalid", src_role, dst_role); in PAN_Connect() 317 if (src_role == PAN_ROLE_CLIENT) in PAN_Connect() 355 if (src_role == PAN_ROLE_GN_SERVER) in PAN_Connect() 369 src_role, dst_role); in PAN_Connect() 414 PAN_TRACE_DEBUG ("PAN_Connect() current active role set to %d", src_role); in PAN_Connect() 416 pan_cb.active_role = src_role; in PAN_Connect()
|
/system/bt/stack/include/ |
D | pan_api.h | 98 UINT8 src_role, UINT8 dst_role); 309 extern tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle);
|
/system/bt/bta/pan/ |
D | bta_pan_act.c | 89 BOOLEAN is_role_change, UINT8 src_role, UINT8 dst_role) in bta_pan_conn_state_cback() argument 107 p_scb->local_role = src_role; in bta_pan_conn_state_cback() 113 if (src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback() 115 else if (src_role == PAN_ROLE_GN_SERVER) in bta_pan_conn_state_cback() 117 else if (src_role == PAN_ROLE_NAP_SERVER) in bta_pan_conn_state_cback()
|