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)
179 OPTIONS.replace_verity_private_key):
181 OPTIONS.replace_verity_private_key[1])
183 OPTIONS.replace_verity_public_key):
185 OPTIONS.replace_verity_public_key[1])
219 elif (OPTIONS.replace_ota_keys and
224 elif (OPTIONS.replace_verity_private_key and
227 elif (OPTIONS.replace_verity_public_key and
234 if OPTIONS.replace_ota_keys:
258 for old, new in OPTIONS.key_map.iteritems():
260 if OPTIONS.verbose:
271 if OPTIONS.verbose:
275 if e.errno == errno.ENOENT and not OPTIONS.verbose:
286 specified in OPTIONS.tag_changes and return the updated string."""
288 for ch in OPTIONS.tag_changes:
342 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
356 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
365 OPTIONS.key_map.get(devkey, devkey) + ".x509.pem")
373 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")]
419 OPTIONS.key_map.update({
427 OPTIONS.key_map[s] = d
439 OPTIONS.extra_apks[n] = key
445 OPTIONS.replace_ota_keys = True
453 OPTIONS.tag_changes = tuple(new)
455 OPTIONS.replace_verity_public_key = (True, a)
457 OPTIONS.replace_verity_private_key = (True, a)