Home
last modified time | relevance | path

Searched refs:WithTimeout (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp669 CommandOptions::WithTimeout(10).Log("COMMAND, Y U NO LOG FIRST?").Build())); in TEST_F()
676 CommandOptions::WithTimeout(10).RedirectStderr().Build())); in TEST_F()
712 … EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(10).Always().Build())); in TEST_F()
742 CommandOptions::WithTimeout(1).Build())); in TEST_F()
755 CommandOptions::WithTimeout(100).Always().Build())); in TEST_F()
794 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(20).Build())); in TEST_F()
800 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(4).Build())); in TEST_F()
808 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(3).Build())); in TEST_F()
815 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(2).Build())); in TEST_F()
821 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).Build())); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp130 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build();
307 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
707 CommandOptions::WithTimeout(1).Always().Build()); in PrintHeader()
949 RunCommandToFd(fd, "", {"incident", "-u"}, CommandOptions::WithTimeout(120).Build()); in DumpIncidentReport()
1230 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1235 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1269 CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); in DumpHals()
1451 CommandOptions::WithTimeout(rilDumpstateTimeout); in dumpstate()
1484 const CommandOptions DUMPSYS_COMPONENTS_OPTIONS = CommandOptions::WithTimeout(60).Build(); in dumpstate()
1586 RunCommand("IP XFRM POLICY", {"ip", "xfrm", "policy"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefault()
[all …]
DDumpstateUtil.cpp92 CommandOptions CommandOptions::DEFAULT = CommandOptions::WithTimeout(10).Build();
93 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();
172 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout_sec) { in WithTimeout() function in android::os::dumpstate::CommandOptions
DDumpstateUtil.h141 static CommandOptionsBuilder WithTimeout(int64_t timeout_sec);