Searched refs:getApiLevel (Results 1 – 8 of 8) sorted by relevance
30 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 ApiLevelUtil49 return device.getApiLevel(); in getApiLevel()
46 return (propString == null) ? device.getApiLevel() : Integer.parseInt(propString); in getFirstApiLevel()
42 public static int getApiLevel() { in getApiLevel() method in ApiLevelUtil
41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
36 mHasLauncherApps = getDevice().getApiLevel() >= 21; in setUp()
52 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
118 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */ in setUp()
91 ApiLevelUtil.getApiLevel()); in canTestRunOnCurrentDevice()