Home | History | Annotate | Download | only in releasetools

Lines Matching refs:info

117   for info in input_tf_zip.infolist():
118 if info.filename.endswith(".apk"):
119 name = os.path.basename(info.filename)
171 for info in input_tf_zip.infolist():
172 if info.filename.startswith("IMAGES/"): continue
174 data = input_tf_zip.read(info.filename)
175 out_info = copy.copy(info)
177 if (info.filename == "META/misc_info.txt" and
180 elif (info.filename == "BOOT/RAMDISK/verity_key" and
183 elif (info.filename.startswith("BOOT/") or
184 info.filename.startswith("RECOVERY/") or
185 info.filename.startswith("META/") or
186 info.filename == "SYSTEM/etc/recovery-resource.dat"):
187 write_to_temp(info.filename, info.external_attr, data)
189 if info.filename.endswith(".apk"):
190 name = os.path.basename(info.filename)
200 elif info.filename in ("SYSTEM/build.prop",
203 print "rewriting %s:" % (info.filename,)
206 if info.filename == "RECOVERY/RAMDISK/default.prop":
207 write_to_temp(info.filename, info.external_attr, new_data)
208 elif info.filename.endswith("mac_permissions.xml"):
209 print "rewriting %s with new keys." % (info.filename,)
212 elif info.filename in ("SYSTEM/recovery-from-boot.p",
216 info.filename in ("RECOVERY/RAMDISK/res/keys",
221 info.filename == "META/misc_info.txt"):
224 info.filename == "BOOT/RAMDISK/verity_key"):