Lines Matching refs:RpcServer
39 RpcServer::RpcServer() {} in RpcServer() function in android::RpcServer
40 RpcServer::~RpcServer() {} in ~RpcServer()
42 sp<RpcServer> RpcServer::make() { in make()
43 return sp<RpcServer>::make(); in make()
46 void RpcServer::iUnderstandThisCodeIsExperimentalAndIWillNotUseItInProduction() { in iUnderstandThisCodeIsExperimentalAndIWillNotUseItInProduction()
50 bool RpcServer::setupUnixDomainServer(const char* path) { in setupUnixDomainServer()
54 bool RpcServer::setupVsockServer(unsigned int port) { in setupVsockServer()
61 bool RpcServer::setupInetServer(unsigned int port, unsigned int* assignedPort) { in setupInetServer()
100 void RpcServer::setMaxThreads(size_t threads) { in setMaxThreads()
106 size_t RpcServer::getMaxThreads() { in getMaxThreads()
110 void RpcServer::setRootObject(const sp<IBinder>& binder) { in setRootObject()
115 void RpcServer::setRootObjectWeak(const wp<IBinder>& binder) { in setRootObjectWeak()
121 sp<IBinder> RpcServer::getRootObject() { in getRootObject()
129 void RpcServer::join() { in join()
135 bool RpcServer::acceptOne() { in acceptOne()
151 std::thread(&RpcServer::establishConnection, this, in acceptOne()
152 std::move(sp<RpcServer>::fromExisting(this)), std::move(clientFd)); in acceptOne()
159 std::vector<sp<RpcSession>> RpcServer::listSessions() { in listSessions()
169 size_t RpcServer::numUninitializedSessions() { in numUninitializedSessions()
174 void RpcServer::establishConnection(sp<RpcServer>&& server, base::unique_fd clientFd) { in establishConnection()
207 session->setForServer(wp<RpcServer>::fromExisting(this), mSessionIdCounter); in establishConnection()
233 bool RpcServer::setupSocketServer(const RpcSocketAddress& addr) { in setupSocketServer()
262 void RpcServer::onSessionTerminating(const sp<RpcSession>& session) { in onSessionTerminating()
274 bool RpcServer::hasServer() { in hasServer()
280 unique_fd RpcServer::releaseServer() { in releaseServer()
286 bool RpcServer::setupExternalServer(base::unique_fd serverFd) { in setupExternalServer()