Searched refs:Dumpstate (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 37 Dumpstate* ds = nullptr; 114 if (bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_FULL && in startBugreport() 115 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE && in startBugreport() 116 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_REMOTE && in startBugreport() 117 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WEAR && in startBugreport() 118 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_TELEPHONY && in startBugreport() 119 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WIFI && in startBugreport() 120 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_DEFAULT) { in startBugreport() 125 std::unique_ptr<Dumpstate::DumpOptions> options = std::make_unique<Dumpstate::DumpOptions>(); in startBugreport() 126 options->Initialize(static_cast<Dumpstate::BugreportMode>(bugreport_mode), bugreport_fd, in startBugreport() [all …]
|
D | dumpstate.cpp | 130 static Dumpstate& ds = Dumpstate::GetInstance(); 141 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build(); 143 typedef Dumpstate::ConsentCallback::ConsentResult UserConsentResult; 195 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 341 const CommandOptions& options = Dumpstate::DEFAULT_DUMPSYS, in RunDumpsys() 347 return ds.RunDumpsys(title, dumpsysArgs, Dumpstate::DEFAULT_DUMPSYS, 0, out_fd); in RunDumpsys() 727 Dumpstate::ConsentCallback::ConsentCallback() : result_(UNAVAILABLE), start_time_(Nanotime()) { in ConsentCallback() 730 android::binder::Status Dumpstate::ConsentCallback::onReportApproved() { in onReportApproved() 755 android::binder::Status Dumpstate::ConsentCallback::onReportDenied() { in onReportDenied() 762 UserConsentResult Dumpstate::ConsentCallback::getResult() { in getResult() [all …]
|
D | dumpstate.h | 199 class Dumpstate { 219 static Dumpstate& GetInstance(); 575 explicit Dumpstate(const std::string& version = VERSION_CURRENT); 581 DISALLOW_COPY_AND_ASSIGN(Dumpstate);
|
D | DumpstateService.h | 54 Dumpstate* ds_;
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 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() [all …]
|
D | dumpstate_smoke_test.cpp | 207 static Dumpstate& ds; 229 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance(); 507 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener, true); in TEST_F() 575 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener1, true); in TEST_F() 581 … Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener2, true); in TEST_F()
|