Android-cuttlefish cvd tool
Namespaces | Functions | Variables
common.h File Reference
#include <string>
#include <string_view>
#include <unordered_map>
#include "cuttlefish/result/result.h"
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

std::string cuttlefish::CvdDir ()
 
std::string cuttlefish::PerUserDir ()
 
std::string cuttlefish::PerUserCacheDir ()
 
std::string cuttlefish::InstanceDatabasePath ()
 
std::string cuttlefish::InstanceLocksPath ()
 
Result< std::string > cuttlefish::GroupDirFromHome (std::string_view dir)
 
std::string cuttlefish::AssemblyDirFromHome (const std::string &group_home_dir)
 
Result< std::string > cuttlefish::AndroidHostPath (const std::unordered_map< std::string, std::string > &envs)
 

Variables

static constexpr char cuttlefish::kCvdMarkEnv [] = "_STARTED_BY_CVD_SERVER_"
 
constexpr char cuttlefish::kServerExecPath [] = "/proc/self/exe"
 
constexpr char cuttlefish::kAndroidHostOut [] = "ANDROID_HOST_OUT"
 
constexpr char cuttlefish::kAndroidSoongHostOut [] = "ANDROID_SOONG_HOST_OUT"
 
constexpr char cuttlefish::kAndroidProductOut [] = "ANDROID_PRODUCT_OUT"