From 85e0db36d2c0cff4659792949248b781184805a1 Mon Sep 17 00:00:00 2001 From: Chiachang Wang Date: Mon, 25 Mar 2019 08:59:55 +0800 Subject: Add netd and connmetrics into telephony dump In order to debug data related issues, it will need to include both netd and connmetrics information to bugreport to understand how the network modules behave at reported timestamp. Bug: 129101113 Test: - Build - $ adb shell setprop dumpstate.options bugreporttelephony $ adb shell dumpstate Change-Id: I48b5d424234c265ce25758f5014ce8a07dd3e381 --- cmds/dumpstate/dumpstate.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmds/dumpstate/dumpstate.cpp') diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index daee7e5597..c1a4b3bc9a 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1577,6 +1577,9 @@ static void DumpstateTelephonyOnly() { RunDumpsys("DUMPSYS", {"connectivity"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); + RunDumpsys("DUMPSYS", {"connmetrics"}, CommandOptions::WithTimeout(90).Build(), + SEC_TO_MSEC(10)); + RunDumpsys("DUMPSYS", {"netd"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); RunDumpsys("DUMPSYS", {"carrier_config"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(), -- cgit v1.2.3-59-g8ed1b