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,
Dutils.cpp72 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
74 return ds.RunCommand(title, full_command, options); in RunCommand()
698 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
702 int status = RunCommandToFd(STDOUT_FILENO, title, full_command, options); in RunCommand()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp599 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
603 int status = ds.RunCommand(title, full_command, options); in RunCommand()
1385 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
1388 int status = RunCommandToFd(fd, title, full_command, options); in RunCommand()