Searched refs:PRECISION (Results 1 – 2 of 2) sorted by relevance
114 private static final double PRECISION = 0.001; field in BatteryUtilsTest302 assertThat(totalUsage).isWithin(PRECISION).of(BATTERY_SYSTEM_USAGE); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()384 .isWithin(PRECISION).of(PERCENT_SYSTEM_USAGE); in testCalculateBatteryPercent()406 assertThat(sipperNull.totalPowerMah).isWithin(PRECISION).of(BATTERY_APP_USAGE); in testSmearScreenBatterySipper()407 assertThat(sipperBg.totalPowerMah).isWithin(PRECISION).of(BATTERY_APP_USAGE); in testSmearScreenBatterySipper()408 assertThat(sipperFg.totalPowerMah).isWithin(PRECISION).of( in testSmearScreenBatterySipper()410 assertThat(sipperFg2.totalPowerMah).isWithin(PRECISION).of( in testSmearScreenBatterySipper()
38 private static final float PRECISION = 0.002f; field in PathInterpolatorCompat.PathInterpolatorBase47 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorBase()