Searched refs:Dumpstate (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 37 Dumpstate* ds = nullptr; 108 ds_ = &(Dumpstate::GetInstance()); in preDumpUiData() 143 if (bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_FULL && in startBugreport() 144 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE && in startBugreport() 145 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_REMOTE && in startBugreport() 146 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WEAR && in startBugreport() 147 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_TELEPHONY && in startBugreport() 148 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_WIFI && in startBugreport() 149 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_ONBOARDING && in startBugreport() 150 bugreport_mode != Dumpstate::BugreportMode::BUGREPORT_DEFAULT) { in startBugreport() [all …]
|
D | dumpstate.cpp | 139 static Dumpstate& ds = Dumpstate::GetInstance(); 150 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build(); 152 typedef Dumpstate::ConsentCallback::ConsentResult UserConsentResult; 213 return Dumpstate::RunStatus::USER_CONSENT_DENIED; \ 361 const CommandOptions& options = Dumpstate::DEFAULT_DUMPSYS, in RunDumpsys() 367 return ds.RunDumpsys(title, dumpsysArgs, Dumpstate::DEFAULT_DUMPSYS, 0, out_fd); in RunDumpsys() 746 Dumpstate::ConsentCallback::ConsentCallback() : result_(UNAVAILABLE), start_time_(Nanotime()) { in ConsentCallback() 749 android::binder::Status Dumpstate::ConsentCallback::onReportApproved() { in onReportApproved() 774 android::binder::Status Dumpstate::ConsentCallback::onReportDenied() { in onReportDenied() 781 UserConsentResult Dumpstate::ConsentCallback::getResult() { in getResult() [all …]
|
D | dumpstate.h | 189 class Dumpstate { 220 static Dumpstate& GetInstance(); 428 BugreportMode bugreport_mode = Dumpstate::BugreportMode::BUGREPORT_DEFAULT; 604 explicit Dumpstate(const std::string& version = VERSION_CURRENT); 610 DISALLOW_COPY_AND_ASSIGN(Dumpstate);
|
D | DumpstateService.h | 67 Dumpstate* ds_;
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 165 options_ = Dumpstate::DumpOptions(); in SetUp() 169 Dumpstate::DumpOptions options_; 180 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 182 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 203 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 205 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 226 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F() 228 EXPECT_EQ(status, Dumpstate::RunStatus::OK); in TEST_F() 242 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_FULL, 0, fd, fd, true, false); in TEST_F() 256 options_.Initialize(Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, 0, fd, fd, true, false); in TEST_F() [all …]
|
D | dumpstate_smoke_test.cpp | 207 static Dumpstate& ds; 229 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance(); 509 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, flags, listener, in TEST_F() 581 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, flags, listener1, in TEST_F() 589 Dumpstate::BugreportMode::BUGREPORT_INTERACTIVE, flags, in TEST_F()
|