Searched refs:isBefore (Results 1 – 17 of 17) sorted by relevance
39 assertFalse(ApiLevelUtil.isBefore(version - 1)); in testComparisonByInt()40 assertFalse(ApiLevelUtil.isBefore(version)); in testComparisonByInt()41 assertTrue(ApiLevelUtil.isBefore(version + 1)); in testComparisonByInt()
40 public static boolean isBefore(int version) { in isBefore() method in ApiLevelUtil45 public static boolean isBefore(String version) { in isBefore() method in ApiLevelUtil46 return isBefore(resolveVersionString(version)); in isBefore()
339 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.Q)) { in canDecode()
69 if (event.mTimestamp.isBefore(earliestLogTime)) { in poll()
56 while (Instant.now().isBefore(endTime)) { in poll()
83 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.O_MR1)) { in onCreate()
38 mSkipTests = (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)); in setUp()
104 if (currentSystemClockTime.isBefore(mSetupInstant) in tearDown()
143 while (Instant.now().isBefore(endTime)) { in poll()
93 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP_MR1)) { in testFailedState()112 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.LOLLIPOP_MR1)) { in testCanceledState()
130 if (currentSystemClockTime.isBefore(mSetupInstant) in tearDown()
181 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)) { in addPhysicalResolutionAndRefreshRate()
309 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()
113 private static boolean IS_BEFORE_S = ApiLevelUtil.isBefore(Build.VERSION_CODES.S);
303 if (ApiLevelUtil.isBefore(18)) { in testAvcHigh40()
92 private static final boolean IS_BEFORE_R = ApiLevelUtil.isBefore(Build.VERSION_CODES.R);
1974 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()