Searched defs:src_role (Results 1 - 2 of 2) sorted by relevance

/system/bt/bta/pan/
H A Dbta_pan_act.cc91 uint8_t src_role, uint8_t dst_role) {
109 p_scb->local_role = src_role;
115 if (src_role == PAN_ROLE_CLIENT)
117 else if (src_role == PAN_ROLE_GN_SERVER)
119 else if (src_role == PAN_ROLE_NAP_SERVER)
89 bta_pan_conn_state_cback(uint16_t handle, const RawAddress& bd_addr, tPAN_RESULT state, bool is_role_change, uint8_t src_role, uint8_t dst_role) argument
/system/bt/stack/pan/
H A Dpan_api.cc253 * src_role - Role of the local device for the connection
269 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, argument
280 if (!(pan_cb.role & src_role)) {
281 PAN_TRACE_ERROR("PAN is not active for the role %d", src_role);
286 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_GN_SERVER &&
287 src_role != PAN_ROLE_NAP_SERVER) ||
291 src_role, dst_role);
300 if (src_role == PAN_ROLE_CLIENT) {
331 if (src_role
[all...]

Completed in 1369 milliseconds