Home
last modified time | relevance | path

Searched refs:isBefore (Results 1 – 14 of 14) 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.java28 public static boolean isBefore(int version) { in isBefore() method in ApiLevelUtil
32 public static boolean isBefore(String version) { in isBefore() method in ApiLevelUtil
DMediaUtils.java324 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.Q)) { in canDecode()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DLocalEventQuerier.java70 if (event.mTimestamp.isBefore(earliestLogTime)) { in poll()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotificationListenerQuery.java74 while (Instant.now().isBefore(endTime)) { in poll()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java79 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.O_MR1)) { in onCreate()
/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.java36 mSkipTests = (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)); in setUp()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DMetricQueryBuilder.java116 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/media/src/android/media/cts/
DDecodeAccuracyTestBase.java306 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP)) { in queueDecoderInputBuffer()
344 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP)) { in dequeueDecoderOutputBuffer()
484 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.KITKAT)) { in configureVideoFormat()
DHeifWriterTest.java84 private static final boolean IS_BEFORE_R = ApiLevelUtil.isBefore(Build.VERSION_CODES.R);
DMediaCodecCapabilitiesTest.java240 if (ApiLevelUtil.isBefore(18)) { in testAvcHigh40()
/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()