/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 | 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:
|
D | jsonmodify.py | 105 with open(args.input) as f: 114 with open(args.out, "w") as f:
|
D | lint-project-xml.py | 142 with open(args.project_out, 'w') as f: 146 with open(args.config_out, 'w') as f:
|
D | ninja_rsp.py | 26 self.f = open(filename, 'r')
|
/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() 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:
|
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 | test_check_target_files_vintf.py | 60 with open(path, mode=mode) as f: 84 with open(os.path.join(root, f)) as inp:
|
D | merge_target_files.py | 244 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:
|
D | make_recovery_patch.py | 59 with open(os.path.join(output_dir, target_files_dir,
|
/build/soong/cc/ndkstubgen/ |
D | __init__.py | 123 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__.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:
|
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 149 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/ |
D | CopyFile.c | 243 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()
|