Home
last modified time | relevance | path

Searched refs:isAfter (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DApiLevelUtilTest.java43 assertTrue(ApiLevelUtil.isAfter(version - 1)); in testComparisonByInt()
44 assertFalse(ApiLevelUtil.isAfter(version)); in testComparisonByInt()
45 assertFalse(ApiLevelUtil.isAfter(version + 1)); in testComparisonByInt()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java36 public static boolean isAfter(int version) { in isAfter() method in ApiLevelUtil
40 public static boolean isAfter(String version) { in isAfter() method in ApiLevelUtil
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/
DStrictJavaPackagesTest.java202 assumeTrue(ApiLevelUtil.isAfter(getDevice(), 29)); in testBootclasspath_nonDuplicateClasses()
213 assumeTrue(ApiLevelUtil.isAfter(getDevice(), 29)); in testSystemServerClasspath_nonDuplicateClasses()
225 assumeTrue(ApiLevelUtil.isAfter(getDevice(), 29)); in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDocumentsTest.java165 return ApiLevelUtil.isAfter(getDevice(), 29 /* BUILD.VERSION_CODES.Q */); in isAtLeastR()
173 return ApiLevelUtil.isAfter(getDevice(), 30 /* BUILD.VERSION_CODES.R */) in isAtLeastS()
DResumeOnRebootHostTest.java293 boolean isAtleastS = ApiLevelUtil.isAfter(getDevice(), 30 /* BUILD.VERSION_CODES.R */) in isSupportedSDevice()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java137 if (Instant.now().isAfter(deadline)) { in startupForwarding()
184 if (Instant.now().isAfter(deadline)) { in testAttachDebugger()
203 if (Instant.now().isAfter(deadline)) { in testAttachDebugger()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerification.java71 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.M)) { in EventBasicVerification()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java250 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.P)) { in testInputChannelMasks()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java3089 if (highTime.isAfter(stopTime)) { in calculateToMillisTestTimes()
3109 if (finalTime.isAfter(startTime) && finalTime.isBefore(stopTime)) { in calculateToMillisTestTimes()