Home
last modified time | relevance | path

Searched refs:apiLevel (Results 1 – 7 of 7) sorted by relevance

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DPropertyUtil.java97 int apiLevel = getPropertyInt(device, apiLevelProp); in getVsrApiLevel() local
98 if (apiLevel != INT_VALUE_IF_UNSET) { in getVsrApiLevel()
99 return Math.min(apiLevel, getFirstApiLevel(device)); in getVsrApiLevel()
123 int apiLevel = getPropertyInt(device, prop); in getVendorApiLevel() local
124 if (apiLevel != INT_VALUE_IF_UNSET) { in getVendorApiLevel()
125 return apiLevel; in getVendorApiLevel()
132 public static boolean isVendorApiLevelNewerThan(ITestDevice device, int apiLevel) in isVendorApiLevelNewerThan() argument
134 return getVendorApiLevel(device) > apiLevel; in isVendorApiLevelNewerThan()
141 public static boolean isVendorApiLevelAtLeast(ITestDevice device, int apiLevel) in isVendorApiLevelAtLeast() argument
143 return getVendorApiLevel(device) >= apiLevel; in isVendorApiLevelAtLeast()
/test/vts/tests/gpu_test/src/com/android/gpu/vts/
DOpenGlEsTest.java39 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkOpenGlEsDeqpLevelIsHighEnough() local
41 assumeTrue("Test does not apply for API level lower than S", apiLevel >= Build.SC); in checkOpenGlEsDeqpLevelIsHighEnough()
45 switch (apiLevel) { in checkOpenGlEsDeqpLevelIsHighEnough()
69 ReflectionUtils.valueName(Build.class, apiLevel)); in checkOpenGlEsDeqpLevelIsHighEnough()
DVulkanTest.java213 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkVulkanDeqpLevelIsHighEnough() local
215 assumeTrue("Test does not apply for API level lower than R", apiLevel >= Build.RVC); in checkVulkanDeqpLevelIsHighEnough()
220 switch (apiLevel) { in checkVulkanDeqpLevelIsHighEnough()
272 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkVulkanDeviceMemoryReportSupport() local
274 assumeTrue("Test does not apply for API level lower than S", apiLevel >= Build.SC); in checkVulkanDeviceMemoryReportSupport()
435 final int apiLevel = PropertyUtil.getVendorApiLevel(getDevice()); in checkProtectedMemorySupport() local
437 final boolean allowSoftFailure = apiLevel <= Build.VENDOR_25Q2; in checkProtectedMemorySupport()
468 final int apiLevel = PropertyUtil.getVendorApiLevel(getDevice()); in checkGlobalPrioritySupport() local
470 final boolean allowSoftFailure = apiLevel <= Build.VENDOR_25Q2; in checkGlobalPrioritySupport()
DGpuProfilingTest.java69 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkGpuProfilingRequirements() local
72 assumeTrue("Test does not apply for API level lower than S", apiLevel >= Build.SC); in checkGpuProfilingRequirements()
/test/vts-testcase/hal/treble/vintf/
DVtsNoHidl.cpp53 int apiLevel = android::base::GetIntProperty("ro.vendor.api_level", 0); in TEST_F() local
54 if (apiLevel < __ANDROID_API_U__) { in TEST_F()
60 if (apiLevel == __ANDROID_API_U__) { in TEST_F()
/test/vts-testcase/kernel/pagesize_16kb/
DVts16KPageSizeTest.cpp230 int apiLevel = VendorApiLevel(); in TEST_F() local
231 if (apiLevel < 36 /* Android B */) { in TEST_F()
241 int apiLevel = VendorApiLevel(); in TEST_F() local
242 if (apiLevel < 36 /* Android B */) { in TEST_F()
/test/robolectric-extensions/plugins/src/main/java/org/robolectric/android/plugins/
DAndroidLocalSdkProvider.java104 ProvidedJarSdk(int apiLevel, String androidVersion, String codeName, Path jarPath) { in ProvidedJarSdk() argument
105 super(apiLevel, androidVersion, "", codeName, getJdkVersion()); in ProvidedJarSdk()