Home
last modified time | relevance | path

Searched refs:mCachedUsageConsumePower (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java55 public final double mCachedUsageConsumePower; field in BatteryHistEntry
88 mCachedUsageConsumePower = batteryInformation.getCachedUsageConsumePower(); in BatteryHistEntry()
118 mCachedUsageConsumePower = batteryInformation.getCachedUsageConsumePower(); in BatteryHistEntry()
157 mCachedUsageConsumePower = cachedUsageConsumePower; in BatteryHistEntry()
218 mBackgroundUsageConsumePower, mCachedUsageConsumePower)) in toString()
322 lowerHistEntry == null ? 0 : lowerHistEntry.mCachedUsageConsumePower, in interpolate()
323 upperHistEntry.mCachedUsageConsumePower, in interpolate()
348 || upperHistEntry.mCachedUsageConsumePower < cachedUsageConsumePower in interpolate()
DBatteryDiffEntry.java102 public double mCachedUsageConsumePower; field in BatteryDiffEntry
154 mCachedUsageConsumePower = cachedUsageConsumePower; in BatteryDiffEntry()
246 this.mCachedUsageConsumePower); in clone()
536 mBackgroundUsageConsumePower, mCachedUsageConsumePower)); in toString()
DDataProcessor.java671 entry.mCachedUsageConsumePower); in generateBatteryDiffData()
1438 currentEntry.mCachedUsageConsumePower, in insertHourlyUsageDiffDataPerSlot()
1439 nextEntry.mCachedUsageConsumePower); in insertHourlyUsageDiffDataPerSlot()
1662 oldBatteryDiffEntry.mCachedUsageConsumePower += entry.mCachedUsageConsumePower; in computeUsageDiffDataPerEntry()
DConvertUtils.java528 .setCachedUsageConsumePower(batteryDiffEntry.mCachedUsageConsumePower) in convertToBatteryUsageDiff()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java363 assertThat(entry.mCachedUsageConsumePower).isEqualTo(cachedUsageConsumePower); in assertBatteryHistEntry()
DDataProcessorTest.java1598 assertThat(resultEntry.mCachedUsageConsumePower) in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult()
1599 .isEqualTo(entry.mCachedUsageConsumePower * ratio); in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult()
2544 assertThat(entry.mCachedUsageConsumePower).isEqualTo(cachedUsageConsumePower); in assertBatteryDiffEntry()
DConvertUtilsTest.java335 assertThat(batteryHistEntry.mCachedUsageConsumePower).isEqualTo(1.5); in convertToBatteryHistEntry_returnsExpectedResult()