summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Greg Kaiser <gkaiser@google.com> 2019-05-16 10:32:51 -0700
committer Greg Kaiser <gkaiser@google.com> 2019-05-20 05:41:02 -0700
commit3dfeda36853c8f2933f364ed04b4443b35f6ab48 (patch)
treecb2c619059185a58d6ba901ad219dae76a998580
parent090d0e3389074951d2bae7e44b5feab77992e5e8 (diff)
dumpstate: Increase timeout for lshal
On some Android Go devices, this command takes more than 2 seconds to complete. We change the timeout to 10 to match the timeout for this !isZipping() case. Bug: 132891629 Test: Confirmed this command doesn't get killed during a bugreport on a Go device Change-Id: Ia707a80638fba25adb86618aac69e47aae6b75c0
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 4ede29f782..0c4691e828 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1232,7 +1232,7 @@ static void DumpHals() {
}
DurationReporter duration_reporter("DUMP HALS");
RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z"},
- CommandOptions::WithTimeout(2).AsRootIfAvailable().Build());
+ CommandOptions::WithTimeout(10).AsRootIfAvailable().Build());
using android::hidl::manager::V1_0::IServiceManager;
using android::hardware::defaultServiceManager;