summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sooraj Sasindran <sasindran@google.com> 2018-05-19 15:52:17 -0700
committer Sooraj Sasindran <sasindran@google.com> 2018-05-19 15:52:17 -0700
commita0829e7e1427d101046b33f8fb2ac752b94927f3 (patch)
tree4ee66146f26f0cd4999de75cdc952b7447bcabaf
parent1236c388170f352adf9c9a3347de4560995c20b1 (diff)
Add non platform services to telephony bugreport
Add non platform services to telephony bugreport Bug: 79400204 Test: Tested telephony bugreport and confirmed existence of Location service Tested the size difference. Here is the final results Without the change: 3MB With the change: 5 MB Full bugreport:10 MB Change-Id: If128a33106d70e827c7c26f0195c84e5722f6f3d
-rw-r--r--cmds/dumpstate/dumpstate.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 3e7d2a07bc..9d897f523d 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1504,6 +1504,7 @@ static void DumpstateRadioCommon() {
// This method collects dumpsys for telephony debugging only
static void DumpstateTelephonyOnly() {
DurationReporter duration_reporter("DUMPSTATE");
+ const CommandOptions DUMPSYS_COMPONENTS_OPTIONS = CommandOptions::WithTimeout(60).Build();
DumpstateRadioCommon();
@@ -1529,6 +1530,13 @@ static void DumpstateTelephonyOnly() {
RunDumpsys("TELEPHONY SERVICES", {"activity", "service", "TelephonyDebugService"});
printf("========================================================\n");
+ printf("== Running Application Services (non-platform)\n");
+ printf("========================================================\n");
+
+ RunDumpsys("APP SERVICES NON-PLATFORM", {"activity", "service", "all-non-platform"},
+ DUMPSYS_COMPONENTS_OPTIONS);
+
+ printf("========================================================\n");
printf("== dumpstate: done (id %d)\n", ds.id_);
printf("========================================================\n");
}