Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DBaseHostTestCase.java54 return device.getApiLevel() >= 31 /* BUILD.VERSION_CODES.S */; in isAtLeastS()
58 return device.getApiLevel() >= 34; in isAtLeastU()
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DEnterpriseContactsMultiUserTest.java171 assumeTrue(sDevice.getApiLevel() >= 34); in testMainUser_hasEnterpriseAccess_withManagedPermission_onUAbove()
185 assumeTrue(sDevice.getApiLevel() <= 33); in testMainUser_doesNotHaveEnterpriseAccess_withManagedPermission_onTBelow()
/cts/hostsidetests/edi/src/android/edi/cts/
DDynamicPartitionsDeviceInfo.java39 device.getApiLevel(), greaterThanOrEqualTo(29 /* Q */)); in setUp()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java76 public static int getApiLevel() { in getApiLevel() method in ApiLevelUtil
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsSingleUserTest.java43 mHasLauncherApps = getDevice().getApiLevel() >= 21; in setUp()
DDeviceAdminFeaturesCheckerRule.java64 int apiLevel = testDevice.getApiLevel(); in apply()
DBaseDevicePolicyTest.java785 assumeTrue("API level must be >=" + min, getDevice().getApiLevel() >= min); in assumeApiLevel()
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java54 final int apiLevel = getDevice().getApiLevel(); in testBootStats()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java117 public static final boolean IS_Q = ApiLevelUtil.getApiLevel() == Build.VERSION_CODES.Q;
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java6399 if (ApiLevelUtil.getApiLevel() == Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { in testQosPolicyParamsBuilder()