Searched refs:Dumpstate (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 73 static Dumpstate& ds = Dumpstate::GetInstance(); 83 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build(); 85 Dumpstate::Dumpstate(const std::string& version) in Dumpstate() function in Dumpstate 89 Dumpstate& Dumpstate::GetInstance() { in GetInstance() 90 static Dumpstate singleton_(android::base::GetProperty("dumpstate.version", VERSION_CURRENT)); in GetInstance() 223 bool Dumpstate::IsZipping() const { in IsZipping() 227 std::string Dumpstate::GetPath(const std::string& suffix) const { in GetPath() 232 void Dumpstate::SetProgress(std::unique_ptr<Progress> progress) { in SetProgress() 559 int Dumpstate::DumpFile(const std::string& title, const std::string& path) { in DumpFile() 678 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() [all …]
|
D | dumpstate.h | 182 class Dumpstate { 188 static Dumpstate& GetInstance(); 376 Dumpstate(const std::string& version = VERSION_CURRENT); 378 DISALLOW_COPY_AND_ASSIGN(Dumpstate);
|
D | DumpstateService.h | 45 Dumpstate& ds_;
|
D | dumpstate.cpp | 124 static Dumpstate& ds = Dumpstate::GetInstance(); 130 const CommandOptions& options = Dumpstate::DEFAULT_DUMPSYS, in RunDumpsys() 689 void Dumpstate::PrintHeader() const { in PrintHeader() 732 status_t Dumpstate::AddZipEntryFromFd(const std::string& entry_name, int fd, in AddZipEntryFromFd() 810 bool Dumpstate::AddZipEntry(const std::string& entry_name, const std::string& entry_path) { in AddZipEntry() 826 void Dumpstate::AddDir(const std::string& dir, bool recursive) { in AddDir() 836 bool Dumpstate::AddTextZipEntry(const std::string& entry_name, const std::string& content) { in AddTextZipEntry() 1564 void Dumpstate::DumpstateBoard() { in DumpstateBoard() 1710 bool Dumpstate::FinishZipFile() { in FinishZipFile()
|
D | DumpstateService.cpp | 34 DumpstateService::DumpstateService() : ds_(Dumpstate::GetInstance()) { in DumpstateService()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 81 static Dumpstate& ds; 111 Dumpstate& ZippedBugreportGenerationTest::ds = Dumpstate::GetInstance();
|
D | dumpstate_test.cpp | 201 Dumpstate& ds = Dumpstate::GetInstance(); 623 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F() 624 EXPECT_FALSE(Dumpstate::GetInstance().report_section_); in TEST_F() 630 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F() 631 EXPECT_FALSE(Dumpstate::GetInstance().report_section_); in TEST_F() 637 Dumpstate::GetInstance().listener_ = nullptr; in TEST_F() 641 EXPECT_THAT(Dumpstate::GetInstance().listener_name_, StrEq("whatever")); in TEST_F() 642 EXPECT_TRUE(Dumpstate::GetInstance().report_section_); in TEST_F()
|