Home | History | Annotate | Download | only in releasetools

Lines Matching refs:downgrade

72   --downgrade
75 will be replaced by "ota-downgrade=yes" in the metadata file. A data
155 OPTIONS.downgrade = False
818 if OPTIONS.downgrade:
819 metadata["ota-downgrade"] = "yes"
821 raise RuntimeError("--downgrade specified but no downgrade detected: "
828 # update path of A -> C -> B. Specifying --downgrade may not help since
830 print("\nWARNING: downgrade detected: pre: %s, post: %s.\n"
832 "Try --downgrade?\n" % (pre_timestamp, post_timestamp))
1088 # For downgrade OTAs, we prefer to use the update-binary in the source
1090 if OPTIONS.downgrade:
1508 if OPTIONS.downgrade:
1509 metadata["ota-downgrade"] = "yes"
1511 raise RuntimeError("--downgrade specified but no downgrade detected: "
1518 # update path of A -> C -> B. Specifying --downgrade may not help since
1520 print("\nWARNING: downgrade detected: pre: %s, post: %s.\n"
1522 "Try --downgrade?\n" % (pre_timestamp, post_timestamp))
1878 # For downgrade OTAs, we prefer to use the update-binary in the source
1880 if OPTIONS.downgrade:
1906 elif o == "--downgrade":
1907 OPTIONS.downgrade = True
1966 "downgrade",
1989 if OPTIONS.downgrade:
1992 raise ValueError("Cannot downgrade without a data wipe")