/build/make/tools/ |
D | auto_gen_test_config_test.py | 131 with open(self.manifest_file, 'w') as f: 139 with open(self.config_file) as config_file: 140 with open(EMPTY_TEST_CONFIG) as empty_config: 146 with open(self.manifest_file, 'w') as f: 154 with open(self.config_file) as config_file: 160 with open(self.manifest_file, 'w') as f: 168 with open(self.config_file) as config_file:
|
D | generate-notice-files.py | 52 f = open(filename, "rb") 91 output_file = open(output_filename, "wb") 122 print >> output_file, html_escape(open(value[0]).read()) 138 output_file = open(output_filename, "wb") 146 print >> output_file, open(value[0]).read() 162 output_file = open(output_filename, "wb") 186 …tent contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
|
D | check_radio_versions.py | 29 f = open(sys.argv[1]) 47 f = open(fn, "rb") 53 f = open(fn + ".sha1")
|
D | generate-self-extracting-archive.py | 133 with open(license_filename, 'r') as license_file: 158 with open(output_filename, 'wb') as output: 165 with open(input_archive_filename, 'rb') as input_file:
|
D | fileslist_util.py | 21 with open(path) as jf: 27 with open(path) as jf:
|
D | generate-enforce-rro-android-manifest.py | 62 with open(args.package_info) as f: 68 with open(args.output, 'w+') as f:
|
D | auto_gen_test_config.py | 82 with open(instrumentation_test_config_template) as template: 90 with open(target_config, 'w') as config_file:
|
D | event_log_tags.py | 57 file_object = open(filename, "rb") 130 out = open(output_file, "wb")
|
/build/soong/scripts/ |
D | conv_linker_config.py | 31 with open(args.source) as f: 37 with open(args.output, 'wb') as f: 42 with open(args.source, 'rb') as f: 50 with open(args.source, 'rb') as f: 63 with open(args.output, 'wb') as f: 69 with open(args.source, 'rb') as f: 78 with open(args.output, 'wb') as f: 84 with open(other, 'rb') as f: 87 with open(args.out, 'wb') as f:
|
D | generate-notice-files.py | 52 f = open(filename, "rb") 91 output_file = open(output_filename, "wb") 122 print >> output_file, html_escape(open(value[0]).read()) 138 output_file = open(output_filename, "wb") 146 print >> output_file, open(value[0]).read() 162 output_file = open(output_filename, "wb") 186 …tent contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
|
D | mergenotice.py | 40 with open(args.output, 'w+') as output: 42 with open(input, 'r') as f:
|
/build/make/tools/releasetools/ |
D | test_validate_target_files.py | 38 with open(kernel, 'wb') as kernel_fp: 97 with open(boot_image, 'r+b') as boot_fp: 243 with open(os.path.join(system_root, 'a'), 'w') as f: 246 with open(os.path.join(system_root, 'b'), 'w') as f: 256 with open(raw_file_map) as f: 265 with open(os.path.join(input_tmp, 'IMAGES', 'system.map'), 'w') as f: 294 with open(os.path.join(system_root, 'abc'), 'w') as f: 302 with open(raw_file_map) as f: 312 with open(os.path.join(system_root, 'abc'), 'w') as f: 316 with open(os.path.join(input_tmp, 'IMAGES', 'system.map'), 'w') as f: [all …]
|
D | test_build_image.py | 116 with open(fs_config, 'w') as fs_config_fp: 122 with open(os.path.join(root_dir, 'init'), 'w') as init_fp: 126 with open(os.path.join(origin_in, 'file'), 'w') as in_fp: 151 with open(os.path.join(root_dir, 'init'), 'w') as init_fp: 155 with open(os.path.join(origin_in, 'file'), 'w') as in_fp: 177 with open(fs_config) as fs_config_fp:
|
D | check_ota_package_signature.py | 71 with open(package, 'rb') as package_file: 108 with open(sig_file, 'wb') as f: 118 with open(digest_file, 'wb') as f: 152 with open(pubkey, 'w') as pubkey_fp:
|
D | test_merge_target_files.py | 39 open(path, 'a').close() 161 with open(merged_path) as f: 167 with open(output_path) as f: 216 with open(merged_path) as f: 222 with open(output_path) as f: 246 with open(full_path, 'w') as f:
|
D | test_sign_target_files_apks.py | 211 with open(cert1_path) as cert1_fp: 214 with open(cert2_path) as cert2_fp: 217 with open(cert3_path) as cert3_fp: 237 with open(cert1_path) as cert1_fp: 240 with open(cert2_path) as cert2_fp: 255 with open(cert1_path) as cert1_fp: 258 with open(cert2_path) as cert2_fp: 261 with open(cert3_path) as cert3_fp:
|
D | ota_from_target_files.py | 357 with open(out_signature_size_file) as f: 472 with open(properties_file, "a") as f: 476 with open(properties_file, "a") as f: 515 with open(oem_file) as fp: 607 with input_zip.open('payload.bin') as payload_fp: 689 with open(info_file) as f: 730 with open(unzipped_file) as f: 884 with open(ab_partitions_file) as f: 896 with open(new_ab_partitions, 'w') as f: 998 with open(filepath, 'rb') as fp: [all …]
|
D | ota_from_target_files | 357 with open(out_signature_size_file) as f: 472 with open(properties_file, "a") as f: 476 with open(properties_file, "a") as f: 515 with open(oem_file) as fp: 607 with input_zip.open('payload.bin') as payload_fp: 689 with open(info_file) as f: 730 with open(unzipped_file) as f: 884 with open(ab_partitions_file) as f: 896 with open(new_ab_partitions, 'w') as f: 998 with open(filepath, 'rb') as fp: [all …]
|
/build/soong/cc/ndkstubgen/ |
D | __init__.py | 134 with open(args.api_map) as map_file: 144 with open(args.symbol_file) as symbol_file: 152 with open(args.stub_src, 'w') as src_file: 153 with open(args.version_script, 'w') as version_file:
|
/build/make/core/ |
D | dex_preopt_config_merger.py | 45 with open(arg, 'r') as f: 95 with open(sys.argv[1], 'w') as f:
|
/build/soong/bloaty/ |
D | bloaty_merger.py | 43 with open(path, newline='') as csv_file: 70 with gzip.open(output_proto, "wb") as output:
|
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 116 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != OK) { in process() 120 if (zout.open(outFileName, in process() 148 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
|
/build/soong/scripts/hiddenapi/ |
D | verify_overlaps.py | 34 with open(args.all, 'r') as allFlagsFile: 43 with open(subsetPath, 'r') as subsetFlagsFile:
|
D | merge_csv.py | 50 csv_readers.append(dict_reader(open(file, 'r'))) 56 csv_readers.append(dict_reader(io.TextIOWrapper(zip.open(entry, 'r'))))
|
/build/soong/cc/ndk_api_coverage_parser/ |
D | __init__.py | 94 output_file = open(self.output_file, "wb") 120 with open(args.api_map) as map_file: 123 with open(args.symbol_file) as symbol_file:
|