Home
last modified time | relevance | path

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

123

/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")
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.py77 with open(instrumentation_test_config_template) as template:
84 with open(target_config, 'w') as config_file:
Devent_log_tags.py57 file_object = open(filename, "rb")
130 out = open(output_file, "wb")
Dpost_process_props.py114 f = open(filename)
139 f = open(filename, 'w+')
Dcheck_link_type.py64 with open(dep, 'r') as dep_file:
/build/make/tools/releasetools/
Dtest_build_image.py113 with open(fs_config, 'w') as fs_config_fp:
119 with open(os.path.join(root_dir, 'init'), 'w') as init_fp:
123 with open(os.path.join(origin_in, 'file'), 'w') as in_fp:
148 with open(os.path.join(root_dir, 'init'), 'w') as init_fp:
152 with open(os.path.join(origin_in, 'file'), 'w') as in_fp:
174 with open(fs_config) as fs_config_fp:
Dmerge_target_files.py206 with open(config_file_path) as config_file:
286 with open(system_ab_partitions_txt) as f:
289 with open(other_ab_partitions_txt) as f:
297 with open(output_ab_partitions_txt, 'w') as output:
319 with open(filesystem_config_txt, 'a') as f:
363 with open(misc_info_txt) as f:
405 with open(output_misc_info_txt, 'w') as output:
462 with open(merged_file_contexts_txt, 'wb') as f:
683 with open(output_target_files_list, 'wb') as f:
Dtest_validate_target_files.py39 with open(kernel, 'wb') as kernel_fp:
95 with open(boot_image, 'r+b') as boot_fp:
175 with open(os.path.join(system_root, 'a'), 'w') as f:
178 with open(os.path.join(system_root, 'b'), 'w') as f:
188 with open(raw_file_map, 'r') as f:
197 with open(os.path.join(input_tmp, 'IMAGES', 'system.map'), 'w') as f:
Dcheck_ota_package_signature.py72 with open(package) as package_file:
109 with open(sig_file, 'wb') as f:
121 with open(digest_file, 'wb') as f:
159 with open(pubkey, 'wb') as pubkey_fp:
Dtest_sign_target_files_apks.py171 with open(cert1_path) as cert1_fp:
174 with open(cert2_path) as cert2_fp:
177 with open(cert3_path) as cert3_fp:
197 with open(cert1_path) as cert1_fp:
200 with open(cert2_path) as cert2_fp:
215 with open(cert1_path) as cert1_fp:
218 with open(cert2_path) as cert2_fp:
221 with open(cert3_path) as cert3_fp:
Dmake_recovery_patch.py51 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
Dmake_recovery_patch51 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
Dsign_apex.py81 with open(input_zip) as input_fp:
Dtest_blockimgdiff.py281 with open(self.file_path, 'w') as f:
302 with open(tmpfile, 'w') as f:
304 with open(tmpfile, 'r') as f:
Dtarget_files_diff.py129 with open(filename, 'r') as oldfp:
223 out_file = open(args.output, 'w')
/build/soong/scripts/
Dmergenotice.py40 with open(args.output, 'w+') as output:
42 with open(input, 'r') as f:
/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/kati/
DCONTRIBUTORS10 # https://developers.google.com/open-source/cla/individual
11 # https://developers.google.com/open-source/cla/corporate
Dfile.cc31 int fd = open(filename.c_str(), O_RDONLY); in Makefile()
/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()
/build/make/core/tasks/check_boot_jars/
Dcheck_boot_jars.py23 with open(filename, 'r') as f:

123