Android-cuttlefish cvd tool
Namespaces | Functions
cas_downloader.cpp File Reference
#include "cuttlefish/host/libs/web/cas/cas_downloader.h"
#include <stdint.h>
#include <cstddef>
#include <cstdio>
#include <map>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/log/log.h"
#include "absl/strings/match.h"
#include "absl/strings/str_join.h"
#include "absl/strings/str_split.h"
#include "json/value.h"
#include "cuttlefish/common/libs/utils/files.h"
#include "cuttlefish/common/libs/utils/json.h"
#include "cuttlefish/files/file_exists.h"
#include "cuttlefish/host/libs/web/android_build.h"
#include "cuttlefish/host/libs/web/cas/cas_flags.h"
#include "cuttlefish/posix/remove.h"
#include "cuttlefish/process/command.h"
#include "cuttlefish/process/managed_stdio.h"
#include "cuttlefish/result/result.h"
Include dependency graph for cas_downloader.cpp:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{cas_downloader.cpp}
 

Functions

std::set< std::string > cuttlefish::anonymous_namespace{cas_downloader.cpp}::GetSupportedFlags (const std::string &go_binary_path)
 
std::vector< std::string > cuttlefish::anonymous_namespace{cas_downloader.cpp}::CreateCasFlags (std::string downloader_path, Json::Value &config_flags)
 
std::string cuttlefish::anonymous_namespace{cas_downloader.cpp}::ToSeconds (int timeout)
 
Json::Value cuttlefish::anonymous_namespace{cas_downloader.cpp}::ConvertToConfigFlags (const CasDownloaderFlags &flags)
 
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)
 
void cuttlefish::anonymous_namespace{cas_downloader.cpp}::MergeCliValuesIntoConfig (const CasDownloaderFlags &flags, Json::Value &config_flags)
 
Result< bool > cuttlefish::anonymous_namespace{cas_downloader.cpp}::HasConfigFile (const FlagValue< std::string > &config_filepath_flag)
 
void cuttlefish::AppendBuildInfoToInvocationId (const DeviceBuild &build, std::vector< std::string > &cas_flags)
 
std::string cuttlefish::ConstructBuildDesc (const std::string &build_id, const std::string &build_target)