Home
last modified time | relevance | path

Searched refs:mConsumePower (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistEntry.java61 public final double mConsumePower; field in BatteryHistEntry
87 mConsumePower = getDouble(values, KEY_CONSUME_POWER); in BatteryHistEntry()
108 mConsumePower = getDouble(cursor, KEY_CONSUME_POWER); in BatteryHistEntry()
137 mConsumePower = consumePower; in BatteryHistEntry()
197 mPercentOfTotal, mTotalPower, mConsumePower, in toString()
305 lowerHistEntry == null ? 0 : lowerHistEntry.mConsumePower, in interpolate()
306 upperHistEntry.mConsumePower, in interpolate()
317 if (upperHistEntry.mConsumePower < consumePower in interpolate()
DConvertUtils.java243 currentEntry.mConsumePower, in getIndexedUsageMap()
244 nextEntry.mConsumePower, in getIndexedUsageMap()
245 nextTwoEntry.mConsumePower); in getIndexedUsageMap()
315 oldBatteryDiffEntry.mConsumePower += entry.mConsumePower; in insert24HoursData()
317 totalConsumePower += entry.mConsumePower; in insert24HoursData()
DBatteryDiffEntry.java51 public double mConsumePower; field in BatteryDiffEntry
74 mConsumePower = consumePower; in BatteryDiffEntry()
85 ? 0 : (mConsumePower / mTotalConsumePower) * 100.0; in setTotalConsumePower()
99 this.mConsumePower, in clone()
330 mPercentOfTotal, mConsumePower, mTotalConsumePower)) in toString()
DAdvancedPowerUsageDetail.java149 launchArgs.mConsumedPower = (int) diffEntry.mConsumePower; in startBatteryDetailPage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DConvertUtilsTest.java316 assertThat(resultEntry.mConsumePower) in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult()
317 .isEqualTo(entry.mConsumePower * ratio); in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult()
DBatteryHistEntryTest.java285 assertThat(entry.mConsumePower).isEqualTo(consumePower); in assertBatteryHistEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceControllerTest.java170 mBatteryDiffEntry.mConsumePower = 1; in updateBatteryWithDiffEntry_withConsumePower_summaryPercent()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceController.java216 if (mBatteryDiffEntry != null && mBatteryDiffEntry.mConsumePower > 0) {