Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp93 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();
103 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRoot() { in AsRoot() function in android::os::dumpstate::CommandOptions::CommandOptionsBuilder
112 return AsRoot(); in AsRootIfAvailable()
DDumpstateUtil.h104 CommandOptionsBuilder& AsRoot();
Ddumpstate.cpp268 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
1448 options.AsRoot(); in dumpstate()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp907 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()
930 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()
955 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()
1602 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()
1626 CommandOptions::WithTimeout(1).AsRoot().Build())); in TEST_F()