Android-cuttlefish cvd tool
Functions
cuttlefish::anonymous_namespace{cas_downloader.cpp} Namespace Reference

Functions

std::set< std::string > GetSupportedFlags (const std::string &go_binary_path)
 
std::vector< std::string > CreateCasFlags (std::string downloader_path, Json::Value &config_flags)
 
std::string ToSeconds (int timeout)
 
Json::Value ConvertToConfigFlags (const CasDownloaderFlags &flags)
 
Command GetCommand (const std::string downloader_path, const std::vector< std::string > &flags, const CasIdentifier &cas_identifier, const std::string &target_directory, const std::optional< std::string > &stats_filepath)
 
void MergeCliValuesIntoConfig (const CasDownloaderFlags &flags, Json::Value &config_flags)
 
Result< bool > HasConfigFile (const FlagValue< std::string > &config_filepath_flag)
 

Function Documentation

◆ ConvertToConfigFlags()

Json::Value cuttlefish::anonymous_namespace{cas_downloader.cpp}::ConvertToConfigFlags ( const CasDownloaderFlags flags)

◆ CreateCasFlags()

std::vector< std::string > cuttlefish::anonymous_namespace{cas_downloader.cpp}::CreateCasFlags ( std::string  downloader_path,
Json::Value &  config_flags 
)

◆ GetCommand()

Command cuttlefish::anonymous_namespace{cas_downloader.cpp}::GetCommand ( const std::string  downloader_path,
const std::vector< std::string > &  flags,
const CasIdentifier cas_identifier,
const std::string &  target_directory,
const std::optional< std::string > &  stats_filepath 
)

◆ GetSupportedFlags()

std::set< std::string > cuttlefish::anonymous_namespace{cas_downloader.cpp}::GetSupportedFlags ( const std::string &  go_binary_path)

◆ HasConfigFile()

Result< bool > cuttlefish::anonymous_namespace{cas_downloader.cpp}::HasConfigFile ( const FlagValue< std::string > &  config_filepath_flag)

◆ MergeCliValuesIntoConfig()

void cuttlefish::anonymous_namespace{cas_downloader.cpp}::MergeCliValuesIntoConfig ( const CasDownloaderFlags flags,
Json::Value &  config_flags 
)

◆ ToSeconds()

std::string cuttlefish::anonymous_namespace{cas_downloader.cpp}::ToSeconds ( int  timeout)
inline