Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp264 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, in RunCommandToFd() argument
266 if (full_command.empty()) { in RunCommandToFd()
271 int size = full_command.size() + 1; // null terminated in RunCommandToFd()
288 for (size_t i = 0; i < full_command.size(); i++) { in RunCommandToFd()
289 args[i + starting_index] = full_command[i].data(); in RunCommandToFd()
291 if (i != full_command.size() - 1) { in RunCommandToFd()
DDumpstateUtil.h222 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command,
Ddumpstate.cpp140 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
143 return ds.RunCommand(title, full_command, options, verbose_duration, out_fd); in RunCommand()
4397 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
4402 int status = RunCommandToFd(out_fd, title, full_command, options); in RunCommand()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp519 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
523 int status = ds.RunCommand(title, full_command, options); in RunCommand()
1320 int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
1323 int status = RunCommandToFd(fd, title, full_command, options); in RunCommand()