Searched refs:isAtLeast (Results 1 – 10 of 10) sorted by relevance
46 assertTrue(ApiLevelUtil.isAtLeast(version - 1)); in testComparisonByInt()47 assertTrue(ApiLevelUtil.isAtLeast(version)); in testComparisonByInt()48 assertFalse(ApiLevelUtil.isAtLeast(version + 1)); in testComparisonByInt()58 assertTrue(ApiLevelUtil.isAtLeast("HONEYCOMB_MR1")); in testComparisonByString()59 assertTrue(ApiLevelUtil.isAtLeast("12")); in testComparisonByString()
44 public static boolean isAtLeast(int version) { in isAtLeast() method in ApiLevelUtil48 public static boolean isAtLeast(String version) { in isAtLeast() method in ApiLevelUtil
90 return ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O) && in isLowRam()
107 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.ICE_CREAM_SANDWICH)) { in getDuration()
76 mShouldRunTests = ApiLevelUtil.isAtLeast(getDevice(), 28) in setUp()77 || ApiLevelUtil.isAtLeast(getDevice(), "P") in setUp()
77 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O)) { in collectDeviceInfo()
67 mShouldRunTest = (ApiLevelUtil.isAtLeast(VERSION_CODES.P) in setUp()
293 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.LOLLIPOP)) { in testSetAlarmClock()
106 assertThat(names.size()).isAtLeast(1); in testGetAlgorithm()
340 if (info.size <= 0 && ApiLevelUtil.isAtLeast(Build.VERSION_CODES.JELLY_BEAN_MR2)) { in dequeueDecoderOutputBuffer()392 } else if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.LOLLIPOP)) { in createDecoder()