Searched refs:isApiVersionAtLeast (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 126 expectThat(Car.isApiVersionAtLeast(apiVersionMajorInt)).isTrue(); in testApiVersion_deprecated() 127 expectThat(Car.isApiVersionAtLeast(ApiVersionTooHigh)).isFalse(); in testApiVersion_deprecated() 129 expectThat(Car.isApiVersionAtLeast(apiVersionMajorInt - 1, MinorApiVersionTooHigh)) in testApiVersion_deprecated() 131 expectThat(Car.isApiVersionAtLeast(apiVersionMajorInt, apiVersionMinorInt)).isTrue(); in testApiVersion_deprecated() 132 expectThat(Car.isApiVersionAtLeast(apiVersionMajorInt, MinorApiVersionTooHigh)).isFalse(); in testApiVersion_deprecated() 133 expectThat(Car.isApiVersionAtLeast(ApiVersionTooHigh, 0)).isFalse(); in testApiVersion_deprecated()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
D | AndroidMockitoHelperTest.java | 445 assertThat(Car.isApiVersionAtLeast(66, 6)).isTrue(); in testMockCarIsApiVersionAtLeast()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 1795 public static boolean isApiVersionAtLeast(int requiredApiVersionMajor) { in isApiVersionAtLeast() method in Car 1804 public static boolean isApiVersionAtLeast(int requiredApiVersionMajor, in isApiVersionAtLeast() method in Car
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiCheckerRule.java | 448 if (!Car.isApiVersionAtLeast(Build.VERSION_CODES.TIRAMISU, /* minor= */ 1)) {
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 497 doReturn(isIt).when(() -> Car.isApiVersionAtLeast(major, minor)); in mockCarIsApiVersionAtLeast()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 26 method @Deprecated public static boolean isApiVersionAtLeast(int); 27 method @Deprecated public static boolean isApiVersionAtLeast(int, int);
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 26 method @Deprecated public static boolean isApiVersionAtLeast(int); 27 method @Deprecated public static boolean isApiVersionAtLeast(int, int);
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1878 method TIRAMISU_0 boolean isApiVersionAtLeast(int requiredApiVersionMajor); 1879 …method TIRAMISU_0 boolean isApiVersionAtLeast(int requiredApiVersionMajor, int requiredApiVersionM…
|