use radio dump in gs-common

Bug: 273380509
Test: adb bugreport
Change-Id: Id60eefa3a78186f2bf093295490fb7d2524bf80b
This commit is contained in:
Adam Shih 2023-03-24 12:42:07 +08:00 committed by TreeHugger Robot
parent 2dc504ae44
commit 43730de70c
3 changed files with 2 additions and 152 deletions

View file

@ -43,10 +43,6 @@ class Dumpstate : public BnDumpstateDevice {
const std::string kAllSections = "all";
std::vector<std::pair<std::string, std::function<void(int)>>> mTextSections;
std::vector<std::pair<std::string, std::function<void(int, const std::string &)>>> mLogSections;
void dumpLogs(int fd, std::string srcDir, std::string destDir, int maxFileNum,
const char *logPrefix);
void dumpTextSection(int fd, std::string const& sectionName);
@ -58,12 +54,6 @@ class Dumpstate : public BnDumpstateDevice {
void dumpLogSection(int fd, int fdModem);
// Log sections to be dumped individually into dumpstate_board.bin
void dumpRadioLogs(int fd, const std::string &destDir);
// Hybrid and binary sections that require an additional file descriptor
void dumpRilLogs(int fd, std::string destDir);
//bool getVerboseLoggingEnabledImpl();
//::ndk::ScopedAStatus dumpstateBoardImpl(const int fd, const bool full);
};