Home | History | Annotate | Download | only in releasetools

Lines Matching refs:OPTIONS

50       -d and -k options are added to the set of mappings in the order
88 OPTIONS = common.OPTIONS
90 OPTIONS.extra_apks = {}
91 OPTIONS.key_map = {}
92 OPTIONS.replace_ota_keys = False
93 OPTIONS.replace_verity_public_key = False
94 OPTIONS.replace_verity_private_key = False
95 OPTIONS.tag_changes = ("-test-keys", "-dev-keys", "+release-keys")
102 certmap[apk] = OPTIONS.key_map.get(cert, cert)
104 # apply all the -e options, overriding anything in the file
105 for apk, cert in OPTIONS.extra_apks.iteritems():
108 certmap[apk] = OPTIONS.key_map.get(cert, cert)
178 OPTIONS.replace_verity_private_key):
179 ReplaceVerityPrivateKey(input_tf_zip, output_tf_zip, misc_info, OPTIONS.replace_verity_private_key[1])
181 OPTIONS.replace_verity_public_key):
182 ReplaceVerityPublicKey(output_tf_zip, OPTIONS.replace_verity_public_key[1])
214 elif (OPTIONS.replace_ota_keys and
219 elif (OPTIONS.replace_verity_private_key and
222 elif (OPTIONS.replace_verity_public_key and
229 if OPTIONS.replace_ota_keys:
253 for old, new in OPTIONS.key_map.iteritems():
255 if OPTIONS.verbose:
266 if OPTIONS.verbose:
270 if (e.errno == errno.ENOENT and not OPTIONS.verbose):
281 specified in OPTIONS.tag_changes and return the updated string."""
283 for ch in OPTIONS.tag_changes:
337 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
351 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
360 OPTIONS.key_map.get(devkey, devkey) + ".x509.pem")
368 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")]
410 OPTIONS.key_map.update({
418 OPTIONS.key_map[s] = d
430 OPTIONS.extra_apks[n] = key
436 OPTIONS.replace_ota_keys = True
444 OPTIONS.tag_changes = tuple(new)
446 OPTIONS.replace_verity_public_key = (True, a)
448 OPTIONS.replace_verity_private_key = (True, a)