Lines Matching refs:CarVersion
26 public final class CarVersion extends ApiVersion<CarVersion> implements Parcelable { class
37 public static final CarVersion TIRAMISU_0 =
38 new CarVersion("TIRAMISU_0", Build.VERSION_CODES.TIRAMISU, 0);
44 public static final CarVersion TIRAMISU_1 =
45 new CarVersion("TIRAMISU_1", Build.VERSION_CODES.TIRAMISU, 1);
51 public static final CarVersion TIRAMISU_2 =
52 new CarVersion("TIRAMISU_2", Build.VERSION_CODES.TIRAMISU, 2);
58 public static final CarVersion TIRAMISU_3 =
59 new CarVersion("TIRAMISU_3", Build.VERSION_CODES.TIRAMISU, 3);
65 public static final CarVersion UPSIDE_DOWN_CAKE_0 =
66 new CarVersion("UPSIDE_DOWN_CAKE_0", Build.VERSION_CODES.UPSIDE_DOWN_CAKE, 0);
72 public static final CarVersion UPSIDE_DOWN_CAKE_1 =
73 new CarVersion("UPSIDE_DOWN_CAKE_1", Build.VERSION_CODES.UPSIDE_DOWN_CAKE, 1);
79 public static final CarVersion VANILLA_ICE_CREAM_0 =
80 new CarVersion("VANILLA_ICE_CREAM_0", Build.VERSION_CODES.VANILLA_ICE_CREAM, 0);
90 static CarVersion newInstance(String versionName, int majorVersion, int minorVersion) { in newInstance()
91 return new CarVersion(versionName, majorVersion, minorVersion); in newInstance()
98 public static CarVersion forMajorAndMinorVersions(int majorVersion, int minorVersion) { in forMajorAndMinorVersions()
99 return new CarVersion(majorVersion, minorVersion); in forMajorAndMinorVersions()
106 public static CarVersion forMajorVersion(int majorVersion) { in forMajorVersion()
107 return new CarVersion(majorVersion, /* minorVersion= */ 0); in forMajorVersion()
110 private CarVersion(String name, int majorVersion, int minorVersion) { in CarVersion() method in CarVersion
114 private CarVersion(int majorVersion, int minorVersion) { in CarVersion() method in CarVersion
129 public static final Parcelable.Creator<CarVersion> CREATOR =
130 new Parcelable.Creator<CarVersion>() {
133 public CarVersion createFromParcel(Parcel source) {
135 (name, major, minor) -> new CarVersion(name, major, minor));
139 public CarVersion[] newArray(int size) {
140 return new CarVersion[size];