move trusty dump from gs101 to gs-common

Bug: 244504232
Test: adb bugreport
Change-Id: I486f18dc55eea3843972d856e81d736cd6c25141
This commit is contained in:
Adam Shih 2022-10-04 09:02:17 +08:00
parent 115730d5aa
commit b2d7dc9459
3 changed files with 3 additions and 6 deletions

View file

@ -262,7 +262,6 @@ DumpstateDevice::DumpstateDevice()
{ "aoc", [this](int fd) { dumpAoCSection(fd); } },
{ "misc", [this](int fd) { dumpMiscSection(fd); } },
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
{ "trusty", [this](int fd) { dumpTrustySection(fd); } },
} {
}
@ -974,10 +973,6 @@ void DumpstateDevice::dumpCameraSection(int fd) {
CommandOptions::WithTimeout(4).Build());
}
void DumpstateDevice::dumpTrustySection(int fd) {
DumpFileToFd(fd, "Trusty TEE0 Logs", "/dev/trusty-log0");
}
static void *dumpModemThread(void *data) {
std::string modemLogDir = MODEM_LOG_DIRECTORY;
std::string extendedLogDir = MODEM_EXTENDED_LOG_DIRECTORY;