Move power dump text section out of hal_dumpstate_default
Bug: 273380985 Test: adb bugreport Change-Id: I5e104880d38c1a1b2dda4b48b0b3576b14a5ea8e
This commit is contained in:
parent
f2432e1c92
commit
c08f948ee3
3 changed files with 304 additions and 216 deletions
|
@ -28,8 +28,6 @@ namespace dumpstate {
|
|||
|
||||
class Dumpstate : public BnDumpstateDevice {
|
||||
public:
|
||||
Dumpstate();
|
||||
|
||||
::ndk::ScopedAStatus dumpstateBoard(const std::vector<::ndk::ScopedFileDescriptor>& in_fds,
|
||||
IDumpstateDevice::DumpstateMode in_mode,
|
||||
int64_t in_timeoutMillis) override;
|
||||
|
@ -41,14 +39,7 @@ class Dumpstate : public BnDumpstateDevice {
|
|||
private:
|
||||
const std::string kAllSections = "all";
|
||||
|
||||
std::vector<std::pair<std::string, std::function<void(int)>>> mTextSections;
|
||||
|
||||
void dumpTextSection(int fd, std::string const& sectionName);
|
||||
|
||||
// Text sections that can be dumped individually on the command line in
|
||||
// addition to being included in full dumps
|
||||
void dumpPowerSection(int fd);
|
||||
void dumpMemorySection(int fd);
|
||||
};
|
||||
|
||||
} // namespace dumpstate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue