/build/make/tools/ |
H A 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:
|
H A D | fileslist_util.py | 21 with open(path) as jf: 27 with open(path) as jf:
|
H A D | generate-enforce-rro-android-manifest.py | 53 with open(args.package_info) as f: 59 with open(args.output, 'w+') as f:
|
H A D | check_radio_versions.py | 29 f = open(sys.argv[1]) 47 f = open(fn, "rb") 53 f = open(fn + ".sha1")
|
H A D | auto_gen_test_config.py | 77 with open(instrumentation_test_config_template) as template: 84 with open(target_config, 'w') as config_file:
|
H A 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 print >> output_file, '<file-content contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
|
H A D | event_log_tags.py | 57 file_object = open(filename, "rb") 130 out = open(output_file, "wb")
|
/build/tools/ |
H A 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:
|
H A D | fileslist_util.py | 21 with open(path) as jf: 27 with open(path) as jf:
|
H A D | generate-enforce-rro-android-manifest.py | 53 with open(args.package_info) as f: 59 with open(args.output, 'w+') as f:
|
H A D | check_radio_versions.py | 29 f = open(sys.argv[1]) 47 f = open(fn, "rb") 53 f = open(fn + ".sha1")
|
H A D | auto_gen_test_config.py | 77 with open(instrumentation_test_config_template) as template: 84 with open(target_config, 'w') as config_file:
|
H A 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 print >> output_file, '<file-content contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
|
/build/make/tools/releasetools/ |
H A D | test_sign_target_files_apks.py | 147 with open(cert1_path) as cert1_fp: 150 with open(cert2_path) as cert2_fp: 153 with open(cert3_path) as cert3_fp: 173 with open(cert1_path) as cert1_fp: 176 with open(cert2_path) as cert2_fp: 191 with open(cert1_path) as cert1_fp: 194 with open(cert2_path) as cert2_fp: 197 with open(cert3_path) as cert3_fp:
|
H A D | check_ota_package_signature.py | 71 with open(package) as package_file: 108 with open(sig_file, 'wb') as f: 120 with open(digest_file, 'wb') as f: 158 with open(pubkey, 'wb') as pubkey_fp:
|
H A D | make_recovery_patch | 48 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
|
H A D | make_recovery_patch.py | 48 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
|
/build/tools/releasetools/ |
H A D | test_sign_target_files_apks.py | 147 with open(cert1_path) as cert1_fp: 150 with open(cert2_path) as cert2_fp: 153 with open(cert3_path) as cert3_fp: 173 with open(cert1_path) as cert1_fp: 176 with open(cert2_path) as cert2_fp: 191 with open(cert1_path) as cert1_fp: 194 with open(cert2_path) as cert2_fp: 197 with open(cert3_path) as cert3_fp:
|
H A D | check_ota_package_signature.py | 71 with open(package) as package_file: 108 with open(sig_file, 'wb') as f: 120 with open(digest_file, 'wb') as f: 158 with open(pubkey, 'wb') as pubkey_fp:
|
H A D | make_recovery_patch | 48 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
|
H A D | make_recovery_patch.py | 48 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
|
/build/kati/ |
H A D | file.cc | 31 int fd = open(filename.c_str(), O_RDONLY);
|
H A D | runtest.rb | 178 output.gsub!(/(: )open (\S+): n(o such file or directory)\nNOTE:.*/, 217 File.open("Makefile", 'w') do |ofile| 287 File.open('out.make', 'w'){|ofile|ofile.print(expected)} 288 File.open('out.kati', 'w'){|ofile|ofile.print(output)} 375 File.open('out.make', 'w'){|ofile|ofile.print(expected)} 376 File.open('out.kati', 'w'){|ofile|ofile.print(output)}
|
/build/make/tools/zipalign/ |
H A D | ZipAlign.cpp | 126 * Process a file. We open the input and output files, failing if the 149 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 150 fprintf(stderr, "Unable to open '%s' as zip archive\n", inFileName); 153 if (zout.open(outFileName, 157 fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName); 181 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 182 fprintf(stderr, "Unable to open '%s' for verification\n", fileName);
|
/build/tools/zipalign/ |
H A D | ZipAlign.cpp | 126 * Process a file. We open the input and output files, failing if the 149 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 150 fprintf(stderr, "Unable to open '%s' as zip archive\n", inFileName); 153 if (zout.open(outFileName, 157 fprintf(stderr, "Unable to open '%s' as zip archive\n", outFileName); 181 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 182 fprintf(stderr, "Unable to open '%s' for verification\n", fileName);
|