Home
last modified time | relevance | path

Searched refs:RpcSession (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/binder/
DRpcSession.cpp43 RpcSession::RpcSession() { in RpcSession() function in android::RpcSession
48 RpcSession::~RpcSession() { in ~RpcSession()
56 sp<RpcSession> RpcSession::make() { in make()
57 return sp<RpcSession>::make(); in make()
60 bool RpcSession::setupUnixDomainClient(const char* path) { in setupUnixDomainClient()
64 bool RpcSession::setupVsockClient(unsigned int cid, unsigned int port) { in setupVsockClient()
68 bool RpcSession::setupInetClient(const char* addr, unsigned int port) { in setupInetClient()
79 bool RpcSession::addNullDebuggingClient() { in addNullDebuggingClient()
91 sp<IBinder> RpcSession::getRootObject() { in getRootObject()
92 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), ConnectionUse::CLIENT); in getRootObject()
[all …]
DRpcState.h55 sp<IBinder> getRootObject(const base::unique_fd& fd, const sp<RpcSession>& session);
56 status_t getMaxThreads(const base::unique_fd& fd, const sp<RpcSession>& session,
58 status_t getSessionId(const base::unique_fd& fd, const sp<RpcSession>& session,
63 const sp<RpcSession>& session, Parcel* reply, uint32_t flags);
66 const sp<RpcSession>& session);
72 [[nodiscard]] status_t onBinderLeaving(const sp<RpcSession>& session, const sp<IBinder>& binder,
80 sp<IBinder> onBinderEntering(const sp<RpcSession>& session, const RpcAddress& address);
122 [[nodiscard]] status_t waitForReply(const base::unique_fd& fd, const sp<RpcSession>& session,
125 const sp<RpcSession>& session,
127 [[nodiscard]] status_t processTransact(const base::unique_fd& fd, const sp<RpcSession>& session,
[all …]
DRpcState.cpp34 status_t RpcState::onBinderLeaving(const sp<RpcSession>& session, const sp<IBinder>& binder, in onBinderLeaving()
94 sp<IBinder> RpcState::onBinderEntering(const sp<RpcSession>& session, const RpcAddress& address) { in onBinderEntering()
255 sp<IBinder> RpcState::getRootObject(const base::unique_fd& fd, const sp<RpcSession>& session) { in getRootObject()
270 status_t RpcState::getMaxThreads(const base::unique_fd& fd, const sp<RpcSession>& session, in getMaxThreads()
295 status_t RpcState::getSessionId(const base::unique_fd& fd, const sp<RpcSession>& session, in getSessionId()
317 const Parcel& data, const sp<RpcSession>& session, Parcel* reply, in transact()
393 status_t RpcState::waitForReply(const base::unique_fd& fd, const sp<RpcSession>& session, in waitForReply()
460 status_t RpcState::getAndExecuteCommand(const base::unique_fd& fd, const sp<RpcSession>& session) { in getAndExecuteCommand()
471 status_t RpcState::processServerCommand(const base::unique_fd& fd, const sp<RpcSession>& session, in processServerCommand()
489 status_t RpcState::processTransact(const base::unique_fd& fd, const sp<RpcSession>& session, in processTransact()
[all …]
DRpcServer.cpp159 std::vector<sp<RpcSession>> RpcServer::listSessions() { in listSessions()
161 std::vector<sp<RpcSession>> sessions; in listSessions()
187 sp<RpcSession> session; in establishConnection()
206 session = RpcSession::make(); in establishConnection()
262 void RpcServer::onSessionTerminating(const sp<RpcSession>& session) { in onSessionTerminating()
DBpBinder.cpp139 sp<BpBinder> BpBinder::create(const sp<RpcSession>& session, const RpcAddress& address) { in create()
180 const sp<RpcSession>& BpBinder::rpcSession() const { in rpcSession()
DAndroid.bp115 "RpcSession.cpp",
DParcel.cpp574 void Parcel::markForRpc(const sp<RpcSession>& session) { in markForRpc()
/frameworks/native/libs/binder/include/binder/
DRpcSession.h45 class RpcSession final : public virtual RefBase {
47 static sp<RpcSession> make();
90 ~RpcSession();
99 friend class RpcSession;
101 explicit PrivateAccessorForId(const RpcSession* session) : mSession(session) {} in PrivateAccessorForId()
105 const RpcSession* mSession;
111 friend sp<RpcSession>;
113 RpcSession();
147 explicit ExclusiveConnection(const sp<RpcSession>& session, ConnectionUse use);
157 sp<RpcSession> mSession; // avoid deallocation
DBpBinder.h31 class RpcSession; variable
44 static sp<BpBinder> create(const sp<RpcSession>& session, const RpcAddress& address);
136 const sp<RpcSession>& rpcSession() const { return mBinder->rpcSession(); } in rpcSession()
152 sp<RpcSession> session;
159 const sp<RpcSession>& rpcSession() const;
DRpcServer.h135 std::vector<sp<RpcSession>> listSessions();
142 void onSessionTerminating(const sp<RpcSession>& session);
160 std::map<int32_t, sp<RpcSession>> mSessions;
DParcel.h53 class RpcSession; variable
106 void markForRpc(const sp<RpcSession>& session);
1139 sp<RpcSession> mSession;
/frameworks/native/libs/binder/tests/
DbinderRpcBenchmark.cpp34 using android::RpcSession;
49 static sp<RpcSession> gSession = RpcSession::make();
DbinderRpcTest.cpp243 sp<RpcSession> session;
258 sp<RpcSession>& session = info.session; in ~ProcessSession()
264 wp<RpcSession> weakSession = session; in ~ProcessSession()
377 sp<RpcSession> session = RpcSession::make(); in createRpcTestSocketServerProcess()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dmain.cpp36 using android::RpcSession;
64 auto session = sp<RpcSession>::make(); in doFuzz()
/frameworks/native/include/binder/
DParcel.h53 class RpcSession; variable
106 void markForRpc(const sp<RpcSession>& session);
1139 sp<RpcSession> mSession;