Home
last modified time | relevance | path

Searched refs:getCarVersion (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiCheckerRule.java450 + " (major=" + Car.getCarVersion().getMajorVersion()
451 + ", minor=" + Car.getCarVersion().getMinorVersion() + ")");
731 Car.getCarVersion(), Car.getPlatformVersion(), apiRequirements);
747 Car.getCarVersion(), Car.getPlatformVersion(), apiRequirements);
762 Car.getCarVersion(), Car.getPlatformVersion(), apiRequirements);
871 public CarVersion getCarVersion() {
905 public CarVersion getCarVersion() {
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java124 int apiVersionMajorInt = Car.getCarVersion().getMajorVersion(); in testApiVersion_deprecated()
125 int apiVersionMinorInt = Car.getCarVersion().getMinorVersion(); in testApiVersion_deprecated()
151 CarVersion carVersion = Car.getCarVersion(); in testApiVersion_car()
/packages/services/Car/car-lib/src/android/car/
DCar.java1770 public static android.car.CarVersion getCarVersion() { in getCarVersion() method in Car
1796 return getCarVersion().isAtLeast(CarVersion.forMajorVersion(requiredApiVersionMajor)); in isApiVersionAtLeast()
1806 return getCarVersion() in isApiVersionAtLeast()
1820 return getCarVersion().isAtLeast(CarVersion.forMajorVersion(requiredApiVersionMajor)) in isApiAndPlatformVersionAtLeast()
1833 return getCarVersion() in isApiAndPlatformVersionAtLeast()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java89 CarVersion carApiVersion = Car.getCarVersion(); in onStart()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java889 writer.println("Car Version: " + Car.getCarVersion()); in dumpVersions()
894 writer.println("Car API major: " + Car.getCarVersion().getMajorVersion()); in dumpVersions()
895 writer.println("Car API minor: " + Car.getCarVersion().getMinorVersion()); in dumpVersions()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java429 assertThat(Car.getCarVersion()).isSameInstanceAs(carVersion); in testMockCarGetCarVersion()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java481 doReturn(version).when(() -> Car.getCarVersion()); in mockCarGetCarVersion()
/packages/services/Car/car-lib/api/
Dcurrent.txt22 method @Deprecated @NonNull public static android.car.CarVersion getCarVersion();
/packages/services/Car/car-lib-module/api/
Dcurrent.txt22 method @Deprecated @NonNull public static android.car.CarVersion getCarVersion();
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1876 method TIRAMISU_1 android.car.CarVersion getCarVersion();