Searched refs:WithTimeout (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 621 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/ |
D | dumpstate.cpp | 136 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 …]
|
D | DumpstateUtil.cpp | 92 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
|
D | DumpstateUtil.h | 141 static CommandOptionsBuilder WithTimeout(int64_t timeout_sec);
|