Home
last modified time | relevance | path

Searched refs:rpcSession (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/binder/
DServiceManagerHost.cpp159 auto rpcSession = RpcSession::make(); in getDeviceService() local
161 rpcSession->setMaxOutgoingConnections(*options.maxOutgoingConnections); in getDeviceService()
164 if (status_t status = rpcSession->setupInetClient("127.0.0.1", *forwardResult->hostPort()); in getDeviceService()
170 auto binder = rpcSession->getRootObject(); in getDeviceService()
DBpBinder.cpp264 LOG_ALWAYS_FATAL_IF(rpcSession() == nullptr, "BpBinder created w/o session object"); in BpBinder()
275 const sp<RpcSession>& BpBinder::rpcSession() const { in rpcSession() function in android::BpBinder
390 status = rpcSession()->transact(sp<IBinder>::fromExisting(this), code, data, reply, in transact()
419 if (rpcSession()->getMaxIncomingThreads() < 1) { in linkToDeath()
662 (void)rpcSession()->sendDecStrong(this); in onLastStrongRef()
DRpcState.cpp77 if (isRpc && binder->remoteBinder()->getPrivateAccessor().rpcSession() != session) { in onBinderLeaving()
252 binder->remoteBinder()->getPrivateAccessor().rpcSession() == session) { in sendObituaries()
DParcel.cpp906 markForRpc(binder->remoteBinder()->getPrivateAccessor().rpcSession()); in markForBinder()
/frameworks/native/libs/binder/tests/
DbinderHostDeviceTest.cpp105 auto rpcSession = RpcSession::make(); in get() local
106 if (status_t status = rpcSession->setupInetClient("127.0.0.1", hostPort); status != OK) { in get()
111 return rpcSession->getRootObject(); in get()
DbinderRpcTest.cpp1407 auto rpcSession = RpcSession::make(); in TEST() local
1408 ASSERT_EQ(OK, rpcSession->setupInetClient("127.0.0.1", port)); in TEST()
1409 auto rpcBinder = rpcSession->getRootObject(); in TEST()
/frameworks/native/libs/binder/include/binder/
DBpBinder.h147 const sp<RpcSession>& rpcSession() const { return mBinder->rpcSession(); } in rpcSession() function
173 const sp<RpcSession>& rpcSession() const;