Home
last modified time | relevance | path

Searched refs:StringFromEnv (Results 1 – 16 of 16) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Dconfig_utils.cpp51 std::string instance_str = StringFromEnv(kCuttlefishInstanceEnvVarName, ""); in InstanceFromEnvironment()
54 instance_str = StringFromEnv("USER", ""); in InstanceFromEnvironment()
87 return StringFromEnv("HOME", ".") + "/.cuttlefish_config.json"; in GetGlobalConfigFileLink()
108 return (StringFromEnv("ANDROID_HOST_OUT", StringFromEnv("HOME", ".")) + "/") + in DefaultHostArtifactsPath()
117 const std::string target_prod_str = StringFromEnv("TARGET_PRODUCT", ""); in UseQemuPrebuilt()
152 return (StringFromEnv("ANDROID_PRODUCT_OUT", StringFromEnv("HOME", "."))) + in DefaultGuestImagePath()
Dcuttlefish_config.cpp74 return StringFromEnv(environment_key, default_value) + "/" + subpath; in DefaultEnvironmentPath()
615 StringFromEnv(kCuttlefishConfigEnvVarName, GetGlobalConfigFileLink()); in Get()
622 auto config_file_path = StringFromEnv(kCuttlefishConfigEnvVarName, in ConfigExists()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags_defaults.h28 (StringFromEnv("HOME", ".") + "/cuttlefish_assembly")
29 #define CF_DEFAULTS_INSTANCE_DIR (StringFromEnv("HOME", ".") + "/cuttlefish")
Dassemble_cvd.cc47 using cuttlefish::StringFromEnv;
76 std::string home_directory = StringFromEnv("HOME", CurrentDirectory()); in FindFetcherConfig()
Dflags.cc72 using cuttlefish::StringFromEnv;
590 std::string current_path = StringFromEnv("PATH", ""); in ReadGuestConfig()
624 StringFromEnv("TEMP", "/tmp") + "/ikconfig.XXXXXX"; in ReadGuestConfig()
2174 return StringFromEnv("HOME", ".") + "/.cuttlefish.sh"; in GetCuttlefishEnvPath()
Dboot_image_utils.cc451 sprintf(tmp_dir, "%s/XXXXXX", StringFromEnv("TEMP", "/tmp").c_str()); in ReadAndroidVersionFromBootImage()
Dvendor_dlkm_utils.cc300 StringFromEnv("PATH", "") + ":" + cpp_dirname(avb_cmd.Executable()); in AddVbmetaFooter()
/device/google/cuttlefish/host/libs/vm_manager/
Dgem5_manager.cpp41 using cuttlefish::StringFromEnv;
195 starter_fs_ofstream << " root_dir = \"" << StringFromEnv("HOME", ".") << "\"\n"; in GenerateGem5File()
/device/google/cuttlefish/common/libs/utils/
Denvironment.h30 std::string StringFromEnv(const std::string& varname,
Denvironment.cpp32 std::string StringFromEnv(const std::string& varname, in StringFromEnv() function
Dtee_logging.cpp117 std::string env_value = StringFromEnv(env_var, ""); in GuessSeverity()
/device/google/cuttlefish/host/commands/start/
Dfilesystem_explorer.cc43 cuttlefish::StringFromEnv("HOME", cuttlefish::CurrentDirectory()); in AvailableFilesReport()
/device/google/cuttlefish/host/commands/acloud_translator/
Dmain.cpp32 auto android_top = StringFromEnv("ANDROID_BUILD_TOP", ""); in FallbackToPythonAcloud()
/device/google/cuttlefish/host/commands/snapshot_util_cvd/
Dsnapshot_taker.cc45 const auto cuttlefish_home = StringFromEnv("HOME", ""); in HandleHostGroupSnapshot()
/device/google/cuttlefish/host/libs/command_util/
Dsnapshot_utils.cc218 const auto cuttlefish_home = StringFromEnv("HOME", ""); in CreateMetaInfo()
/device/google/cuttlefish/host/commands/stop/
Dmain.cc48 std::string parent_path = StringFromEnv("HOME", "."); in FallbackDirs()