Home
last modified time | relevance | path

Searched refs:PlatformVersion (Results 1 – 25 of 27) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/
DPlatformVersion.java26 public final class PlatformVersion extends ApiVersion<PlatformVersion> implements Parcelable { class
39 public static final PlatformVersion TIRAMISU_0 =
40 new PlatformVersion("TIRAMISU_0", Build.VERSION_CODES.TIRAMISU, 0);
46 public static final PlatformVersion TIRAMISU_1 =
47 new PlatformVersion("TIRAMISU_1", Build.VERSION_CODES.TIRAMISU, 1);
53 public static final PlatformVersion TIRAMISU_2 =
54 new PlatformVersion("TIRAMISU_2", Build.VERSION_CODES.TIRAMISU, 2);
60 public static final PlatformVersion TIRAMISU_3 =
61 new PlatformVersion("TIRAMISU_3", Build.VERSION_CODES.TIRAMISU, 3);
67 public static final PlatformVersion UPSIDE_DOWN_CAKE_0 =
[all …]
DPlatformVersionMismatchException.java40 private final PlatformVersion mExpectedPlatformApiVersion;
66 @NonNull PlatformVersion expectedPlatformApiVersion) { in PlatformVersionMismatchException()
78 public @NonNull PlatformVersion getMinimumPlatformApiVersion() { in getMinimumPlatformApiVersion()
103 PlatformVersion expectedPlatformApiVersion = (PlatformVersion) in in PlatformVersionMismatchException()
104 .readTypedObject(PlatformVersion.CREATOR); in PlatformVersionMismatchException()
DCar.java157 private static final PlatformVersion PLATFORM_VERSION;
173 PlatformVersion emulated = null;
179 emulated = android.car.PlatformVersion.newInstance("EMULATED", major, minor);
184 emulated != null ? emulated : PlatformVersion.getCurrentPlatformVersionForMinor(
1786 public static android.car.PlatformVersion getPlatformVersion() { in getPlatformVersion()
1822 .isAtLeast(PlatformVersion.forMajorVersion(minPlatformSdkInt)); in isApiAndPlatformVersionAtLeast()
1837 .isAtLeast(PlatformVersion.forMajorVersion(minPlatformSdkInt)); in isApiAndPlatformVersionAtLeast()
/packages/services/Car/car-lib/src/android/car/annotation/
DApiRequirements.java54 PlatformVersion minPlatformVersion(); in minPlatformVersion()
99 enum PlatformVersion { enum
101 TIRAMISU_0(android.car.PlatformVersion.VERSION_CODES.TIRAMISU_0),
102 TIRAMISU_1(android.car.PlatformVersion.VERSION_CODES.TIRAMISU_1),
103 TIRAMISU_2(android.car.PlatformVersion.VERSION_CODES.TIRAMISU_2),
104 TIRAMISU_3(android.car.PlatformVersion.VERSION_CODES.TIRAMISU_3),
105 UPSIDE_DOWN_CAKE_0(android.car.PlatformVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0),
106 UPSIDE_DOWN_CAKE_1(android.car.PlatformVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_1),
107 VANILLA_ICE_CREAM_0(android.car.PlatformVersion.VERSION_CODES.VANILLA_ICE_CREAM_0);
109 private final android.car.PlatformVersion mVersion;
[all …]
/packages/services/Car/car-lib-module/api/
Dtest-current.txt62 …method public abstract android.car.annotation.ApiRequirements.PlatformVersion minPlatformVersion();
77 public enum ApiRequirements.PlatformVersion {
78 method public android.car.PlatformVersion get();
79 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
80 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
81 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
82 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
83 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion UPSIDE_DO…
84 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion UPSIDE_DO…
85 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion VANILLA_I…
Dcurrent.txt23 method @Deprecated @NonNull public static android.car.PlatformVersion getPlatformVersion();
221 …public final class PlatformVersion extends android.car.ApiVersion<android.car.PlatformVersion> imp…
223 method @NonNull public static android.car.PlatformVersion forMajorAndMinorVersions(int, int);
224 method @NonNull public static android.car.PlatformVersion forMajorVersion(int);
226 …field @NonNull public static final android.os.Parcelable.Creator<android.car.PlatformVersion> CREA…
229 public static class PlatformVersion.VERSION_CODES {
230 field @NonNull public static final android.car.PlatformVersion TIRAMISU_0;
231 field @NonNull public static final android.car.PlatformVersion TIRAMISU_1;
232 field @NonNull public static final android.car.PlatformVersion TIRAMISU_2;
233 field @NonNull public static final android.car.PlatformVersion TIRAMISU_3;
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/res/
DTest1.txt45 @AddedIn(PlatformVersion.TIRAMISU_0)
55 minPlatformVersion = ApiRequirements.PlatformVersion.UPSIDE_DOWN_CAKE_0)
64 @AddedIn(value=PlatformVersion.TIRAMISU_0)
66 minPlatformVersion = ApiRequirements.PlatformVersion.UPSIDE_DOWN_CAKE_0)
85 minPlatformVersion = ApiRequirements.PlatformVersion.UPSIDE_DOWN_CAKE_0)
129 minPlatformVersion = ApiRequirements.PlatformVersion.UPSIDE_DOWN_CAKE_0)
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiCheckerRule.java26 import android.car.PlatformVersion;
231 PlatformVersion platformVersion = Car.getPlatformVersion(); in isSupported()
856 private final PlatformVersion mPlatformVersion;
860 PlatformVersion platformVersion, ApiRequirements apiRequirements) {
875 public PlatformVersion getPlatformVersion() {
890 private final PlatformVersion mPlatformVersion;
894 PlatformVersion platformVersion, ApiRequirements apiRequirements) {
909 public PlatformVersion getPlatformVersion() {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java20 import android.car.PlatformVersion;
90 PlatformVersion platformApiVersion = Car.getPlatformVersion(); in onStart()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/annotation/
DPlatformVersion.java29 public enum PlatformVersion { enum
DAddedIn.java37 PlatformVersion value(); in value()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java27 import android.car.PlatformVersion;
161 PlatformVersion platformVersion = Car.getPlatformVersion(); in testApiVersion_platform()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java64 import android.car.PlatformVersion;
434 PlatformVersion platformVersion = PlatformVersion.forMajorVersion(666); in testMockCarGetPlatformVersion()
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt16 public enum PlatformVersion {
17 enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_0;
18 enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_1;
19 enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_2;
20 enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_3;
21 …enum_constant public static final android.car.builtin.annotation.PlatformVersion UPSIDE_DOWN_CAKE_…
22 …enum_constant public static final android.car.builtin.annotation.PlatformVersion UPSIDE_DOWN_CAKE_…
23 …enum_constant public static final android.car.builtin.annotation.PlatformVersion VANILLA_ICE_CREAM…
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairAdvertiserTest.java44 import android.car.PlatformVersion;
594 mockCarGetPlatformVersion(PlatformVersion.VERSION_CODES.TIRAMISU_1); in testFPAdvertiserBackCompat_tiramisu1_createRealCallbackFromProxyInvoked()
614 mockCarGetPlatformVersion(PlatformVersion.VERSION_CODES.TIRAMISU_0); in testFPAdvertiserBackCompat_tiramisu0_createRealCallbackFromProxyNotInvoked()
/packages/services/Car/car-lib/api/
Dcurrent.txt23 method @Deprecated @NonNull public static android.car.PlatformVersion getPlatformVersion();
221 …public final class PlatformVersion extends android.car.ApiVersion<android.car.PlatformVersion> imp…
223 method @NonNull public static android.car.PlatformVersion forMajorAndMinorVersions(int, int);
224 method @NonNull public static android.car.PlatformVersion forMajorVersion(int);
226 …field @NonNull public static final android.os.Parcelable.Creator<android.car.PlatformVersion> CREA…
229 public static class PlatformVersion.VERSION_CODES {
230 field @NonNull public static final android.car.PlatformVersion TIRAMISU_0;
231 field @NonNull public static final android.car.PlatformVersion TIRAMISU_1;
232 field @NonNull public static final android.car.PlatformVersion TIRAMISU_2;
233 field @NonNull public static final android.car.PlatformVersion TIRAMISU_3;
[all …]
Dlint-baseline.txt4 AcronymName: android.car.PlatformVersion.VERSION_CODES:
540 UnflaggedApi: android.car.PlatformVersion:
541 New API must be flagged with @FlaggedApi: class android.car.PlatformVersion
542 UnflaggedApi: android.car.PlatformVersion#CREATOR:
543 New API must be flagged with @FlaggedApi: field android.car.PlatformVersion.CREATOR
544 UnflaggedApi: android.car.PlatformVersion#describeContents():
545 New API must be flagged with @FlaggedApi: method android.car.PlatformVersion.describeContents()
546 UnflaggedApi: android.car.PlatformVersion#forMajorAndMinorVersions(int, int):
547 …New API must be flagged with @FlaggedApi: method android.car.PlatformVersion.forMajorAndMinorVersi…
548 UnflaggedApi: android.car.PlatformVersion#forMajorVersion(int):
[all …]
Dtest-current.txt466 …method public abstract android.car.annotation.ApiRequirements.PlatformVersion minPlatformVersion();
481 public enum ApiRequirements.PlatformVersion {
482 method public android.car.PlatformVersion get();
483 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
484 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
485 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
486 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion TIRAMISU_…
487 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion UPSIDE_DO…
488 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion UPSIDE_DO…
489 …enum_constant public static final android.car.annotation.ApiRequirements.PlatformVersion VANILLA_I…
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/os/
DCarPerformanceTestFragment.java19 import static android.car.PlatformVersion.VERSION_CODES.TIRAMISU_1;
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java37 import android.car.PlatformVersion;
487 public static void mockCarGetPlatformVersion(PlatformVersion version) { in mockCarGetPlatformVersion()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java18 import static android.car.PlatformVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0;
/packages/services/Car/car-lib/
DAndroid.bp110 "src/android/car/PlatformVersion.java",
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioVolumeGroupTest.java19 import static android.car.PlatformVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0;
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt660 class PlatformVersion package android.car
661 field TIRAMISU_1 Parcelable.Creator<PlatformVersion> CREATOR;
662 method TIRAMISU_1 PlatformVersion forMajorAndMinorVersions(int majorVersion, int minorVersion);
663 method TIRAMISU_1 PlatformVersion forMajorVersion(int majorVersion);
666 class PlatformVersion.VERSION_CODES package android.car
667 …field TIRAMISU_1 PlatformVersion TIRAMISU_0 = forMajorAndMinorVersions(Build.VERSION_CODES.TIRAMIS…
668 …field TIRAMISU_1 PlatformVersion TIRAMISU_1 = forMajorAndMinorVersions(Build.VERSION_CODES.TIRAMIS…
746 method TIRAMISU_1 PlatformVersion getExpectedPlatformApiVersion();
1877 method TIRAMISU_1 android.car.PlatformVersion getPlatformVersion();
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java69 import android.car.PlatformVersion;
2915 mockCarGetPlatformVersion(PlatformVersion.VERSION_CODES.UPSIDE_DOWN_CAKE_0); in testIsUserVisible_platformVersionAtLeastUDC()

12