Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 11 of 11) sorted by relevance

/build/make/tools/releasetools/
Dtarget_files_diff.py136 def diff(name, file1, file2, out_file): argument
149 print("%s: Binary files differ" % name, file=out_file)
152 print("%s: %s" % (name, line), file=out_file)
154 def recursiveDiff(prefix, dir1, dir2, out_file): argument
175 file=out_file)
178 print("%s: File types differ, skipping compare" % name, file=out_file)
187 print("%s: File types differ, skipping compare" % name, file=out_file)
192 (name, stat1.st_mode, stat2.st_mode), file=out_file)
195 recursiveDiff(name, name1, name2, out_file)
197 diff(name, name1, name2, out_file)
[all …]
Dbuild_image.py231 def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config): argument
257 build_command.extend([in_dir, out_file, fs_type,
295 build_command.extend([in_dir, out_file])
317 build_command.extend([out_file, prop_dict["image_size"]])
360 unsparse_image = UnsparseImage(out_file, replace=False)
372 def BuildImage(in_dir, prop_dict, out_file, target_out=None): argument
423 BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config)
427 fs_dict = GetFilesystemCharacteristics(out_file, sparse_image)
428 os.remove(out_file)
463 "Allocating %d Inodes for %s.", inodes, out_file)
[all …]
Dverity_utils.py134 with open(target, "a") as out_file, open(file_to_append, "r") as input_file:
136 out_file.write(line)
225 def PadSparseImage(self, out_file): argument
229 def Build(self, out_file): argument
300 def Build(self, out_file): argument
318 root_hash, salt = BuildVerityTree(out_file, verity_image_path)
338 out_file, verity_image_path, verity_fec_path, padding_size)
342 out_file, verity_image_path, "Failed to append verity data")
344 def PadSparseImage(self, out_file): argument
345 sparse_image_size = GetSimgSize(out_file)
[all …]
Dsign_target_files_apks.py332 open(uncompressed.name, "wb") as out_file:
333 shutil.copyfileobj(in_file, out_file)
372 gzip.open(compressed.name, "wb") as out_file:
373 shutil.copyfileobj(in_file, out_file)
Dsign_target_files_apks332 open(uncompressed.name, "wb") as out_file:
333 shutil.copyfileobj(in_file, out_file)
372 gzip.open(compressed.name, "wb") as out_file:
373 shutil.copyfileobj(in_file, out_file)
Dota_from_target_files518 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
519 cmd = [self.signer] + self.signer_args + ['-in', in_file, '-out', out_file]
521 return out_file
2339 with open(OPTIONS.log_diff, 'w') as out_file:
2342 '', OPTIONS.source_tmp, OPTIONS.input_tmp, out_file)
Dota_from_target_files.py518 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
519 cmd = [self.signer] + self.signer_args + ['-in', in_file, '-out', out_file]
521 return out_file
2339 with open(OPTIONS.log_diff, 'w') as out_file:
2342 '', OPTIONS.source_tmp, OPTIONS.input_tmp, out_file)
Dcommon.py777 open(out_filename, "wb") as out_file:
778 shutil.copyfileobj(in_file, out_file)
/build/make/tools/fs_config/end_to_end_test/
Drun_test.sh9 --out_file result_system_fs_config_files \
21 --out_file result_system_fs_config_dirs \
32 --out_file result_vendor_fs_config_files \
43 --out_file result_vendor_fs_config_dirs \
54 --out_file result_product_fs_config_files \
65 --out_file result_product_fs_config_dirs \
/build/make/tools/fs_config/
DAndroid.mk104 --out_file $@ \
129 --out_file $@ \
154 --out_file $@ \
178 --out_file $@ \
205 --out_file $@ \
229 --out_file $@ \
256 --out_file $@ \
280 --out_file $@ \
307 --out_file $@ \
331 --out_file $@ \
[all …]
Dfs_config_generator.py1057 def _to_fs_entry(self, fs_config, out_file): argument
1127 out_file.write(length_binary)
1128 out_file.write(mode_binary)
1129 out_file.write(user_binary)
1130 out_file.write(group_binary)
1131 out_file.write(caps_binary)
1132 out_file.write(path_binary)