/build/soong/scripts/ |
D | generate-notice-files.py | 91 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/ |
D | generate-notice-files.py | 91 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 …]
|
D | event_log_tags.py | 119 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)
|
D | java-event-log-tags.py | 35 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)
|
D | merge-event-log-tags.py | 41 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__.py | 66 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/ |
D | img_from_target_files.py | 87 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)
|
D | img_from_target_files | 87 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)
|
D | test_sign_target_files_apks.py | 173 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 …]
|
D | test_add_img_to_target_files.py | 95 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:
|
D | test_validate_target_files.py | 36 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))
|
D | test_ota_from_target_files.py | 481 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 …]
|
D | test_verity_utils.py | 56 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
|
D | test_build_image.py | 193 output_file = common.MakeTempFile(suffix='.img') 194 cmd = ["img2simg", output_image, output_file] 199 fs_dict = GetFilesystemCharacteristics(output_file)
|
D | ota_from_target_files | 715 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 …]
|
D | ota_from_target_files.py | 715 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 …]
|
D | test_check_target_files_vintf.py | 83 output_file = os.path.join(test_dir, rel_root, f) 85 write_string_to_file(inp.read(), output_file)
|
D | merge_target_files.py | 609 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)
|
D | add_img_to_target_files.py | 158 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()
|
D | add_img_to_target_files | 158 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/ |
D | best_practices.md | 119 NINJA_ARGS="-t deps <output_file>" m
|
/build/make/core/ |
D | Makefile | 1701 $(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…
|