Home
last modified time | relevance | path

Searched refs:RpcServer (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/native/libs/binder/
H A DRpcServer.cpp39 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()
106 size_t RpcServer::getMaxThreads() { in getMaxThreads()
121 sp<IBinder> RpcServer::getRootObject() { in getRootObject()
129 void RpcServer::join() { in join()
135 bool RpcServer::acceptOne() { in acceptOne()
174 void RpcServer::establishConnection(sp<RpcServer>&& server, base::unique_fd clientFd) { in establishConnection()
274 bool RpcServer::hasServer() { in hasServer()
[all …]
H A DRpcSession.cpp180 sp<RpcServer> server = mForServer.promote(); in terminateLocked()
186 wp<RpcServer> RpcSession::server() { in server()
273 void RpcSession::setForServer(const wp<RpcServer>& server, int32_t sessionId) { in setForServer()
H A DAndroid.bp116 "RpcServer.cpp",
H A DRpcState.cpp592 sp<RpcServer> server = session->server().promote(); in processTransactInternal()
/aosp12/frameworks/native/libs/binder/include/binder/
H A DRpcServer.h47 class RpcServer final : public virtual RefBase {
49 static sp<RpcServer> make();
138 ~RpcServer();
145 friend sp<RpcServer>;
146 RpcServer();
148 void establishConnection(sp<RpcServer>&& session, base::unique_fd clientFd);
H A DRpcSession.h36 class RpcServer; variable
92 wp<RpcServer> server();
112 friend RpcServer; variable
134 void setForServer(const wp<RpcServer>& server, int32_t sessionId);
180 wp<RpcServer> mForServer; // maybe null, for client sessions
/aosp12/frameworks/native/libs/binder/tests/
H A DbinderRpcBenchmark.cpp33 using android::RpcServer;
122 sp<RpcServer> server = RpcServer::make(); in main()
H A DbinderRpcTest.cpp55 auto server = RpcServer::make(); in TEST()
91 wp<RpcServer> server;
102 sp<RpcServer> spServer = server.promote(); in countBinders()
326 const std::function<void(const sp<RpcServer>&)>& configure) { in createRpcTestSocketServerProcess()
338 sp<RpcServer> server = RpcServer::make(); in createRpcTestSocketServerProcess()
402 [&](const sp<RpcServer>& server) { in createRpcTestSocketServerProcess()
418 auto proc = createRpcTestSocketServerProcess(1, 1, [](const sp<RpcServer>& server) { in TEST_P()
948 using SetFn = std::function<void(RpcServer*, sp<IBinder>)>; in TEST_P()
950 return isStrong ? SetFn(&RpcServer::setRootObject) : SetFn(&RpcServer::setRootObjectWeak); in TEST_P()
953 auto server = RpcServer::make(); in TEST_P()
/aosp12/frameworks/native/libs/binder/tests/rpc_fuzzer/
H A Dmain.cpp73 sp<RpcServer> server = RpcServer::make(); in LLVMFuzzerTestOneInput()