Searched refs:mConsumePower (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntry.java | 61 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()
|
D | ConvertUtils.java | 243 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()
|
D | BatteryDiffEntry.java | 51 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()
|
D | AdvancedPowerUsageDetail.java | 149 launchArgs.mConsumedPower = (int) diffEntry.mConsumePower; in startBatteryDetailPage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | ConvertUtilsTest.java | 316 assertThat(resultEntry.mConsumePower) in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult() 317 .isEqualTo(entry.mConsumePower * ratio); in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult()
|
D | BatteryHistEntryTest.java | 285 assertThat(entry.mConsumePower).isEqualTo(consumePower); in assertBatteryHistEntry()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceControllerTest.java | 170 mBatteryDiffEntry.mConsumePower = 1; in updateBatteryWithDiffEntry_withConsumePower_summaryPercent()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 216 if (mBatteryDiffEntry != null && mBatteryDiffEntry.mConsumePower > 0) {
|