Home
last modified time | relevance | path

Searched refs:CarVersion (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/
DCarVersion.java26 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 =
[all …]
DCarVersion.aidl18 parcelable CarVersion;
DCar.java154 private static final CarVersion CAR_VERSION = CarVersion.newInstance("Car.CAR_VERSION",
1770 public static android.car.CarVersion getCarVersion() { in getCarVersion()
1796 return getCarVersion().isAtLeast(CarVersion.forMajorVersion(requiredApiVersionMajor)); in isApiVersionAtLeast()
1807 .isAtLeast(CarVersion.forMajorAndMinorVersions(requiredApiVersionMajor, in isApiVersionAtLeast()
1820 return getCarVersion().isAtLeast(CarVersion.forMajorVersion(requiredApiVersionMajor)) in isApiAndPlatformVersionAtLeast()
1834 .isAtLeast(CarVersion.forMajorAndMinorVersions(requiredApiVersionMajor, in isApiAndPlatformVersionAtLeast()
/packages/services/Car/car-lib/src/android/car/annotation/
DApiRequirements.java46 CarVersion minCarVersion(); in minCarVersion()
74 enum CarVersion { enum
76 TIRAMISU_0(android.car.CarVersion.VERSION_CODES.TIRAMISU_0),
77 TIRAMISU_1(android.car.CarVersion.VERSION_CODES.TIRAMISU_1),
78 TIRAMISU_2(android.car.CarVersion.VERSION_CODES.TIRAMISU_2),
79 TIRAMISU_3(android.car.CarVersion.VERSION_CODES.TIRAMISU_3),
80 UPSIDE_DOWN_CAKE_0(android.car.CarVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0),
81 UPSIDE_DOWN_CAKE_1(android.car.CarVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_1),
82 VANILLA_ICE_CREAM_0(android.car.CarVersion.VERSION_CODES.VANILLA_ICE_CREAM_0);
84 private final android.car.CarVersion mVersion;
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DCarVersionParser.java24 import android.car.CarVersion;
47 public static CarVersion getTargetCarVersion(ApplicationInfo info) { in getTargetCarVersion()
56 return CarVersion.forMajorAndMinorVersions(major, minor); in getTargetCarVersion()
63 static CarVersion parse(String pkgName, @Nullable String value, int targetSdkVersion) { in parse()
65 return CarVersion.forMajorAndMinorVersions(targetSdkVersion, 0); in parse()
73 return CarVersion.forMajorAndMinorVersions(targetSdkVersion, 0); in parse()
79 return CarVersion.forMajorAndMinorVersions(major, minor); in parse()
85 return CarVersion.forMajorAndMinorVersions(targetSdkVersion, 0); in parse()
/packages/services/Car/car-lib-module/api/
Dtest-current.txt61 method public abstract android.car.annotation.ApiRequirements.CarVersion minCarVersion();
66 public enum ApiRequirements.CarVersion {
67 method public android.car.CarVersion get();
68 enum_constant public static final android.car.annotation.ApiRequirements.CarVersion TIRAMISU_0;
69 enum_constant public static final android.car.annotation.ApiRequirements.CarVersion TIRAMISU_1;
70 enum_constant public static final android.car.annotation.ApiRequirements.CarVersion TIRAMISU_2;
71 enum_constant public static final android.car.annotation.ApiRequirements.CarVersion TIRAMISU_3;
72 …enum_constant public static final android.car.annotation.ApiRequirements.CarVersion UPSIDE_DOWN_CA…
73 …enum_constant public static final android.car.annotation.ApiRequirements.CarVersion UPSIDE_DOWN_CA…
74 …enum_constant public static final android.car.annotation.ApiRequirements.CarVersion VANILLA_ICE_CR…
Dcurrent.txt22 method @Deprecated @NonNull public static android.car.CarVersion getCarVersion();
166 …public final class CarVersion extends android.car.ApiVersion<android.car.CarVersion> implements an…
168 method @NonNull public static android.car.CarVersion forMajorAndMinorVersions(int, int);
169 method @NonNull public static android.car.CarVersion forMajorVersion(int);
171 … field @NonNull public static final android.os.Parcelable.Creator<android.car.CarVersion> CREATOR;
174 public static class CarVersion.VERSION_CODES {
175 field @NonNull public static final android.car.CarVersion TIRAMISU_0;
176 field @NonNull public static final android.car.CarVersion TIRAMISU_1;
177 field @NonNull public static final android.car.CarVersion TIRAMISU_2;
178 field @NonNull public static final android.car.CarVersion TIRAMISU_3;
[all …]
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oemcarservice/testapp/
DOemCarServiceImpl.java19 import android.car.CarVersion;
35 private static final CarVersion SUPPORTED_CAR_VERSION =
36 CarVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0;
124 public CarVersion getSupportedCarVersion() { in getSupportedCarVersion()
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DOemCarServiceTest.java24 import android.car.CarVersion;
37 private final CarVersion mCarVersionForTesting = CarVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0;
171 public CarVersion getSupportedCarVersion() { in getSupportedCarVersion()
246 public CarVersion getSupportedCarVersion() { in getSupportedCarVersion()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DCarPackageManagerServiceUnitTest.java45 import android.car.CarVersion;
210 CarVersion Version = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_ok()
224 CarVersion Version = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_byUser()
241 CarVersion Version = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_self_ok()
257 CarVersion Version = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_self_wrongUid()
308 CarVersion actualVersion = CarPackageManagerService.getTargetCarVersion( in testGetTargetCarVersion_static_ok()
DCarVersionParserTest.java23 import android.car.CarVersion;
37 CarVersion apiVersion = CarVersionParser.getTargetCarVersion(info); in testGetTargetCarApiVersion_noMetadata()
52 CarVersion apiVersion = CarVersionParser.getTargetCarVersion(info); in testGetTargetCarApiVersion_simpleCase()
DCarVersionParserParseMethodTest.java21 import android.car.CarVersion;
51 CarVersion actual = CarVersionParser.parse(PGK_NAME, mAttribute, TARGET_SDK); in testParse()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/content/pm/
DCarPackageManagerUnitTest.java29 import android.car.CarVersion;
79 CarVersion apiVersion = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_self_ok()
98 CarVersion apiVersion = CarVersion.forMajorAndMinorVersions(66, 6); in testGetTargetCarVersion_ok()
/packages/services/Car/car-lib/src/android/car/content/pm/
DICarPackageManager.aidl20 import android.car.CarVersion;
39 CarVersion getTargetCarVersion(String packageName) = 10;
40 CarVersion getSelfTargetCarVersion(in String packageName) = 11;
DCarPackageManager.java35 import android.car.CarVersion;
496 public CarVersion getTargetCarVersion(@NonNull String packageName) in getTargetCarVersion()
523 public CarVersion getTargetCarVersion() { in getTargetCarVersion()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPackageManagerTest.java25 import android.car.CarVersion;
53 CarVersion apiVersion = mCarPackageManager.getTargetCarVersion(); in testGetTargetCarVersion_self()
78 CarVersion apiVersion = mCarPackageManager.getTargetCarVersion(pkg); in testGetTargetCarMajorAndMinorVersion_set()
DCarTest.java25 import android.car.CarVersion;
151 CarVersion carVersion = Car.getCarVersion(); in testApiVersion_car()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java19 import android.car.CarVersion;
89 CarVersion carApiVersion = Car.getCarVersion(); in onStart()
102 boolean isCarApiTQpr = carApiVersion.isAtLeast(CarVersion.VERSION_CODES.TIRAMISU_1); in onStart()
120 CarVersion apiVersion; in setTargetCarApiVersion()
/packages/services/Car/car-lib/src/android/car/oem/
DIOemCarService.aidl19 import android.car.CarVersion;
45 CarVersion getSupportedCarVersion(); in getSupportedCarVersion()
DOemCarService.java24 import android.car.CarVersion;
112 public CarVersion getSupportedCarVersion() {
298 public abstract CarVersion getSupportedCarVersion(); in getSupportedCarVersion()
/packages/services/Car/tools/GenericCarApiBuilder/res/
DTest1.txt54 @ApiRequirements(minCarVersion = ApiRequirements.CarVersion.UPSIDE_DOWN_CAKE_0,
65 @ApiRequirements(minCarVersion = ApiRequirements.CarVersion.UPSIDE_DOWN_CAKE_0,
84 @ApiRequirements(minCarVersion = ApiRequirements.CarVersion.UPSIDE_DOWN_CAKE_0,
128 @ApiRequirements(minCarVersion = ApiRequirements.CarVersion.UPSIDE_DOWN_CAKE_0,
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiCheckerRule.java25 import android.car.CarVersion;
855 private final CarVersion mCarVersion;
859 ExpectedVersionAssumptionViolationException(Annotation annotation, CarVersion carVersion,
871 public CarVersion getCarVersion() {
889 private final CarVersion mCarVersion;
893 PlatformVersionMismatchExceptionNotThrownException(CarVersion carVersion,
905 public CarVersion getCarVersion() {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/oem/
DCarOemProxyServiceTest.java32 import android.car.CarVersion;
309 public CarVersion getSupportedCarVersion() { in getSupportedCarVersion()
310 return CarVersion.VERSION_CODES.TIRAMISU_2; in getSupportedCarVersion()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java63 import android.car.CarVersion;
425 CarVersion carVersion = CarVersion.forMajorVersion(666); in testMockCarGetCarVersion()
/packages/services/Car/car-lib/api/
Dcurrent.txt22 method @Deprecated @NonNull public static android.car.CarVersion getCarVersion();
166 …public final class CarVersion extends android.car.ApiVersion<android.car.CarVersion> implements an…
168 method @NonNull public static android.car.CarVersion forMajorAndMinorVersions(int, int);
169 method @NonNull public static android.car.CarVersion forMajorVersion(int);
171 … field @NonNull public static final android.os.Parcelable.Creator<android.car.CarVersion> CREATOR;
174 public static class CarVersion.VERSION_CODES {
175 field @NonNull public static final android.car.CarVersion TIRAMISU_0;
176 field @NonNull public static final android.car.CarVersion TIRAMISU_1;
177 field @NonNull public static final android.car.CarVersion TIRAMISU_2;
178 field @NonNull public static final android.car.CarVersion TIRAMISU_3;
[all …]

12