move trusty dump from gs101 to gs-common
Bug: 244504232 Test: adb bugreport Change-Id: I486f18dc55eea3843972d856e81d736cd6c25141
This commit is contained in:
parent
115730d5aa
commit
b2d7dc9459
3 changed files with 3 additions and 6 deletions
|
@ -822,6 +822,9 @@ endif
|
|||
$(call inherit-product, system/core/trusty/trusty-storage.mk)
|
||||
$(call inherit-product, system/core/trusty/trusty-base.mk)
|
||||
|
||||
# Trusty dump
|
||||
include device/google/gs-common/trusty/trusty.mk
|
||||
|
||||
# Trusty unit test tool
|
||||
PRODUCT_PACKAGES_DEBUG += trusty-ut-ctrl
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -74,7 +74,6 @@ struct DumpstateDevice : public IDumpstateDevice {
|
|||
void dumpAoCSection(int fd);
|
||||
void dumpMiscSection(int fd);
|
||||
void dumpCameraSection(int fd);
|
||||
void dumpTrustySection(int fd);
|
||||
};
|
||||
|
||||
} // namespace implementation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue