• Home
  • Raw
  • Download

Lines Matching refs:lshal

109 namespace lshal {  namespace
163 lshal = std::make_unique<Lshal>(out, err, serviceManager, serviceManager); in SetUp()
171 std::unique_ptr<Lshal> lshal; member in android::lshal::DebugTest
179 static Status callMain(const std::unique_ptr<T>& lshal, const std::vector<const char*>& args) { in callMain() argument
180 return lshal->main(createArg(args)); in callMain()
184 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
192 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
200 EXPECT_NE(0u, callMain(lshal, { in TEST_F()
207 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
217 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
225 EXPECT_EQ(0u, callMain(lshal, { in TEST_F()
243 explicit MockListCommand(Lshal* lshal) : ListCommand(*lshal) {} in MockListCommand() argument
381 lshal = std::make_unique<Lshal>(out, err, serviceManager, passthruManager); in SetUp()
386 mockList = std::make_unique<NiceMock<MockListCommand>>(lshal.get()); in initMockList()
449 std::unique_ptr<Lshal> lshal; member in android::lshal::ListTest
1041 lshal->setWaitTimeForTest(lshalIpcTimeout, lshalIpcTimeout); in TEST_F()
1057 lshal->setWaitTimeForTest(lshalIpcTimeout, lshalIpcTimeout); in TEST_F()
1124 lshal = std::make_unique<Lshal>(out, err, new MockServiceManager() /* serviceManager */, in SetUp()
1130 std::unique_ptr<Lshal> lshal; member in android::lshal::HelpTest
1134 (void)callMain(lshal, {"lshal", "--help"}); // ignore return in TEST_F()
1146 (void)callMain(lshal, {"lshal", "help"}); // ignore return in TEST_F()
1150 EXPECT_NE(0u, callMain(lshal, {"lshal", "--unknown-option"})); in TEST_F()
1158 (void)callMain(lshal, {"lshal", "help", "list"}); in TEST_F()
1164 EXPECT_NE(0u, callMain(lshal, {"lshal", "list", "--unknown-option"})); in TEST_F()
1172 (void)callMain(lshal, {"lshal", "help", "help"}); in TEST_F()
1178 (void)callMain(lshal, {"lshal", "help", "--unknown-option"}); in TEST_F()