Home
last modified time | relevance | path

Searched refs:FileExists (Results 1 – 25 of 37) sorted by relevance

12

/device/google/cuttlefish/host/commands/assemble_cvd/
Ddisk_flags.cc216 CF_EXPECT(FileExists(kernel_16k), in ResolveInstanceFiles()
218 CF_EXPECT(FileExists(ramdisk_16k), in ResolveInstanceFiles()
341 if (FileExists(init_boot_path)) { in android_composite_disk_config()
364 if (!FileExists(vbmeta_image)) { in android_composite_disk_config()
388 if (!FileExists(vbmeta_vendor_dlkm_img)) { in android_composite_disk_config()
391 if (FileExists(vbmeta_vendor_dlkm_img)) { in android_composite_disk_config()
404 if (!FileExists(vbmeta_system_dlkm_img)) { in android_composite_disk_config()
407 if (FileExists(vbmeta_system_dlkm_img)) { in android_composite_disk_config()
420 if (!FileExists(super_image)) { in android_composite_disk_config()
429 if (!FileExists(data_image)) { in android_composite_disk_config()
[all …]
Dboot_image_utils.cc66 if (!FileExists(current_file) || in DeleteTmpFileIfNotChanged()
208 if (FileExists(unpack_dir + "/vendor_boot_params")) { in UnpackVendorBootImageIfNotUnpacked()
297 if (!FileExists(ramdisk_path)) { in RepackVendorBootImage()
385 if (FileExists(input_ramdisk_path) && !FileExists(new_ramdisk_path)) { in RepackGem5BootImage()
390 std::ifstream vendor_boot_ramdisk(FileExists(new_ramdisk_path) ? new_ramdisk_path : unpack_dir + in RepackGem5BootImage()
Dassemble_cvd.cc78 if (!FileExists(file) && in FindFetcherConfig()
79 FileExists(home_directory + "/" + fetcher_file)) { in FindFetcherConfig()
135 if (FileExists(symlink_location, /* follow_symlinks */ false)) { in CreateLegacySymlinks()
155 } else if (FileExists(legacy_instance_path, /* follow_symlinks */ false)) { in CreateLegacySymlinks()
452 } else if (FileExists(FLAGS_assembly_dir, /* follow_symlinks */ false)) { in InitFilesystemAndCreateConfig()
464 if (FileExists(double_legacy_instance_dir, /* follow_symlinks */ false)) { in InitFilesystemAndCreateConfig()
Dvendor_dlkm_utils.cc411 CHECK(FileExists(image_path)); in BuildVbmetaImage()
464 if (!FileExists(module_location)) { in SplitRamdiskModules()
499 if (FileExists(initramfs_blocklist_path)) { in SplitRamdiskModules()
Dboot_config.cc206 if (!FileExists(image_path) || in PrepareBootEnvImage()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp80 bool FileExists(const std::string& path, bool follow_symlinks) { in FileExists() function
122 if (FileExists(hardlink)) { in CreateHardLink()
177 if (FileExists(directory_path, false) && !FileExists(directory_path, true)) { in EnsureDirectoryExists()
458 CF_EXPECTF(FileExists(filepath), "The file at \"{}\" does not exist.", in ReadFileContents()
572 if (FileExists(image)) { in FindImage()
629 if (FileExists(path, true)) { in WaitForFileInternal()
644 if (FileExists(path, true)) { in WaitForFileInternal()
852 if (path_info.follow_symlink && FileExists(processed_path)) { in EmulateAbsolutePath()
Denvironment.cpp115 FileExists(docker_env_path) || DirectoryExists(docker_env_path); in IsRunningInDocker()
Dfiles.h29 bool FileExists(const std::string& path, bool follow_symlinks = true);
/device/google/cuttlefish/host/commands/start/
Dfilesystem_explorer.cc35 if (cuttlefish::FileExists(current_directory + "/fetcher_config.json")) { in AvailableFilesReport()
45 if (cuttlefish::FileExists(fetcher_config_path)) { in AvailableFilesReport()
/device/google/cuttlefish/host/libs/command_util/
Dsnapshot_utils.cc90 if (FileExists(dest_path, /* follow_symlink */ false)) { in CopyDirectoryImpl()
167 CF_EXPECTF(FileExists(src_dir_path), in CopyDirectoryRecursively()
172 CF_EXPECTF(!FileExists(dest_dir_path, /* follow symlink */ false), in CopyDirectoryRecursively()
/device/google/cuttlefish/host/libs/vm_manager/
Dqemu_manager.cpp312 if (FileExists(instance.access_kregistry_path())) { in StartCommands()
322 if (FileExists(instance.hwcomposer_pmem_path())) { in StartCommands()
332 if (FileExists(instance.pstore_path())) { in StartCommands()
638 if (is_x86 && FileExists(instance.pstore_path())) { in StartCommands()
Dcrosvm_manager.cpp524 if (!pmem_disabled && FileExists(instance.hwcomposer_pmem_path())) { in StartCommands()
612 if (!pmem_disabled && FileExists(instance.access_kregistry_path())) { in StartCommands()
617 if (!pmem_disabled && FileExists(instance.pstore_path())) { in StartCommands()
912 while (!FileExists(instance.CrosvmSocketPath())) { in WaitForRestoreComplete()
/device/google/cuttlefish/host/libs/config/
Desp.cpp131 [&](const std::string& m) { return FileExists(x86_modules + m); }); in CanGenerateEsp()
136 const auto monolith_presented = FileExists(kBootSrcPathIA32); in CanGenerateEsp()
229 if (!FileExists(file.from)) { in Build()
/device/google/cuttlefish/host/commands/snapshot_util_cvd/
Dmain.cc93 FileExists(parsed.snapshot_path, /* follow symlink */ false)) { in SnapshotCvdMain()
97 CF_EXPECTF(!FileExists(parsed.snapshot_path, /* follow symlink */ false), in SnapshotCvdMain()
/device/google/redbull/health/
DHealth.cpp113 static bool FileExists(const std::string &filename) { in FileExists() function
121 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/cuttlefish/host/commands/run_cvd/
Dserver_loop_impl_snapshot.cpp58 if (my_own_dir.empty() || !FileExists(subtool_path)) { in SubtoolPath()
245 CF_EXPECTF(FileExists(json_path), "{} must exist but does not.", json_path); in TakeGuestSnapshot()
/device/google/coral/health/
DHealth.cpp121 static bool FileExists(const std::string& filename) in FileExists() function
132 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/gs101/health/
DHealth.cpp126 static bool FileExists(const std::string &filename) { in FileExists() function
136 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/gs201/health/
DHealth.cpp127 static bool FileExists(const std::string &filename) { in FileExists() function
137 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/zuma/health/
DHealth.cpp127 static bool FileExists(const std::string &filename) { in FileExists() function
137 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/zumapro/health/
DHealth.cpp127 static bool FileExists(const std::string &filename) { in FileExists() function
137 needs_wlc_updates = FileExists(kWlcCapacity); in private_healthd_board_init()
/device/google/cuttlefish/host/commands/assemble_cvd/disk/
Dfactory_reset_protected.cc33 if (FileExists(frp)) { in InitializeFactoryResetProtected()
Dgenerate_persistent_bootconfig.cpp55 if (!FileExists(bootconfig_path)) { in GeneratePersistentBootconfig()
/device/google/cuttlefish/host/commands/acloud_translator/
Dmain.cpp46 if (!FileExists(kCvdBinaryPath, true /*follow symlinks*/)) { in TranslatorMain()
/device/google/cuttlefish/host/commands/modem_simulator/
Dnvram_config.cpp51 if (!cuttlefish::FileExists(nvram_config_path) || in BuildConfigImpl()

12