Home
last modified time | relevance | path

Searched refs:src_role (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/pan/
Dpan_api.cc228 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
239 if (!(pan_cb.role & src_role)) { in PAN_Connect()
240 PAN_TRACE_ERROR("PAN is not active for the role %d", src_role); in PAN_Connect()
245 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_NAP_SERVER) || in PAN_Connect()
248 src_role, dst_role); in PAN_Connect()
257 if (src_role == PAN_ROLE_CLIENT) { in PAN_Connect()
293 src_role, dst_role); in PAN_Connect()
328 PAN_TRACE_DEBUG("PAN_Connect() current active role set to %d", src_role); in PAN_Connect()
330 pan_cb.active_role = src_role; in PAN_Connect()
/system/bt/stack/include/
Dpan_api.h100 uint8_t src_role, uint8_t dst_role);
281 extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
/system/bt/test/mock/
Dmock_stack_pan_api.cc52 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
/system/bt/bta/pan/
Dbta_pan_act.cc91 uint8_t src_role, uint8_t dst_role) { in bta_pan_conn_state_cback() argument
109 p_scb->local_role = src_role; in bta_pan_conn_state_cback()
115 if (src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback()
117 else if (src_role == PAN_ROLE_NAP_SERVER) in bta_pan_conn_state_cback()