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.cpp120 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
123 return ds.RunCommand(title, full_command, options, verbose_duration); in RunCommand()
3580 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
3584 int status = RunCommandToFd(STDOUT_FILENO, title, full_command, options); in RunCommand()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp593 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
597 int status = ds.RunCommand(title, full_command, options); in RunCommand()
1343 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
1346 int status = RunCommandToFd(fd, title, full_command, options); in RunCommand()