Searched refs:sumStates (Results 1 – 2 of 2) sorted by relevance
62 double sumStates = 0; in testBatteryUsageStatsDataConsistency() local64 sumStates += ubc.getConsumedPower(ubc.getKey(component, state)); in testBatteryUsageStatsDataConsistency()66 if (sumStates > consumedPower + 0.1) { in testBatteryUsageStatsDataConsistency()69 + " total = " + consumedPower + " states = " + sumStates); in testBatteryUsageStatsDataConsistency()
280 double sumStates = 0; in verify() local282 sumStates += ubc.getConsumedPower(ubc.getKey(component, state)); in verify()284 if (sumStates > consumedPower + precision) { in verify()287 + " total = " + consumedPower + " states = " + sumStates; in verify()