Home
last modified time | relevance | path

Searched refs:isBefore (Results 1 – 17 of 17) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DApiLevelUtilTest.java39 assertFalse(ApiLevelUtil.isBefore(version - 1)); in testComparisonByInt()
40 assertFalse(ApiLevelUtil.isBefore(version)); in testComparisonByInt()
41 assertTrue(ApiLevelUtil.isBefore(version + 1)); in testComparisonByInt()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java40 public static boolean isBefore(int version) { in isBefore() method in ApiLevelUtil
45 public static boolean isBefore(String version) { in isBefore() method in ApiLevelUtil
46 return isBefore(resolveVersionString(version)); in isBefore()
DMediaUtils.java339 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.Q)) { in canDecode()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DLocalEventQuerier.java69 if (event.mTimestamp.isBefore(earliestLogTime)) { in poll()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotificationListenerQuery.kt56 while (Instant.now().isBefore(endTime)) { in poll()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdCtsForegroundService.java83 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.O_MR1)) { in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DSecurityPatchTest.java38 mSkipTests = (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)); in setUp()
DSystemClockNetworkTimeTest.java104 if (currentSystemClockTime.isBefore(mSetupInstant) in tearDown()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DMetricQueryBuilder.java143 while (Instant.now().isBefore(endTime)) { in poll()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java93 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP_MR1)) { in testFailedState()
112 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP_MR1)) { in testCanceledState()
/cts/tests/tests/time/src/android/app/time/cts/
DNetworkTimeUpdateServiceSntpTest.java130 if (currentSystemClockTime.isBefore(mSetupInstant) in tearDown()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java181 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)) { in addPhysicalResolutionAndRefreshRate()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java309 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP)) { in queueDecoderInputBuffer()
347 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP)) { in dequeueDecoderOutputBuffer()
487 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.KITKAT)) { in configureVideoFormat()
DDecoderTest.java113 private static boolean IS_BEFORE_S = ApiLevelUtil.isBefore(Build.VERSION_CODES.S);
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecCapabilitiesTest.java303 if (ApiLevelUtil.isBefore(18)) { in testAvcHigh40()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DHeifWriterTest.java92 private static final boolean IS_BEFORE_R = ApiLevelUtil.isBefore(Build.VERSION_CODES.R);
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java1974 for (LocalDate testDate = startDate; testDate.isBefore(stopDate); in checkGetJulianDayForYearAndTimeZone()
3095 if (midPointTime.isBefore(startTime)) { in calculateToMillisTestTimes()
3109 if (finalTime.isAfter(startTime) && finalTime.isBefore(stopTime)) { in calculateToMillisTestTimes()