Searched refs:AsRoot (Results 1 – 4 of 4) sorted by relevance
93 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();103 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRoot() { in AsRoot() function in android::os::dumpstate::CommandOptions::CommandOptionsBuilder112 return AsRoot(); in AsRootIfAvailable()
104 CommandOptionsBuilder& AsRoot();
307 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();1453 options.AsRoot(); in dumpstate()
865 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()888 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()913 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()1552 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()1576 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()