Searched refs:AsRoot (Results 1 – 4 of 4) sorted by relevance
108 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();118 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRoot() { in AsRoot() function in android::os::dumpstate::CommandOptions::CommandOptionsBuilder127 return AsRoot(); in AsRootIfAvailable()
106 CommandOptionsBuilder& AsRoot();
387 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();1820 options.AsRoot(); in dumpstate()
793 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()816 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()841 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()1529 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()1553 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()