Home
last modified time | relevance | path

Searched refs:FileSource (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Dfetcher_config.cpp40 FileSource SourceStringToEnum(std::string source) { in SourceStringToEnum()
45 return FileSource::DEFAULT_BUILD; in SourceStringToEnum()
47 return FileSource::SYSTEM_BUILD; in SourceStringToEnum()
49 return FileSource::KERNEL_BUILD; in SourceStringToEnum()
51 return FileSource::LOCAL_FILE; in SourceStringToEnum()
53 return FileSource::GENERATED; in SourceStringToEnum()
55 return FileSource::UNKNOWN_PURPOSE; in SourceStringToEnum()
59 std::string SourceEnumToString(const FileSource& source) { in SourceEnumToString()
60 if (source == FileSource::DEFAULT_BUILD) { in SourceEnumToString()
62 } else if (source == FileSource::SYSTEM_BUILD) { in SourceEnumToString()
[all …]
Dfetcher_config.h29 enum FileSource { enum
43 FileSource source;
49 CvdFile(const FileSource& source, const std::string& build_id,
/device/google/cuttlefish/host/commands/fetcher/
Dfetch_cvd.cc215 void AddFilesToConfig(FileSource purpose, const Build& build, in AddFilesToConfig()
276 AddFilesToConfig(FileSource::DEFAULT_BUILD, default_build, host_package_files, &config); in FetchCvdMain()
289 AddFilesToConfig(FileSource::DEFAULT_BUILD, default_build, ota_tools_files, &config); in FetchCvdMain()
301 AddFilesToConfig(FileSource::DEFAULT_BUILD, default_build, image_files, &config); in FetchCvdMain()
314 AddFilesToConfig(FileSource::DEFAULT_BUILD, default_build, target_files, &config); in FetchCvdMain()
333 AddFilesToConfig(FileSource::SYSTEM_BUILD, system_build, image_files, in FetchCvdMain()
347 AddFilesToConfig(FileSource::SYSTEM_BUILD, system_build, target_files, &config); in FetchCvdMain()
408 AddFilesToConfig(FileSource::KERNEL_BUILD, kernel_build, {local_path}, &config); in FetchCvdMain()
424 AddFilesToConfig(FileSource::KERNEL_BUILD, kernel_build, in FetchCvdMain()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dsuper_image_mixer.cc43 cuttlefish::FileSource source) { in TargetFilesZip()
297 if (file_iter.second.source == cuttlefish::FileSource::DEFAULT_BUILD) { in SuperImageNeedsRebuilding()
299 } else if (file_iter.second.source == cuttlefish::FileSource::SYSTEM_BUILD) { in SuperImageNeedsRebuilding()
310 TargetFilesZip(fetcher_config, cuttlefish::FileSource::DEFAULT_BUILD); in RebuildSuperImage()
316 TargetFilesZip(fetcher_config, cuttlefish::FileSource::SYSTEM_BUILD); in RebuildSuperImage()
/device/google/cuttlefish/host/commands/launch/
Dfilesystem_explorer.cc51 config.add_cvd_file(cuttlefish::CvdFile(cuttlefish::FileSource::LOCAL_FILE, "", "", file)); in AvailableFilesReport()