Lines Matching refs:CommandOptions
92 CommandOptions CommandOptions::DEFAULT = CommandOptions::WithTimeout(10).Build();
93 CommandOptions CommandOptions::AS_ROOT = CommandOptions::WithTimeout(10).AsRoot().Build();
95 CommandOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout_ms) : values(timeout_m… in 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()
134 return CommandOptions(values); in Build()
137 CommandOptions::CommandOptionsValues::CommandOptionsValues(int64_t timeout_ms) in CommandOptionsValues()
145 CommandOptions::CommandOptions(const CommandOptionsValues& values) : values(values) { in CommandOptions() function in android::os::dumpstate::CommandOptions
148 int64_t CommandOptions::Timeout() const { in Timeout()
152 int64_t CommandOptions::TimeoutInMs() const { in TimeoutInMs()
156 bool CommandOptions::Always() const { in Always()
160 PrivilegeMode CommandOptions::PrivilegeMode() const { in PrivilegeMode()
164 OutputMode CommandOptions::OutputMode() const { in OutputMode()
168 std::string CommandOptions::LoggingMessage() const { in LoggingMessage()
172 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout_sec) { in WithTimeout()
173 return CommandOptions::CommandOptionsBuilder(SEC_TO_MSEC(timeout_sec)); in WithTimeout()
176 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeoutInMs(int64_t timeout_ms) { in WithTimeoutInMs()
177 return CommandOptions::CommandOptionsBuilder(timeout_ms); in WithTimeoutInMs()
222 const CommandOptions& options) { in RunCommandToFd()