Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 79) 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/
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:
Djsonmodify.py105 with open(args.input) as f:
114 with open(args.out, "w") as f:
Dlint-project-xml.py142 with open(args.project_out, 'w') as f:
146 with open(args.config_out, 'w') as f:
Dninja_rsp.py26 self.f = open(filename, 'r')
/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()
153 with open(merged_path) as f:
159 with open(output_path) as f:
210 with open(merged_path) as f:
216 with open(output_path) 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:
Dtest_check_target_files_vintf.py60 with open(path, mode=mode) as f:
84 with open(os.path.join(root, f)) as inp:
Dmerge_target_files.py244 with open(path, 'w') as output:
393 with open(framework_ab_partitions_txt) as f:
396 with open(vendor_ab_partitions_txt) as f:
579 with open(file_path) as f:
616 with open(output_file, 'w') as output:
899 with open(output_target_files_list, 'w') as f:
Dmake_recovery_patch.py59 with open(os.path.join(output_dir, target_files_dir,
/build/soong/cc/ndkstubgen/
D__init__.py123 with open(args.api_map) as map_file:
133 with open(args.symbol_file) as symbol_file:
141 with open(args.stub_src, 'w') as src_file:
142 with open(args.version_script, 'w') as version_file:
/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:
/build/make/tools/zipalign/
DZipAlign.cpp149 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != OK) { in process()
153 if (zout.open(outFileName, in process()
181 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
/build/make/tools/libhost/
DCopyFile.c243 srcFd = open(src, O_RDONLY | O_BINARY, 0); in copyRegular()
251 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); in copyRegular()
281 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); in copyRegular()
316 srcFd = open(srcRsrcName, O_RDONLY); in copyRegular()
317 dstFd = open(dstRsrcName, O_TRUNC | O_WRONLY, 0); in copyRegular()

1234