Searched refs:getApiLevel (Results 1 – 10 of 10) sorted by relevance
54 return device.getApiLevel() >= 31 /* BUILD.VERSION_CODES.S */; in isAtLeastS()58 return device.getApiLevel() >= 34; in isAtLeastU()
171 assumeTrue(sDevice.getApiLevel() >= 34); in testMainUser_hasEnterpriseAccess_withManagedPermission_onUAbove()185 assumeTrue(sDevice.getApiLevel() <= 33); in testMainUser_doesNotHaveEnterpriseAccess_withManagedPermission_onTBelow()
39 device.getApiLevel(), greaterThanOrEqualTo(29 /* Q */)); in setUp()
76 public static int getApiLevel() { in getApiLevel() method in ApiLevelUtil
43 mHasLauncherApps = getDevice().getApiLevel() >= 21; in setUp()
64 int apiLevel = testDevice.getApiLevel(); in apply()
785 assumeTrue("API level must be >=" + min, getDevice().getApiLevel() >= min); in assumeApiLevel()
54 final int apiLevel = getDevice().getApiLevel(); in testBootStats()
117 public static final boolean IS_Q = ApiLevelUtil.getApiLevel() == Build.VERSION_CODES.Q;
6399 if (ApiLevelUtil.getApiLevel() == Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { in testQosPolicyParamsBuilder()