Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp621 CommandOptions::WithTimeout(10).Log("COMMAND, Y U NO LOG FIRST?").Build())); in TEST_F()
628 CommandOptions::WithTimeout(10).RedirectStderr().Build())); in TEST_F()
664 … EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(10).Always().Build())); in TEST_F()
694 CommandOptions::WithTimeout(1).Build())); in TEST_F()
707 CommandOptions::WithTimeout(100).Always().Build())); in TEST_F()
745 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(20).Build())); in TEST_F()
751 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(4).Build())); in TEST_F()
759 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(3).Build())); in TEST_F()
766 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(2).Build())); in TEST_F()
772 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).Build())); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp136 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build();
329 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
752 CommandOptions::WithTimeout(1).Always().Build()); in PrintHeader()
994 RunCommandToFd(fd, "", {"incident", "-u"}, CommandOptions::WithTimeout(120).Build()); in DumpIncidentReport()
1020 CommandOptions::WithTimeout(120).Build()); in DumpVisibleWindowViews()
1300 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1305 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); in DumpHals()
1339 CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); in DumpHals()
1418 CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); in DumpstateLimitedOnly()
1564 CommandOptions::WithTimeout(rilDumpstateTimeout); in dumpstate()
[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);