Lines Matching refs:OPTIONS
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)
105 for apk, cert in OPTIONS.extra_apks.iteritems():
108 certmap[apk] = OPTIONS.key_map.get(cert, cert)
201 OPTIONS.replace_verity_private_key):
203 OPTIONS.replace_verity_private_key[1])
206 OPTIONS.replace_verity_public_key):
208 OPTIONS.replace_verity_public_key[1])
249 elif (OPTIONS.replace_ota_keys and
254 elif (OPTIONS.replace_verity_private_key and
257 elif (OPTIONS.replace_verity_public_key and
265 if OPTIONS.replace_ota_keys:
289 for old, new in OPTIONS.key_map.iteritems():
291 if OPTIONS.verbose:
302 if OPTIONS.verbose:
306 if e.errno == errno.ENOENT and not OPTIONS.verbose:
317 specified in OPTIONS.tag_changes and return the updated string."""
319 for ch in OPTIONS.tag_changes:
377 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
391 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
400 OPTIONS.key_map.get(devkey, devkey) + ".x509.pem")
408 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")]
454 OPTIONS.key_map.update({
462 OPTIONS.key_map[s] = d
525 OPTIONS.extra_apks[n] = key
531 OPTIONS.replace_ota_keys = True
539 OPTIONS.tag_changes = tuple(new)
541 OPTIONS.replace_verity_public_key = (True, a)
543 OPTIONS.replace_verity_private_key = (True, a)