Searched refs:resolveVersionString (Results 1 – 2 of 2) sorted by relevance
66 assertEquals(ApiLevelUtil.resolveVersionString("GINGERBREAD_MR1"), 10); in testResolveVersionString()67 assertEquals(ApiLevelUtil.resolveVersionString("10"), 10); in testResolveVersionString()68 assertEquals(ApiLevelUtil.resolveVersionString("HONEYCOMB"), 11); in testResolveVersionString()69 assertEquals(ApiLevelUtil.resolveVersionString("11"), 11); in testResolveVersionString()70 assertEquals(ApiLevelUtil.resolveVersionString("honeycomb_mr1"), 12); in testResolveVersionString()71 assertEquals(ApiLevelUtil.resolveVersionString("12"), 12); in testResolveVersionString()76 ApiLevelUtil.resolveVersionString("GINGERBEARD"); in testResolveMisspelledVersionString()
33 return Build.VERSION.SDK_INT < resolveVersionString(version); in isBefore()41 return Build.VERSION.SDK_INT > resolveVersionString(version); in isAfter()49 return Build.VERSION.SDK_INT >= resolveVersionString(version); in isAtLeast()57 return Build.VERSION.SDK_INT <= resolveVersionString(version); in isAtMost()76 protected static int resolveVersionString(String versionString) { in resolveVersionString() method in ApiLevelUtil