Android-cuttlefish cvd tool
Classes | Namespaces | Functions
utils.h File Reference
#include <signal.h>
#include <string>
#include <vector>
#include "cuttlefish/flag_parser/flag.h"
#include "cuttlefish/host/commands/cvd/cli/command_request.h"
#include "cuttlefish/process/command.h"
#include "cuttlefish/result/result.h"
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::ConstructCommandParam
 
struct  cuttlefish::ConstructNonHelpForm
 
struct  cuttlefish::TerminalSize
 

Namespaces

namespace  cuttlefish
 

Functions

Result< void > cuttlefish::CheckProcessExitedNormally (siginfo_t infop, int expected_exit_code)
 
Result< Command > cuttlefish::ConstructCommand (const ConstructCommandParam &param)
 
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)