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

This commit is contained in:
TreeHugger Robot
2019-11-20 06:07:25 +00:00
committed by Android (Google) Code Review

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");