Lines Matching refs:Dumpstate
161 options_ = Dumpstate::DumpOptions(); in SetUp()
165 Dumpstate::DumpOptions options_;
176 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
178 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
200 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
202 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
224 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
226 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
241 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_FULL, fd, fd, true); in TEST_F()
256 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, fd, fd, true); in TEST_F()
271 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_REMOTE, fd, fd, false); in TEST_F()
286 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_WEAR, fd, fd, true); in TEST_F()
301 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_TELEPHONY, fd, fd, false); in TEST_F()
317 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_WIFI, fd, fd, false); in TEST_F()
343 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
345 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
370 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
372 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
397 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
399 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
426 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
428 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F()
450 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
453 EXPECT_EQ(status, Dumpstate::RunStatus::HELP); in TEST_F()
464 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
467 EXPECT_EQ(status, Dumpstate::RunStatus::INVALID_INPUT); in TEST_F()
505 ds.options_.reset(new Dumpstate::DumpOptions()); in SetUp()
567 Dumpstate& ds = Dumpstate::GetInstance();
999 ds_.options_.reset(new Dumpstate::DumpOptions()); in SetUp()
1008 EXPECT_EQ(Dumpstate::RunStatus::OK, ds_.Run(/*calling_uid=*/-1, /*calling_package=*/"")); in GenerateBugreport()
1031 Dumpstate& ds_ = Dumpstate::GetInstance();