Home
last modified time | relevance | path

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

12

/build/tools/
Dgenerate-notice-files.py69 f = open(filename, "rb")
108 output_file = open(output_filename, "wb")
139 print >> output_file, html_escape(open(value[0]).read())
155 output_file = open(output_filename, "wb")
163 print >> output_file, open(value[0]).read()
Ddiff_package_overlays.py44 f = open(argv[1])
49 f = open(filename)
81 f = open(argv[2], "a")
Dcheck_radio_versions.py29 f = open(sys.argv[1])
47 f = open(fn, "rb")
53 f = open(fn + ".sha1")
Devent_log_tags.py57 file_object = open(filename, "rb")
130 out = open(output_file, "wb")
Dpost_process_props.py124 f = open(filename)
145 f = open(filename, 'w+')
Dparsedeps.py93 f = open(filename)
Dwarn.py517 infile = open(sys.argv[1], 'r')
/build/tools/releasetools/
Dadd_img_to_target_files.py61 ofile = open(os.path.join(OPTIONS.input_tmp,"SYSTEM",fn), "w")
73 with open(imgname, "rb") as f:
75 with open(block_list, "rb") as f:
97 with open(imgname, "rb") as f:
99 with open(block_list, "rb") as f:
Dadd_img_to_target_files61 ofile = open(os.path.join(OPTIONS.input_tmp,"SYSTEM",fn), "w")
73 with open(imgname, "rb") as f:
75 with open(block_list, "rb") as f:
97 with open(imgname, "rb") as f:
99 with open(block_list, "rb") as f:
Dcommon.py107 with open(path) as f:
324 cmd.append(open(fn).read().rstrip("\n"))
329 cmd.append(open(fn).read().rstrip("\n"))
334 cmd.append(open(fn).read().rstrip("\n"))
434 devnull = open("/dev/null", "w+b")
744 f = open(self.pwfile, "w")
768 f = open(self.pwfile, "r")
886 f = open(diskname, "rb")
1078 with open(self.path + ".transfer.list", "rb") as f:
1080 with open(self.path + ".new.dat", "rb") as f:
[all …]
Dsign_target_files_apks168 with open(fn, "wb") as f:
258 f = open(old + ".x509.pem")
261 f = open(new + ".x509.pem")
394 with open(key_path) as f:
Dmake_recovery_patch46 with open(os.path.join(output_dir, "SYSTEM", *fn.split("/")), "wb") as f:
Dsparse_img.py29 self.simg_f = f = open(simg_fn, "rb")
166 with open(fn) as f:
Dblockimgdiff.py54 stdout=open("/dev/null", "a"),
62 with open(patchfile, "rb") as f:
400 with open(prefix + ".transfer.list", "wb") as f:
412 with open(prefix + ".new.dat", "wb") as new_f:
504 with open(prefix + ".patch.dat", "wb") as patch_f:
Dimg_from_target_files.py94 with open(os.path.join(images_path, i), "r") as f:
Dimg_from_target_files94 with open(os.path.join(images_path, i), "r") as f:
Dcheck_target_files_signatures137 f = open(i)
185 f = open(full_filename)
Dota_from_target_files476 oem_dict = common.LoadDictionaryFromLines(open(OPTIONS.oem_source).readlines())
650 f = open(file_context, 'r');
763 oem_dict = common.LoadDictionaryFromLines(open(OPTIONS.oem_source).readlines())
1066 oem_dict = common.LoadDictionaryFromLines(open(OPTIONS.oem_source).readlines())
1457 OPTIONS.extra_script = open(OPTIONS.extra_script).read()
Dbuild_image.py350 f = open(filename)
Dedify_generator.py360 data = open(input_path, "rb").read()
/build/libs/host/
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()
315 srcFd = open(srcRsrcName, O_RDONLY); in copyRegular()
316 dstFd = open(dstRsrcName, O_TRUNC | O_WRONLY, 0); in copyRegular()
561 tmpFd = open(src, O_RDONLY | O_BINARY, 0); in copyFileRecursive()
/build/tools/zipalign/
DZipAlign.cpp127 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) { in process()
131 if (zout.open(outFileName, in process()
158 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) { in verify()
DZipFile.h66 status_t open(const char* zipFileName, int flags);
/build/core/tasks/check_boot_jars/
Dcheck_boot_jars.py23 with open(filename, 'r') as f:
/build/tools/droiddoc/templates-pdk/assets/
Djquery-history.js19 d.open();

12