Searched refs:source_file (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/aconfig/aconfig_storage_write_api/src/ |
D | test_utils.rs | 22 pub(crate) fn copy_to_temp_file(source_file: &str, read_only: bool) -> Result<NamedTempFile> { in copy_to_temp_file() 24 fs::copy(source_file, file.path())?; in copy_to_temp_file()
|
/build/make/tools/releasetools/ |
D | ota_utils.py | 681 def ConstructOtaApexInfo(target_zip, source_file=None): argument 696 if not source_file: 699 source_apex_string = _ReadApexInfo(source_file) 720 def IsLz4diffCompatible(source_file: str, target_file: str): 730 if source_file is None or target_file is None: 734 if zipfile.is_zipfile(source_file): 735 with zipfile.ZipFile(source_file, "r") as zfp: 738 assert os.path.isdir(source_file) 739 return os.path.exists(os.path.join(source_file, "META", "liblz4.so")) 742 def IsZucchiniCompatible(source_file: str, target_file: str): [all …]
|
D | ota_from_target_files.py | 870 def GenerateAbOtaPackage(target_file, output_file, source_file=None): argument 882 if source_file is not None: 883 source_file = ExtractOrCopyTargetFiles(source_file) 893 if source_file is not None: 894 source_file = ExtractTargetFiles(source_file) 1082 if not ota_utils.IsZucchiniCompatible(source_file, target_file): 1103 if not ota_utils.IsLz4diffCompatible(source_file, target_file): 1111 if source_file and OPTIONS.enable_lz4diff: 1112 input_tmp = common.UnzipTemp(source_file, ["META/liblz4.so"]) 1133 source_file, [all …]
|
D | non_ab_ota.py | 541 def GenerateNonAbOtaPackage(target_file, output_file, source_file=None): argument 592 if source_file is None: 604 zipfile.ZipFile(source_file) as source_zip:
|
D | test_ota_from_target_files.py | 333 info_bytes = ConstructOtaApexInfo(target_zip, source_file=target_file) 1320 source_file = construct_target_files() 1322 payload.Generate(target_file, source_file) 1338 source_file = construct_target_files() 1343 target_file, additional_args=["--source_image", source_file])
|
/build/make/tools/aconfig/aconfig_storage_write_api/tests/ |
D | storage_write_api_test.cpp | 35 Result<std::string> copy_to_rw_temp_file(std::string const& source_file) { in copy_to_rw_temp_file() argument 38 if (!ReadFileToString(source_file, &content)) { in copy_to_rw_temp_file() 39 return Error() << "failed to read file: " << source_file; in copy_to_rw_temp_file() 42 return Error() << "failed to copy file: " << source_file; in copy_to_rw_temp_file()
|
D | storage_write_api_test.rs | 16 fn copy_to_temp_rw_file(source_file: &str) -> NamedTempFile { in copy_to_temp_rw_file() 18 fs::copy(source_file, file.path()).unwrap(); in copy_to_temp_rw_file()
|
/build/bazel/scripts/incremental_build/ |
D | clone.py | 269 source_file = util.get_top_dir().joinpath(common_path) 270 curr_size = os.stat(source_file).st_size 279 bz = _bz_counterpart(source_file)
|
/build/make/tools/ide_query/ide_query_proto/ |
D | ide_query.proto | 51 string source_file = 1; field
|
/build/bazel/toolchains/clang/host/linux-x86/ |
D | cc_toolchain_features.bzl | 1412 expand_if_available = "source_file", 1413 flags = ["-c", "%{source_file}"],
|