Home
last modified time | relevance | path

Searched refs:isAtLeast (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DApiLevelUtilTest.java46 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()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DApiLevelUtil.java44 public static boolean isAtLeast(int version) { in isAtLeast() method in ApiLevelUtil
48 public static boolean isAtLeast(String version) { in isAtLeast() method in ApiLevelUtil
DFeatureUtil.java90 return ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O) && in isLowRam()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java107 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.ICE_CREAM_SANDWICH)) { in getDuration()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java76 mShouldRunTests = ApiLevelUtil.isAtLeast(getDevice(), 28) in setUp()
77 || ApiLevelUtil.isAtLeast(getDevice(), "P") in setUp()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java77 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O)) { in collectDeviceInfo()
/cts/hostsidetests/dexmetadata/app/src/com/android/cts/dexmetadata/
DInstallDexMetadataTest.java67 mShouldRunTest = (ApiLevelUtil.isAtLeast(VERSION_CODES.P) in setUp()
/cts/tests/app/src/android/app/cts/
DAlarmManagerTest.java293 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.LOLLIPOP)) { in testSetAlarmClock()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFieldsClassificationTest.java106 assertThat(names.size()).isAtLeast(1); in testGetAlgorithm()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java340 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()