Lines Matching refs:local_role
75 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role,
78 static bt_status_t btpan_enable(int local_role);
187 static bt_status_t btpan_enable(int local_role) { in btpan_enable() argument
189 BTIF_TRACE_DEBUG("%s - local_role: %d", __func__, local_role); in btpan_enable()
190 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable()
192 btpan_dev_local_role = local_role; in btpan_enable()
204 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role, in btpan_connect() argument
206 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_role); in btpan_connect()
207 int bta_local_role = btpan_role_to_bta(local_role); in btpan_connect()
224 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt()
442 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, in btpan_open_conn()
447 p_data->open.local_role, p_data->open.peer_role); in btpan_open_conn()
453 conn->local_role, conn->remote_role); in btpan_open_conn()
494 conn->local_role = conn->remote_role = 0; in btpan_cleanup_conn()
498 btpan_conn_t* btpan_new_conn(int handle, const RawAddress& addr, int local_role, in btpan_new_conn() argument
504 local_role, remote_role); in btpan_new_conn()
508 btpan_cb.conns[i].local_role = local_role; in btpan_new_conn()
521 p->local_role = -1; in btpan_close_handle()
586 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()
615 int btpan_conn_local_role = bta_role_to_btpan(p_data->open.local_role); in bta_pan_callback_transfer()
628 int btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in bta_pan_callback_transfer()