Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 22 of 22) sorted by relevance

/build/soong/scripts/
Dgenerate-notice-files.py91 output_file = open(output_filename, "wb")
93 print >> output_file, "<html><head>"
94 print >> output_file, HTML_OUTPUT_CSS
95 …print >> output_file, '</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">'
98 print >> output_file, '<div class="toc">'
99 print >> output_file, "<ul>"
107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena…
109 print >> output_file, "</ul>"
110 print >> output_file, "</div><!-- table of contents -->"
112 print >>output_file, '<table cellpadding="0" cellspacing="0" border="0">'
[all …]
/build/make/tools/
Dgenerate-notice-files.py91 output_file = open(output_filename, "wb")
93 print >> output_file, "<html><head>"
94 print >> output_file, HTML_OUTPUT_CSS
95 …print >> output_file, '</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">'
98 print >> output_file, '<div class="toc">'
99 print >> output_file, "<ul>"
107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena…
109 print >> output_file, "</ul>"
110 print >> output_file, "</div><!-- table of contents -->"
112 print >>output_file, '<table cellpadding="0" cellspacing="0" border="0">'
[all …]
Devent_log_tags.py119 def WriteOutput(output_file, data): argument
126 if output_file is None:
128 output_file = "<stdout>"
130 out = open(output_file, "wb")
134 print >> sys.stderr, "failed to write %s: %s" % (output_file, e)
Djava-event-log-tags.py35 output_file = None variable
49 output_file = a variable
155 output_dir = os.path.dirname(output_file)
159 event_log_tags.WriteOutput(output_file, buffer)
Dmerge-event-log-tags.py41 output_file = None variable
61 output_file = a variable
184 event_log_tags.WriteOutput(output_file, buffer)
/build/soong/cc/ndk_api_coverage_parser/
D__init__.py66 def __init__(self, output_file): argument
67 self.output_file = output_file
94 output_file = open(self.output_file, "wb")
95 output_file.write(parsed_data)
130 generator = XmlGenerator(args.output_file)
/build/make/tools/releasetools/
Dimg_from_target_files.py87 def CopyZipEntries(input_file, output_file, entries): argument
100 cmd = ['zip2zip', '-i', input_file, '-o', output_file]
157 def RebuildAndWriteSuperImages(input_file, output_file): argument
171 output_file, 'a', compression=zipfile.ZIP_DEFLATED,
176 def ImgFromTargetFiles(input_file, output_file): argument
208 CopyZipEntries(input_file, output_file, entries)
211 RebuildAndWriteSuperImages(input_file, output_file)
Dimg_from_target_files87 def CopyZipEntries(input_file, output_file, entries): argument
100 cmd = ['zip2zip', '-i', input_file, '-o', output_file]
157 def RebuildAndWriteSuperImages(input_file, output_file): argument
171 output_file, 'a', compression=zipfile.ZIP_DEFLATED,
176 def ImgFromTargetFiles(input_file, output_file): argument
208 CopyZipEntries(input_file, output_file, entries)
211 RebuildAndWriteSuperImages(input_file, output_file)
Dtest_sign_target_files_apks.py173 output_file = common.MakeTempFile(suffix='.zip')
175 zipfile.ZipFile(output_file, 'w') as output_zip:
178 with zipfile.ZipFile(output_file) as output_zip:
185 zipfile.ZipFile(output_file, 'w') as output_zip:
188 with zipfile.ZipFile(output_file) as output_zip:
201 output_file = common.MakeTempFile(suffix='.zip')
203 zipfile.ZipFile(output_file, 'w') as output_zip:
206 with zipfile.ZipFile(output_file) as output_zip:
286 output_file = common.MakeTempFile(suffix='.zip')
287 with zipfile.ZipFile(output_file, 'w') as output_zip:
[all …]
Dtest_add_img_to_target_files.py95 output_file = common.MakeTempFile(suffix='.zip')
96 with zipfile.ZipFile(output_file, 'w') as output_zip:
99 with zipfile.ZipFile(output_file, 'r') as verify_zip:
346 output_file = common.MakeTempFile(suffix='.zip')
347 with zipfile.ZipFile(output_file, 'w') as output_zip:
352 with zipfile.ZipFile(output_file, 'r') as verify_zip:
369 output_file = common.MakeTempFile(suffix='.zip')
370 with zipfile.ZipFile(output_file, 'w') as output_zip:
Dtest_validate_target_files.py36 def _generate_boot_image(self, output_file): argument
41 cmd = ['mkbootimg', '--kernel', kernel, '-o', output_file]
48 cmd = ['boot_signer', '/boot', output_file,
50 os.path.join(self.testdata_dir, 'testkey.x509.pem'), output_file]
114 def _generate_system_image(self, output_file, system_root=None, argument
130 cmd = ['mkuserimg_mke2fs', '-s', system_root, output_file, 'ext4',
142 verity_image_builder.Build(output_file)
338 with open(prop_file, 'w') as output_file:
339 output_file.write("\n".join(build_prop))
Dtest_ota_from_target_files.py481 output_file = common.MakeTempFile(suffix='.zip')
485 FinalizeMetadata(metadata, zip_file, output_file, needed_property_files)
528 output_file = common.MakeTempFile(suffix='.zip')
529 FinalizeMetadata(metadata, zip_file, output_file, needed_property_files)
881 output_file = common.MakeTempFile(suffix='.zip')
882 with zipfile.ZipFile(output_file, 'w') as output_zip:
887 with zipfile.ZipFile(output_file) as input_zip:
907 with open(output_file, 'rb') as verify_fp:
1214 output_file = common.MakeTempFile(suffix='.zip')
1215 with zipfile.ZipFile(output_file, 'w') as output_zip:
[all …]
Dtest_verity_utils.py56 output_file = common.MakeTempFile()
61 cmd = ["img2simg", raw_image, output_file, '4096']
63 return output_file
83 output_file = self._CreateSimg(raw_image)
86 verity_image_builder.Build(output_file)
88 return output_file
Dtest_build_image.py193 output_file = common.MakeTempFile(suffix='.img')
194 cmd = ["img2simg", output_image, output_file]
199 fs_dict = GetFilesystemCharacteristics(output_file)
Dota_from_target_files715 def WriteFullOTAPackage(input_zip, output_file): argument
732 staging_file = output_file
884 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files)
1280 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1353 output_file = prelim_signing
1355 SignOutput(prelim_signing, output_file)
1358 with zipfile.ZipFile(output_file) as output_zip:
1368 def WriteBlockIncrementalOTAPackage(target_zip, source_zip, output_file): argument
1390 staging_file = output_file
1620 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files)
[all …]
Dota_from_target_files.py715 def WriteFullOTAPackage(input_zip, output_file): argument
732 staging_file = output_file
884 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files)
1280 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1353 output_file = prelim_signing
1355 SignOutput(prelim_signing, output_file)
1358 with zipfile.ZipFile(output_file) as output_zip:
1368 def WriteBlockIncrementalOTAPackage(target_zip, source_zip, output_file): argument
1390 staging_file = output_file
1620 FinalizeMetadata(metadata, staging_file, output_file, needed_property_files)
[all …]
Dtest_check_target_files_vintf.py83 output_file = os.path.join(test_dir, rel_root, f)
85 write_string_to_file(inp.read(), output_file)
Dmerge_target_files.py609 output_file = os.path.join(output_target_files_dir, 'META', file_name)
616 with open(output_file, 'w') as output:
882 def create_target_files_archive(output_file, source_dir, temp_dir): argument
891 output_zip = os.path.abspath(output_file)
914 logger.info('creating %s', output_file)
916 logger.info('finished creating %s', output_file)
Dadd_img_to_target_files.py158 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn)
159 with open(output_file, "wb") as ofile:
167 common.ZipWrite(output_zip, output_file, arc_name)
398 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): argument
429 os.path.join(input_dir, what.upper()), image_props, output_file.name)
431 output_file.Write()
Dadd_img_to_target_files158 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn)
159 with open(output_file, "wb") as ofile:
167 common.ZipWrite(output_zip, output_file, arc_name)
398 def CreateImage(input_dir, info_dict, what, output_file, block_list=None):
429 os.path.join(input_dir, what.upper()), image_props, output_file.name)
431 output_file.Write()
/build/soong/docs/
Dbest_practices.md119 NINJA_ARGS="-t deps <output_file>" m
/build/make/core/
DMakefile1701 $(eval output_file := $(dir $@)/$(patsubst recovery_%,%_text.png,$(text_name))) \
1708 --output_file $(output_file) $(center_alignment) && \
1709 …$(PRIVATE_ZOPFLIPNG) -y --iterations=1 --filters=0 $(output_file) $(output_file) > /dev/null &&) t…