Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp592 CommandOptions::WithTimeout(10).Log("COMMAND, Y U NO LOG FIRST?").Build())); in TEST_F()
599 CommandOptions::WithTimeout(10).RedirectStderr().Build())); in TEST_F()
635 … EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(10).Always().Build())); in TEST_F()
665 CommandOptions::WithTimeout(1).Build())); in TEST_F()
678 CommandOptions::WithTimeout(100).Always().Build())); in TEST_F()
716 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(20).Build())); in TEST_F()
722 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(4).Build())); in TEST_F()
730 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(3).Build())); in TEST_F()
737 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(2).Build())); in TEST_F()
743 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).Build())); in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp141 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build();
367 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
806 CommandOptions::WithTimeout(1).Always().Build()); in PrintHeader()
1048 RunCommandToFd(fd, "", {"incident", "-u"}, CommandOptions::WithTimeout(120).Build()); in DumpIncidentReport()
1094 CommandOptions::WithTimeout(120).Build()); in DumpVisibleWindowViews()
1382 CommandOptions::WithTimeout(60).AsRootIfAvailable().Build(), in DumpHals()
1387 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build(), in DumpHals()
1423 CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); in DumpHals()
1503 CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); in DumpstateLimitedOnly()
1505 CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); in DumpstateLimitedOnly()
[all …]
DDumpstateUtil.cpp92 CommandOptions CommandOptions::DEFAULT = CommandOptions::WithTimeout(10).Build();
93 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();
183 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout_sec) { in WithTimeout() function in android::os::dumpstate::CommandOptions
DDumpstateUtil.h151 static CommandOptionsBuilder WithTimeout(int64_t timeout_sec);