Home
last modified time | relevance | path

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

/cts/common/host-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java30 return device.getApiLevel() < version; in isBefore()
35 return device.getApiLevel() > version; in isAfter()
40 return device.getApiLevel() >= version; in isAtLeast()
45 return device.getApiLevel() <= version; in isAtMost()
48 public static int getApiLevel(ITestDevice device) throws DeviceNotAvailableException { in getApiLevel() method in ApiLevelUtil
49 return device.getApiLevel(); in getApiLevel()
DPropertyUtil.java46 return (propString == null) ? device.getApiLevel() : Integer.parseInt(propString); in getFirstApiLevel()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java42 public static int getApiLevel() { in getApiLevel() method in ApiLevelUtil
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsMultiUserTest.java41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
DLauncherAppsSingleUserTest.java36 mHasLauncherApps = getDevice().getApiLevel() >= 21; in setUp()
DBaseDeviceAdminServiceTest.java52 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
DBaseDevicePolicyTest.java118 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */ in setUp()
/cts/tests/tests/location/src/android/location/cts/
DTestMeasurementUtil.java91 ApiLevelUtil.getApiLevel()); in canTestRunOnCurrentDevice()