Searched refs:WithTimeout (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 598 CommandOptions::WithTimeout(10).Log("COMMAND, Y U NO LOG FIRST?").Build())); in TEST_F() 605 CommandOptions::WithTimeout(10).RedirectStderr().Build())); in TEST_F() 641 … EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(10).Always().Build())); in TEST_F() 671 CommandOptions::WithTimeout(1).Build())); in TEST_F() 684 CommandOptions::WithTimeout(100).Always().Build())); in TEST_F() 722 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(20).Build())); in TEST_F() 728 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(4).Build())); in TEST_F() 736 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(3).Build())); in TEST_F() 743 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(2).Build())); in TEST_F() 749 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).Build())); in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 150 CommandOptions Dumpstate::DEFAULT_DUMPSYS = CommandOptions::WithTimeout(30).Build(); 387 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build(); 820 CommandOptions::WithTimeout(1).Always().DropRoot().Build()); in PrintHeader() 829 CommandOptions::WithTimeout(1).Always().Build()); in PrintHeader() 1057 CommandOptions::WithTimeout(PropertiesHelper::IsStrictRun() ? 20 : 120).Build()); in DumpIncidentReport() 1080 CommandOptions::WithTimeout(5).Build()); in DumpNetstatsProto() 1121 CommandOptions::WithTimeout(10).Build()); in DumpVisibleWindowViews() 1422 CommandOptions::WithTimeout(10).AsRootIfAvailable().Build(), in DumpHals() 1458 CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); in DumpHals() 1557 CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); in DumpstateLimitedOnly() [all …]
|
D | DumpstateUtil.cpp | 107 CommandOptions CommandOptions::DEFAULT = CommandOptions::WithTimeout(10).Build(); 108 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build(); 198 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout_sec) { in WithTimeout() function in android::os::dumpstate::CommandOptions
|
D | DumpstateUtil.h | 152 static CommandOptionsBuilder WithTimeout(int64_t timeout_sec);
|