Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 87) sorted by relevance

1234

/build/make/tools/
Dauto_gen_test_config_test.py131 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:
Dgenerate-notice-files.py52 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()))
Dcheck_radio_versions.py29 f = open(sys.argv[1])
47 f = open(fn, "rb")
53 f = open(fn + ".sha1")
Dgenerate-self-extracting-archive.py133 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:
Dfileslist_util.py21 with open(path) as jf:
27 with open(path) as jf:
Dgenerate-enforce-rro-android-manifest.py62 with open(args.package_info) as f:
68 with open(args.output, 'w+') as f:
Dauto_gen_test_config.py82 with open(instrumentation_test_config_template) as template:
90 with open(target_config, 'w') as config_file:
Devent_log_tags.py57 file_object = open(filename, "rb")
130 out = open(output_file, "wb")
/build/soong/scripts/
Dconv_linker_config.py31 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:
Dgenerate-notice-files.py52 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()))
Dmergenotice.py40 with open(args.output, 'w+') as output:
42 with open(input, 'r') as f:
/build/make/tools/releasetools/
Dtest_validate_target_files.py38 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 …]
Dtest_build_image.py116 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:
Dcheck_ota_package_signature.py71 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:
Dtest_merge_target_files.py39 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:
Dtest_sign_target_files_apks.py211 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:
Dota_from_target_files.py357 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 …]
Dota_from_target_files357 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__.py134 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/
Ddex_preopt_config_merger.py45 with open(arg, 'r') as f:
95 with open(sys.argv[1], 'w') as f:
/build/soong/bloaty/
Dbloaty_merger.py43 with open(path, newline='') as csv_file:
70 with gzip.open(output_proto, "wb") as output:
/build/make/tools/zipalign/
DZipAlign.cpp116 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/
Dverify_overlaps.py34 with open(args.all, 'r') as allFlagsFile:
43 with open(subsetPath, 'r') as subsetFlagsFile:
Dmerge_csv.py50 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__.py94 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:

1234