Searched refs:apiLevel (Results 1 – 6 of 6) sorted by relevance
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 97 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-testcase/hal/treble/vintf/ |
D | VtsNoHidl.cpp | 54 int apiLevel = android::base::GetIntProperty("ro.vendor.api_level", 0); in TEST_F() local 55 if (apiLevel < __ANDROID_API_U__) { in TEST_F() 61 if (apiLevel == __ANDROID_API_U__) { in TEST_F() 78 } else if (apiLevel == __ANDROID_VENDOR_API_24Q2__) { in TEST_F() 83 GTEST_FAIL() << "Unexpected Android vendor API level (" << apiLevel in TEST_F()
|
/test/vts/tests/gpu_test/src/com/android/gpu/vts/ |
D | VulkanTest.java | 206 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkVulkanDeqpLevelIsHighEnough() local 208 assumeTrue("Test does not apply for API level lower than R", apiLevel >= Build.RVC); in checkVulkanDeqpLevelIsHighEnough() 213 switch (apiLevel) { in checkVulkanDeqpLevelIsHighEnough() 258 final int apiLevel = Util.getVendorApiLevelOrFirstProductApiLevel(getDevice()); in checkVulkanDeviceMemoryReportSupport() local 260 assumeTrue("Test does not apply for API level lower than S", apiLevel >= Build.SC); in checkVulkanDeviceMemoryReportSupport() 294 final int apiLevel = PropertyUtil.getVendorApiLevel(getDevice()); in checkSkiaVulkanSupport() local 296 assumeTrue("Test does not apply for SoCs launched before V", apiLevel >= Build.VENDOR_24Q2); in checkSkiaVulkanSupport() 330 final int apiLevel = PropertyUtil.getVendorApiLevel(getDevice()); in checkAndroidBaselineProfile2022Support() local 332 assumeTrue("Test does not apply for SoCs launched before V", apiLevel >= Build.VENDOR_24Q2); in checkAndroidBaselineProfile2022Support() 356 final int apiLevel = PropertyUtil.getVendorApiLevel(getDevice()); in checkVpAndroid15MinimumsSupport() local [all …]
|
D | OpenGlEsTest.java | 39 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()
|
D | GpuProfilingTest.java | 69 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/robolectric-extensions/plugins/src/main/java/org/robolectric/android/plugins/ |
D | AndroidLocalSdkProvider.java | 94 ProvidedJarSdk(int apiLevel, String androidVersion, String codeName, Path jarPath) { in ProvidedJarSdk() argument 95 super(apiLevel, androidVersion, "", codeName, getJdkVersion()); in ProvidedJarSdk()
|