Home
last modified time | relevance | path

Searched refs:instance_dir (Results 1 – 7 of 7) sorted by relevance

/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc68 auto instance_dir = parent_path + "/" + subdir; in FallbackPaths() local
70 paths.insert(instance_dir); in FallbackPaths()
72 paths.insert(instance_dir + "/*"); in FallbackPaths()
74 paths.insert(instance_dir + "/tombstones/*"); in FallbackPaths()
76 paths.insert(instance_dir + "/" + std::string(cuttlefish::kInternalDirName) + "/*"); in FallbackPaths()
78 paths.insert(instance_dir + "/" + std::string(cuttlefish::kSharedDirName) + "/*"); in FallbackPaths()
88 instance.instance_dir(), in PathsForInstance()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config_instance.cpp71 std::string CuttlefishConfig::InstanceSpecific::instance_dir() const { in instance_dir() function in cuttlefish::CuttlefishConfig::InstanceSpecific
75 const std::string& instance_dir) { in set_instance_dir() argument
76 (*Dictionary())[kInstanceDir] = instance_dir; in set_instance_dir()
361 return (instance_dir() + "/") + file_name; in PerInstancePath()
Dcuttlefish_config.h392 std::string instance_dir() const;
464 void set_instance_dir(const std::string& instance_dir);
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.h34 static bool EnsureInstanceDirExists(const std::string& instance_dir);
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc83 DEFINE_string(instance_dir,
806 paths.push_back(instance.instance_dir()); in CleanPriorFiles()
916 if (!cuttlefish::DirectoryExists(instance.instance_dir().c_str())) { in InitFilesystemAndCreateConfig()
918 if (mkdir(instance.instance_dir().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) < 0 in InitFilesystemAndCreateConfig()
925 auto internal_dir = instance.instance_dir() + "/" + cuttlefish::kInternalDirName; in InitFilesystemAndCreateConfig()
934 auto shared_dir = instance.instance_dir() + "/" + cuttlefish::kSharedDirName; in InitFilesystemAndCreateConfig()
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dservice_test.cpp44 std::string instance_dir = tmp_test_dir + "/cuttlefish_runtime.1"; in SetUpTestSuite() local
45 fs::create_directories(instance_dir); in SetUpTestSuite()
53 instance.set_instance_dir(instance_dir); in SetUpTestSuite()
63 fs::copy_file(instance_dir + "/cuttlefish_config.json", config_file, in SetUpTestSuite()
65 std::string icfilename = instance_dir + "/iccprofile_for_sim0.xml"; in SetUpTestSuite()
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc444 auto chdir_ret = chdir(instance.instance_dir().c_str()); in main()
448 << instance.instance_dir() << "): " << strerror(error); in main()