Searched refs:src_role (Results 1 – 4 of 4) sorted by relevance
/system/bt/stack/pan/ |
D | pan_api.cc | 228 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/ |
D | pan_api.h | 100 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/ |
D | mock_stack_pan_api.cc | 52 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
|
/system/bt/bta/pan/ |
D | bta_pan_act.cc | 91 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()
|