/frameworks/native/libs/binder/ |
D | RpcSession.cpp | 43 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 …]
|
D | RpcState.h | 55 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 …]
|
D | RpcState.cpp | 34 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 …]
|
D | RpcServer.cpp | 159 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()
|
D | BpBinder.cpp | 139 sp<BpBinder> BpBinder::create(const sp<RpcSession>& session, const RpcAddress& address) { in create() 180 const sp<RpcSession>& BpBinder::rpcSession() const { in rpcSession()
|
D | Android.bp | 115 "RpcSession.cpp",
|
D | Parcel.cpp | 574 void Parcel::markForRpc(const sp<RpcSession>& session) { in markForRpc()
|
/frameworks/native/libs/binder/include/binder/ |
D | RpcSession.h | 45 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
|
D | BpBinder.h | 31 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;
|
D | RpcServer.h | 135 std::vector<sp<RpcSession>> listSessions(); 142 void onSessionTerminating(const sp<RpcSession>& session); 160 std::map<int32_t, sp<RpcSession>> mSessions;
|
D | Parcel.h | 53 class RpcSession; variable 106 void markForRpc(const sp<RpcSession>& session); 1139 sp<RpcSession> mSession;
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcBenchmark.cpp | 34 using android::RpcSession; 49 static sp<RpcSession> gSession = RpcSession::make();
|
D | binderRpcTest.cpp | 243 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/ |
D | main.cpp | 36 using android::RpcSession; 64 auto session = sp<RpcSession>::make(); in doFuzz()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 53 class RpcSession; variable 106 void markForRpc(const sp<RpcSession>& session); 1139 sp<RpcSession> mSession;
|