collect log to debug RIL IPC issue

Bug: 161218754
Test: trigger SSR then bugreport.

      size of qrtr_0_log after unzip
      -rw------- 1 timtmlin primarygroup    18370 Jul 15 09:30 qrtr_0_log

      BR size increased by 3928 bytes that is 0.024%(0.00024) increasing
      16109538 Jul 17 13:41 bugreport-bramble-RVC-2020-07-15-09-29-47.zip
      16113466 Jul 17 13:33 bugreport-bramble-RVC-2020-07-15-09-29-47.zip

Change-Id: Iaec386437d72be3790299b9fa31a5ece722a0be9
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 729c1f2..05cdc60 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -355,6 +355,12 @@
                 modemLogAllDir.c_str());
         RunCommandToFd(STDOUT_FILENO, "Dump IPA log", {"/vendor/bin/sh", "-c", cmd});
 
+        //Dump QRTR0 log for QMI service state
+        snprintf(cmd, sizeof(cmd),
+                "cat /d/ipc_logging/qrtr_0/log > %s/qrtr_0_log",
+                modemLogAllDir.c_str());
+        RunCommandToFd(STDOUT_FILENO, "Dump QRTR0 log", {"/vendor/bin/sh", "-c", cmd});
+
         dumpLogs(STDOUT_FILENO, extendedLogDir, modemLogAllDir, 100, EXTENDED_LOG_PREFIX);
         android::base::SetProperty(MODEM_EFS_DUMP_PROPERTY, "false");
     }