Home
last modified time | relevance | path

Searched refs:read (Results 1 – 22 of 22) sorted by relevance

/build/tools/releasetools/
Dsparse_img.py31 header_bin = f.read(28)
64 header_bin = f.read(12)
85 fill_data = f.read(4)
145 yield f.read(this_read * self.blocksize)
157 yield f.read(this_read * self.blocksize)
193 data = f.read(self.blocksize)
Dsign_target_files_apks139 data = signed.read()
174 data = input_tf_zip.read(info.filename)
259 old_cert16 = base64.b16encode(common.ParseCertificate(f.read())).lower()
262 new_cert16 = base64.b16encode(common.ParseCertificate(f.read())).lower()
332 keylist = input_tf_zip.read("META/otakeys.txt").split()
395 common.ZipWriteStr(targetfile_zip, "BOOT/RAMDISK/verity_key", f.read())
400 original_misc_info = targetfile_input_zip.read("META/misc_info.txt")
Dadd_img_to_target_files.py74 common.ZipWriteStr(output_zip, prefix + "system.img", f.read())
76 common.ZipWriteStr(output_zip, prefix + "system.map", f.read())
98 common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
100 common.ZipWriteStr(output_zip, prefix + "vendor.map", f.read())
Dadd_img_to_target_files74 common.ZipWriteStr(output_zip, prefix + "system.img", f.read())
76 common.ZipWriteStr(output_zip, prefix + "system.map", f.read())
98 common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
100 common.ZipWriteStr(output_zip, prefix + "vendor.map", f.read())
Dcommon.py103 return input.read(fn)
108 return f.read()
324 cmd.append(open(fn).read().rstrip("\n"))
329 cmd.append(open(fn).read().rstrip("\n"))
334 cmd.append(open(fn).read().rstrip("\n"))
356 data = img.read()
563 for line in tf_zip.read("META/apkcerts.txt").split("\n"):
887 data = f.read()
963 diff = ptemp.read()
1079 ZipWriteStr(output_zip, partition + ".transfer.list", f.read())
[all …]
Dimg_from_target_files.py95 common.ZipWriteStr(output_zip, i, f.read())
Dimg_from_target_files95 common.ZipWriteStr(output_zip, i, f.read())
Dedify_generator.py358 data = input_zip.read("OTA/bin/updater")
360 data = open(input_path, "rb").read()
Dota_from_target_files187 output = input_zip.read(self.fs_config)
355 symlinks.append((input_zip.read(info.filename),
366 data = input_zip.read(info.filename)
652 common.ZipWriteStr(output_zip, basename, f.read())
670 data = z.read(info.filename)
1457 OPTIONS.extra_script = open(OPTIONS.extra_script).read()
Dcheck_target_files_signatures138 cert = common.ParseCertificate(f.read())
191 pkcs7 = apk.read(info.filename)
Dblockimgdiff.py63 return f.read()
/build/tools/rgb2565/
Dto565.c34 while(read(0, in, 3) == 3) { in to_565_raw()
55 while(read(0, in, 3) == 3) { in to_565_raw_dither()
108 while(read(0, in, 3) == 3) { in to_565_rle()
/build/tools/
Dgenerate-notice-files.py72 block = f.read(MD5_BLOCKSIZE)
139 print >> output_file, html_escape(open(value[0]).read())
163 print >> output_file, open(value[0]).read()
Ddiff_package_overlays.py45 all_packages = set(f.read().split())
Dcheck_radio_versions.py48 digest = sha1(f.read()).hexdigest()
Dproduct_debug.py73 text = f.read()
Djava-layers.py192 text = f.read()
/build/tools/signapk/
DSignApk.java226 input.read(bytes); in readPrivateKey()
292 while ((num = data.read(buffer)) > 0) { in addDigestsToManifest()
335 int read; in addOtacert() local
336 while ((read = input.read(b)) != -1) { in addOtacert()
337 outputJar.write(b, 0, read); in addOtacert()
338 md.update(b, 0, read); in addOtacert()
516 while ((num = data.read(buffer)) > 0) { in copyFiles()
537 while ((num = data.read(buffer)) > 0) { in copyFiles()
/build/tools/zipalign/
DZipEntry.h240 status_t read(FILE* fp);
298 status_t read(FILE* fp);
DZipEntry.cpp48 result = mCDE.read(fp); in initFromCDE()
64 result = mLFH.read(fp); in initFromCDE()
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read() function in ZipEntry::LocalFileHeader
536 status_t ZipEntry::CentralDirEntry::read(FILE* fp) in read() function in ZipEntry::CentralDirEntry
/build/tools/droiddoc/templates-pdk/
Dsdkpage.cs148 <p>Welcome Developers! If you are new to the Android SDK, please read the steps below, for an
/build/libs/host/
DCopyFile.c125 readCount = read(srcFd, buf, sizeof(buf)); in copyFileContents()