Home
last modified time | relevance | path

Searched refs:CommandOptionsBuilder (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.h88 friend class CommandOptionsBuilder; variable
96 class CommandOptionsBuilder {
99 CommandOptionsBuilder& Always();
104 CommandOptionsBuilder& AsRoot();
110 CommandOptionsBuilder& AsRootIfAvailable();
112 CommandOptionsBuilder& DropRoot();
114 CommandOptionsBuilder& RedirectStderr();
117 CommandOptionsBuilder& Log(const std::string& message);
122 explicit CommandOptionsBuilder(int64_t timeout_ms);
141 static CommandOptionsBuilder WithTimeout(int64_t timeout_sec);
[all …]
DDumpstateUtil.cpp95 CommandOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout_ms) : values(timeout_m… in CommandOptionsBuilder() function in android::os::dumpstate::CommandOptions::CommandOptionsBuilder
98 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::Always() { in Always()
103 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRoot() { in AsRoot()
110 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::AsRootIfAvailable() { in AsRootIfAvailable()
117 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::DropRoot() { in DropRoot()
122 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::RedirectStderr() { in RedirectStderr()
127 CommandOptions::CommandOptionsBuilder& CommandOptions::CommandOptionsBuilder::Log( in Log()
133 CommandOptions CommandOptions::CommandOptionsBuilder::Build() { in Build()
172 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout_sec) { in WithTimeout()
173 return CommandOptions::CommandOptionsBuilder(SEC_TO_MSEC(timeout_sec)); in WithTimeout()
[all …]
Ddumpstate.cpp1450 CommandOptions::CommandOptionsBuilder options = in dumpstate()