Searched refs:instance_dir (Results 1 – 7 of 7) sorted by relevance
68 auto instance_dir = parent_path + "/" + subdir; in FallbackPaths() local70 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()
71 std::string CuttlefishConfig::InstanceSpecific::instance_dir() const { in instance_dir() function in cuttlefish::CuttlefishConfig::InstanceSpecific75 const std::string& instance_dir) { in set_instance_dir() argument76 (*Dictionary())[kInstanceDir] = instance_dir; in set_instance_dir()361 return (instance_dir() + "/") + file_name; in PerInstancePath()
392 std::string instance_dir() const;464 void set_instance_dir(const std::string& instance_dir);
34 static bool EnsureInstanceDirExists(const std::string& instance_dir);
83 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()
44 std::string instance_dir = tmp_test_dir + "/cuttlefish_runtime.1"; in SetUpTestSuite() local45 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()
444 auto chdir_ret = chdir(instance.instance_dir().c_str()); in main()448 << instance.instance_dir() << "): " << strerror(error); in main()