• Home
  • Raw
  • Download

Lines Matching refs:lshal

92 namespace lshal {  namespace
140 lshal = std::make_unique<Lshal>(out, err, serviceManager, serviceManager); in SetUp()
148 std::unique_ptr<Lshal> lshal; member in android::lshal::DebugTest
156 static Status callMain(const std::unique_ptr<T>& lshal, const std::vector<const char*>& args) { in callMain() argument
157 return lshal->main(createArg(args)); in callMain()
161 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
169 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
177 EXPECT_NE(0u, callMain(lshal, { in TEST_F()
194 explicit MockListCommand(Lshal* lshal) : ListCommand(*lshal) {} in MockListCommand() argument
332 lshal = std::make_unique<Lshal>(out, err, serviceManager, passthruManager); in SetUp()
337 mockList = std::make_unique<NiceMock<MockListCommand>>(lshal.get()); in initMockList()
400 std::unique_ptr<Lshal> lshal; member in android::lshal::ListTest
826 lshal = std::make_unique<Lshal>(out, err, new MockServiceManager() /* serviceManager */, in SetUp()
832 std::unique_ptr<Lshal> lshal; member in android::lshal::HelpTest
836 (void)callMain(lshal, {"lshal", "--help"}); // ignore return in TEST_F()
848 (void)callMain(lshal, {"lshal", "help"}); // ignore return in TEST_F()
852 EXPECT_NE(0u, callMain(lshal, {"lshal", "--unknown-option"})); in TEST_F()
860 (void)callMain(lshal, {"lshal", "help", "list"}); in TEST_F()
866 EXPECT_NE(0u, callMain(lshal, {"lshal", "list", "--unknown-option"})); in TEST_F()
874 (void)callMain(lshal, {"lshal", "help", "help"}); in TEST_F()
880 (void)callMain(lshal, {"lshal", "help", "--unknown-option"}); in TEST_F()