Searched refs:Dumpstate (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 37 Dumpstate* ds = nullptr; 109 if (bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_FULL && in startBugreport() 110 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE && in startBugreport() 111 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_REMOTE && in startBugreport() 112 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WEAR && in startBugreport() 113 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_TELEPHONY && in startBugreport() 114 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WIFI && in startBugreport() 115 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_DEFAULT) { in startBugreport() 120 std::unique_ptr<Dumpstate::DumpOptions> options = std::make_unique<Dumpstate::DumpOptions>(); in startBugreport() 121 options->Initialize(static_cast<Dumpstate::BugreportMode>(bugreport_mode), bugreport_fd, in startBugreport() [all …]
|
D | dumpstate.cpp | 125 static Dumpstate& ds = Dumpstate::GetInstance(); 136 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build(); 138 typedef Dumpstate::ConsentCallback::ConsentResult UserConsentResult; 188 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 307 const CommandOptions& options = Dumpstate::DEFAULT_DUMPSYS, in RunDumpsys() 676 Dumpstate::ConsentCallback::ConsentCallback() : result_(UNAVAILABLE), start_time_(Nanotime()) { in ConsentCallback() 679 android::binder::Status Dumpstate::ConsentCallback::onReportApproved() { in onReportApproved() 704 android::binder::Status Dumpstate::ConsentCallback::onReportDenied() { in onReportDenied() 711 UserConsentResult Dumpstate::ConsentCallback::getResult() { in getResult() 716 uint64_t Dumpstate::ConsentCallback::getElapsedTimeMs() const { in getElapsedTimeMs() [all …]
|
D | dumpstate.h | 195 class Dumpstate { 214 static Dumpstate& GetInstance(); 538 explicit Dumpstate(const std::string& version = VERSION_CURRENT); 542 DISALLOW_COPY_AND_ASSIGN(Dumpstate);
|
D | DumpstateService.h | 55 Dumpstate* ds_;
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 154 options_ = Dumpstate::DumpOptions(); in SetUp() 158 Dumpstate::DumpOptions options_; 169 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 171 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 197 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 199 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 223 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 225 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 242 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_FULL, fd, fd, true); in TEST_F() 260 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, fd, fd, true); in TEST_F() [all …]
|
D | dumpstate_smoke_test.cpp | 210 static Dumpstate& ds; 235 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance(); 463 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener, true); in TEST_F() 531 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener1, true); in TEST_F() 537 … Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, listener2, true); in TEST_F()
|