Home
last modified time | relevance | path

Searched refs:getRootObject (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/native/libs/binder/tests/
H A DbinderRpcBenchmark.cpp53 CHECK(gSession->getRootObject() != nullptr); in BM_getRootObject()
59 sp<IBinder> binder = gSession->getRootObject(); in BM_pingTransaction()
69 sp<IBinder> binder = gSession->getRootObject(); in BM_repeatString()
98 sp<IBinder> binder = gSession->getRootObject(); in BM_repeatBinder()
H A DbinderRpcTest.cpp393 ret.sessions.push_back({session, session->getRootObject()}); in createRpcTestSocketServerProcess()
958 EXPECT_EQ(binderRaw1, server->getRootObject()); in TEST_P()
960 EXPECT_EQ((isStrong1 ? binderRaw1 : nullptr), server->getRootObject()); in TEST_P()
965 EXPECT_EQ(binderRaw2, server->getRootObject()); in TEST_P()
967 EXPECT_EQ((isStrong2 ? binderRaw2 : nullptr), server->getRootObject()); in TEST_P()
/aosp12/frameworks/native/libs/binder/include/binder/
H A DRpcServer.h117 sp<IBinder> getRootObject();
H A DRpcSession.h78 sp<IBinder> getRootObject();
/aosp12/frameworks/native/libs/binder/
H A DRpcSession.cpp91 sp<IBinder> RpcSession::getRootObject() { in getRootObject() function in android::RpcSession
93 return state()->getRootObject(connection.fd(), sp<RpcSession>::fromExisting(this)); in getRootObject()
H A DRpcState.h55 sp<IBinder> getRootObject(const base::unique_fd& fd, const sp<RpcSession>& session);
H A DRpcServer.cpp121 sp<IBinder> RpcServer::getRootObject() { in getRootObject() function in android::RpcServer
H A DRpcState.cpp255 sp<IBinder> RpcState::getRootObject(const base::unique_fd& fd, const sp<RpcSession>& session) { in getRootObject() function in android::RpcState
597 replyStatus = reply.writeStrongBinder(server->getRootObject()); in processTransactInternal()