• Home
  • Raw
  • Download

Lines Matching refs:rootIface

280     sp<IBinderRpcTest> rootIface;  member
290 EXPECT_OK(rootIface->countBinders(&remoteCounts)); in ~BinderRpcTestProcessSession()
297 rootIface = nullptr; in ~BinderRpcTestProcessSession()
411 ret.rootIface = interface_cast<IBinderRpcTest>(ret.rootBinder); in createRpcTestSocketServerProcess()
476 EXPECT_OK(proc.rootIface->sendString("asdf")); in TEST_P()
482 EXPECT_OK(proc.rootIface->doubleString("cool ", &doubled)); in TEST_P()
490 EXPECT_OK(proc.rootIface->doubleString(single, &doubled)); in TEST_P()
498 EXPECT_OK(proc.rootIface->pingMe(new MyBinderRpcSession("foo"), &pingResult)); in TEST_P()
509 EXPECT_OK(proc.rootIface->repeatBinder(inBinder, &outBinder)); in TEST_P()
530 EXPECT_OK(proc.rootIface->openSession("aoeu", &session)); in TEST_P()
534 EXPECT_OK(proc.rootIface->repeatBinder(inBinder, &outBinder)); in TEST_P()
554 EXPECT_OK(proc.rootIface->repeatBinder(nullptr, &outBinder)); in TEST_P()
565 EXPECT_OK(proc.rootIface->holdBinder(binder)); in TEST_P()
569 EXPECT_OK(proc.rootIface->getHeldBinder(&held)); in TEST_P()
575 EXPECT_OK(proc.rootIface->holdBinder(nullptr)); in TEST_P()
590 proc1.rootIface->repeatBinder(proc2.rootBinder, &outBinder).transactionError()); in TEST_P()
598 proc.rootIface->repeatBinder(proc.proc.sessions.at(1).root, &outBinder) in TEST_P()
608 proc.rootIface->repeatBinder(someRealBinder, &outBinder).transactionError()); in TEST_P()
626 EXPECT_OK(proc.rootIface->repeatBinder(proc.rootBinder, &outBinder)); in TEST_P()
634 EXPECT_OK(proc.rootIface->nestMe(nastyNester, 10)); in TEST_P()
645 EXPECT_OK(proc.rootIface->alwaysGiveMeTheSameBinder(&a)); in TEST_P()
648 EXPECT_OK(proc.rootIface->alwaysGiveMeTheSameBinder(&b)); in TEST_P()
657 EXPECT_OK(proc.rootIface->alwaysGiveMeTheSameBinder(&a)); in TEST_P()
662 EXPECT_OK(proc.rootIface->alwaysGiveMeTheSameBinder(&b)); in TEST_P()
689 EXPECT_OK(proc.rootIface->openSession("aoeu", &session)); in TEST_P()
694 expectSessions(1, proc.rootIface); in TEST_P()
696 expectSessions(0, proc.rootIface); in TEST_P()
705 expectSessions(i, proc.rootIface); in TEST_P()
707 EXPECT_OK(proc.rootIface->openSession(std::to_string(i), &session)); in TEST_P()
710 expectSessions(sessions.size(), proc.rootIface); in TEST_P()
716 expectSessions(sessions.size(), proc.rootIface); in TEST_P()
720 expectSessions(sessions.size(), proc.rootIface); in TEST_P()
722 expectSessions(0, proc.rootIface); in TEST_P()
738 EXPECT_OK(proc.rootIface->lock()); in TEST_P()
743 ts.push_back(std::thread([&] { proc.rootIface->lockUnlock(); })); in TEST_P()
754 EXPECT_OK(proc.rootIface->unlockInMsAsync(blockTimeMs)); in TEST_P()
776 ts.push_back(std::thread([&] { proc.rootIface->sleepMs(kSleepMs); })); in TEST_P()
801 EXPECT_OK(proc.rootIface->repeatBinder(proc.rootBinder, &out)); in TEST_P()
821 EXPECT_OK(proc.rootIface->sendString("a")); in TEST_P()
825 EXPECT_OK(proc.rootIface->sleepMs(250)); in TEST_P()
841 EXPECT_OK(proc.rootIface->sleepMsAsync(kSleepMs)); in TEST_P()
855 EXPECT_OK(proc.rootIface->lock()); in TEST_P()
859 proc.rootIface->sleepMsAsync(kSleepMs); in TEST_P()
862 EXPECT_OK(proc.rootIface->unlockInMsAsync(kSleepMs)); in TEST_P()
865 EXPECT_OK(proc.rootIface->lockUnlock()); in TEST_P()
878 EXPECT_OK(proc.rootIface->openSession("happy", &session)); in TEST_P()
881 EXPECT_OK(proc.rootIface->holdBinder(binder)); in TEST_P()
883 EXPECT_EQ(DEAD_OBJECT, proc.rootIface->die(doDeathCleanup).transactionError()) in TEST_P()