Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp221 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, in RunCommandToFd() argument
223 if (full_command.empty()) { in RunCommandToFd()
228 int size = full_command.size() + 1; // null terminated in RunCommandToFd()
245 for (size_t i = 0; i < full_command.size(); i++) { in RunCommandToFd()
246 args[i + starting_index] = full_command[i].data(); in RunCommandToFd()
248 if (i != full_command.size() - 1) { in RunCommandToFd()
DDumpstateUtil.h195 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command,
Ddumpstate.cpp126 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
129 return ds.RunCommand(title, full_command, options, verbose_duration); in RunCommand()
3592 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
3596 int status = RunCommandToFd(STDOUT_FILENO, title, full_command, options); in RunCommand()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp546 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
550 int status = ds.RunCommand(title, full_command, options); in RunCommand()
1250 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
1253 int status = RunCommandToFd(fd, title, full_command, options); in RunCommand()