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()
461 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, in btpan_open_conn()
466 p_data->open.local_role, p_data->open.peer_role); in btpan_open_conn()
472 conn->local_role, conn->remote_role); in btpan_open_conn()
513 conn->local_role = conn->remote_role = 0; in btpan_cleanup_conn()
517 btpan_conn_t* btpan_new_conn(int handle, const RawAddress& addr, int local_role, in btpan_new_conn() argument
523 local_role, remote_role); in btpan_new_conn()
527 btpan_cb.conns[i].local_role = local_role; in btpan_new_conn()
540 p->local_role = -1; in btpan_close_handle()
605 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()
634 int btpan_conn_local_role = bta_role_to_btpan(p_data->open.local_role); in bta_pan_callback_transfer()
647 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()