Searched refs:assertLessThan (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 67 assertLessThan("Rate", rate, 20f); in testInstantaneousBurstIsEstimatedUnderTwoPercent() 76 assertLessThan("Rate", rate, 20f); in testCompactBurstIsEstimatedUnderTwoPercent() 104 assertLessThan("Rate", rate, 2f); in testRecoverQuicklyAfterSustainedBurst() 113 assertLessThan("Rate", rate, 1000f); in testEstimateShouldNotOvershoot() 119 assertLessThan("Rate", rate, 0.1f); in testGetRateWithoutUpdate() 126 assertLessThan("Rate", rate, 1f); in testGetRateWithOneUpdate() 129 private void assertLessThan(String label, float a, float b) { in assertLessThan() method in RateEstimatorTest
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 218 assertLessThan(NEGATIVE_INFINITY, UNIT); in testCompareTo() 219 assertLessThan(NEGATIVE_INFINITY, POSITIVE_INFINITY); in testCompareTo() 220 assertLessThan(NEGATIVE_INFINITY, ZERO); in testCompareTo() 232 assertLessThan(new Rational(-5, 25), ZERO); in testCompareTo() 439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { in assertLessThan() method in RationalTest
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyStoreTest.java | 674 assertLessThan("Time should be close to current time", expectedBefore, actual); in testGetmtime_Success() 678 private static void assertLessThan(String explanation, long expectedBefore, long actual) { in assertLessThan() method in KeyStoreTest
|