Merge "dumpstate: Trigger modemstat as doing dumpstate" into qt-qpr1-dev

am: 0b423b568e

Change-Id: I7c0d3e17f3e1eca7dea7f5cd40fb2f6a4ee9c2b9
This commit is contained in:
SalmaxChang
2019-11-19 22:11:58 -08:00
committed by android-build-merger

View File

@@ -437,6 +437,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
return Void();
}
RunCommandToFd(fd, "Notify modem", {"/vendor/bin/modem_svc", "-s"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"});
DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number");
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");