Home
last modified time | relevance | path

Searched refs:isAfter (Results 1 – 25 of 25) 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.java49 public static boolean isAfter(int version) { in isAfter() method in ApiLevelUtil
54 public static boolean isAfter(String version) { in isAfter() method in ApiLevelUtil
55 return isAfter(resolveVersionString(version)); in isAfter()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java156 if (Instant.now().isAfter(deadline)) { in startupForwarding()
208 if (Instant.now().isAfter(deadline)) { in testAttachDebugger()
229 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/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEvents.java99 if (event.mTimestamp.plus(MAX_LOG_AGE).isAfter(now)) { in loadEventsFromFile()
/cts/tests/tests/os/src/android/os/cts/
DSystemClockNetworkTimeTest.java105 || currentSystemClockTime.isAfter(mSetupInstant.plus(Duration.ofHours(1)))) { in tearDown()
/cts/tests/tests/time/src/android/app/time/cts/
DNetworkTimeUpdateServiceSntpTest.java131 || currentSystemClockTime.isAfter(mSetupInstant.plus(Duration.ofHours(1)))) { in tearDown()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java279 if (mDisableVerifier && ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU)) { in createEmptyInstallSession()
/cts/hostsidetests/ctsverifier/src/com/android/cts/verifier/
DCtsVerifierTest.java221 while (limit.isAfter(Instant.now())) { in runTest()
/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogDaemonTest.java116 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU)) { in startCustomPerformanceDataCollection()
DCarWatchdogManagerTest.java840 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU)) { in startCustomCollection()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerMultiTest.java68 ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
DResourceManagerTest.java52 ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioNativeTest.java261 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.P)) { in testInputChannelMasks()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTest.java59 private static final boolean IS_AT_LEAST_U = ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU)
DDecoderTest.java114 private static boolean IS_AFTER_T = ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DResumeOnRebootHostTest.java564 boolean isAtleastS = ApiLevelUtil.isAfter(getDevice(), 30 /* BUILD.VERSION_CODES.R */) in isSupportedSDevice()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/wifi/
DWifiStatsTests.java182 (ApiLevelUtil.isAfter(getDevice(), "TIRAMISU") in testWifiLockHighPerfDeprecated()
/cts/hostsidetests/car/src/android/car/cts/
DCarWatchdogHostTest.java518 if (ApiLevelUtil.isAfter(getDevice(), BUILD_VERSION_CODE_TIRAMISU)) { in startCustomCollection()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DDecodeEditEncodeTest.java86 private static final boolean IS_AFTER_T = ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
DEncodeDecodeTest.java88 private static final boolean IS_AFTER_T = ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
DMediaCodecTest.java138 private static boolean mIsAtLeastU = ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
/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()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java126 ApiLevelUtil.isAfter(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java1799 if (!ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU)) { in testAwarePairingConfig()