summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-05-18 02:12:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-05-18 02:12:28 +0000
commit022f994519327944ecc593aeb4a33f2ff546af05 (patch)
tree4b8364168bd39f8f25763c668937a9bf8836d68f
parentca5d526aa3a2168052740b8b4d25690e265825f5 (diff)
parent7bafd70ad64348b29420046822a6aa0701c29fc9 (diff)
downloadnative-022f994519327944ecc593aeb4a33f2ff546af05.tar.gz
Merge "Run distinct command to dump HIGH connectivity"android-s-beta-2android-s-beta-1
-rw-r--r--cmds/dumpstate/dumpstate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 95c4923ba0..c9a7c7b90e 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1695,6 +1695,12 @@ static Dumpstate::RunStatus dumpstate() {
RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunDumpsysHigh);
+ // The dump mechanism in connectivity is refactored due to modularization work. Connectivity can
+ // only register with a default priority(NORMAL priority). Dumpstate has to call connectivity
+ // dump with priority parameters to dump high priority information.
+ RunDumpsys("SERVICE HIGH connectivity", {"connectivity", "--dump-priority", "HIGH"},
+ CommandOptions::WithTimeout(10).Build());
+
RunCommand("SYSTEM PROPERTIES", {"getprop"});
RunCommand("STORAGED IO INFO", {"storaged", "-u", "-p"});