Lines Matching refs:srv_rs
232 static rfc_slot_t* create_srv_accept_rfc_slot(rfc_slot_t* srv_rs, in create_srv_accept_rfc_slot() argument
237 addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); in create_srv_accept_rfc_slot()
245 accept_rs->security = srv_rs->security; in create_srv_accept_rfc_slot()
246 accept_rs->mtu = srv_rs->mtu; in create_srv_accept_rfc_slot()
247 accept_rs->role = srv_rs->role; in create_srv_accept_rfc_slot()
250 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot()
252 srv_rs->rfc_handle = new_listen_handle; in create_srv_accept_rfc_slot()
253 srv_rs->rfc_port_handle = BTA_JvRfcommGetPortHdl(new_listen_handle); in create_srv_accept_rfc_slot()
255 CHECK(accept_rs->rfc_port_handle != srv_rs->rfc_port_handle); in create_srv_accept_rfc_slot()
259 accept_rs->id = srv_rs->id; in create_srv_accept_rfc_slot()
260 srv_rs->id = new_listen_id; in create_srv_accept_rfc_slot()
502 rfc_slot_t* srv_rs = find_rfc_slot_by_id(id); in on_srv_rfc_connect() local
503 if (!srv_rs) return 0; in on_srv_rfc_connect()
506 srv_rs, &p_open->rem_bda, p_open->handle, p_open->new_listen_handle); in on_srv_rfc_connect()
517 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, in on_srv_rfc_connect()
518 srv_rs->id); in on_srv_rfc_connect()
521 send_app_connect_signal(srv_rs->fd, &accept_rs->addr, srv_rs->scn, 0, in on_srv_rfc_connect()
525 return srv_rs->id; in on_srv_rfc_connect()