Lines Matching refs:local_role

100 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role,
103 static bt_status_t btpan_enable(int local_role);
205 static bt_status_t btpan_enable(int local_role) { in btpan_enable() argument
207 BTIF_TRACE_DEBUG("%s - local_role: %d", __func__, local_role); in btpan_enable()
208 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable()
210 btpan_dev_local_role = local_role; in btpan_enable()
222 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role, in btpan_connect() argument
224 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_role); in btpan_connect()
225 int bta_local_role = btpan_role_to_bta(local_role); in btpan_connect()
242 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt()
460 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, in btpan_open_conn()
465 p_data->open.local_role, p_data->open.peer_role); in btpan_open_conn()
471 conn->local_role, conn->remote_role); in btpan_open_conn()
512 conn->local_role = conn->remote_role = 0; in btpan_cleanup_conn()
516 btpan_conn_t* btpan_new_conn(int handle, const RawAddress& addr, int local_role, in btpan_new_conn() argument
522 local_role, remote_role); in btpan_new_conn()
526 btpan_cb.conns[i].local_role = local_role; in btpan_new_conn()
539 p->local_role = -1; in btpan_close_handle()
604 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()
633 int btpan_conn_local_role = bta_role_to_btpan(p_data->open.local_role); in bta_pan_callback_transfer()
646 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()