Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp108 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();
118 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRoot() { in AsRoot() function in android::os::dumpstate::CommandOptions::CommandOptionsBuilder
127 return AsRoot(); in AsRootIfAvailable()
DDumpstateUtil.h106 CommandOptionsBuilder& AsRoot();
Ddumpstate.cpp387 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
1820 options.AsRoot(); in dumpstate()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp793 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()