Home
last modified time | relevance | path

Searched refs:PRECISION (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java114 private static final double PRECISION = 0.001; field in BatteryUtilsTest
302 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()
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java38 private static final float PRECISION = 0.002f; field in PathInterpolatorCompat.PathInterpolatorBase
47 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorBase()