Home
last modified time | relevance | path

Searched refs:upperBound (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DThumbnailUtilsTest.java234 private static void assertColorMostlyInRange(@ColorInt int actual, @ColorInt int upperBound, in assertColorMostlyInRange() argument
237 && Color.alpha(actual) <= Color.alpha(upperBound)); in assertColorMostlyInRange()
239 && Color.red(actual) <= Color.red(upperBound)); in assertColorMostlyInRange()
241 && Color.green(actual) <= Color.green(upperBound)); in assertColorMostlyInRange()
243 && Color.blue(actual) <= Color.blue(upperBound)); in assertColorMostlyInRange()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DAssertHelpers.java99 public static void assertArrayWithinUpperBound(String message, float[] value, float upperBound) in assertArrayWithinUpperBound() argument
104 message, value[i], upperBound, i, Arrays.toString(value)), in assertArrayWithinUpperBound()
105 value[i] < upperBound); in assertArrayWithinUpperBound()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java686 long upperBound = expected * (100 + percentage) / 100; in assertWithinPercentage() local
689 assertTrue(msg, upperBound >= actual); in assertWithinPercentage()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java1305 Instant upperBound = Instant.now(); in testSetToNow() local
1313 && actualSeconds <= upperBound.getEpochSecond()); in testSetToNow()