|
Android-cuttlefish cvd tool
|
#include "cuttlefish/host/commands/cvd/cli/utils.h"#include <asm-generic/ioctls.h>#include <errno.h>#include <fcntl.h>#include <signal.h>#include <stddef.h>#include <string.h>#include <sys/ioctl.h>#include <unistd.h>#include <iostream>#include <sstream>#include <string>#include <string_view>#include <unordered_map>#include <utility>#include <vector>#include "absl/strings/str_cat.h"#include "absl/strings/str_split.h"#include "absl/strings/strip.h"#include "android-base/file.h"#include "fmt/format.h"#include "fmt/ranges.h"#include "cuttlefish/ansi_codes/terminal_colors.h"#include "cuttlefish/common/libs/fs/fd.h"#include "cuttlefish/common/libs/utils/contains.h"#include "cuttlefish/common/libs/utils/files.h"#include "cuttlefish/common/libs/utils/gflags_xml_parser.h"#include "cuttlefish/common/libs/utils/in_sandbox.h"#include "cuttlefish/common/libs/utils/users.h"#include "cuttlefish/files/file_exists.h"#include "cuttlefish/flag_parser/flag.h"#include "cuttlefish/host/commands/cvd/cli/command_request.h"#include "cuttlefish/host/commands/cvd/instances/config_path.h"#include "cuttlefish/host/commands/cvd/utils/common.h"#include "cuttlefish/host/libs/config/config_constants.h"#include "cuttlefish/process/command.h"#include "cuttlefish/process/managed_stdio.h"#include "cuttlefish/result/result.h"
Namespaces | |
| namespace | cuttlefish |
Functions | |
| Result< void > | cuttlefish::CheckProcessExitedNormally (siginfo_t infop, int expected_exit_code) |
| static Command | cuttlefish::FixGroupsIfNecessary (const std::string &command_name, const std::string &bin_path) |
| Result< Command > | cuttlefish::ConstructCommand (const ConstructCommandParam ¶m) |
| Result< Command > | cuttlefish::ConstructCvdHelpCommand (const std::string &bin_file, std::unordered_map< std::string, std::string > envs, const std::vector< std::string > &subcmd_args, const CommandRequest &request) |
| Result< Command > | cuttlefish::ConstructSiblingHelpCommand (const std::string &bin_name, const std::unordered_map< std::string, std::string > &env, const std::vector< std::string > &subcmd_args) |
| Result< Command > | cuttlefish::ConstructCvdGenericNonHelpCommand (const ConstructNonHelpForm &request_form, const CommandRequest &request) |
| Result< std::vector< Flag > > | cuttlefish::GetSiblingCommandFlags (const std::string &bin_name, const std::unordered_map< std::string, std::string > &env, std::vector< std::string > args) |
| std::string | cuttlefish::NoGroupMessage (const CommandRequest &request) |
| Result< TerminalSize > | cuttlefish::GetTerminalSize () |
| std::vector< std::string > | cuttlefish::ExpandProductPaths (const std::string &product_path, size_t num_instances) |