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.cpp307 static const CommandOptions AS_ROOT_20 = CommandOptions::WithTimeout(20).AsRoot().Build();
1453 options.AsRoot(); in dumpstate()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp865 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()