Home
last modified time | relevance | path

Searched refs:mForegroundUsageTimeInMs (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java57 public final long mForegroundUsageTimeInMs; field in BatteryHistEntry
90 mForegroundUsageTimeInMs = batteryInformation.getForegroundUsageTimeInMs(); in BatteryHistEntry()
120 mForegroundUsageTimeInMs = batteryInformation.getForegroundUsageTimeInMs(); in BatteryHistEntry()
159 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryHistEntry()
222 TimestampUtils.getSeconds(mForegroundUsageTimeInMs), in toString()
327 (lowerHistEntry == null ? 0 : lowerHistEntry.mForegroundUsageTimeInMs), in interpolate()
328 upperHistEntry.mForegroundUsageTimeInMs, in interpolate()
349 || upperHistEntry.mForegroundUsageTimeInMs < foregroundUsageTimeInMs in interpolate()
DBatteryDiffData.java158 ? entry.mForegroundUsageTimeInMs in purgeBatteryDiffData()
201 systemAppsDiffEntry.mForegroundUsageTimeInMs += in combineIntoSystemApps()
202 batteryDiffEntry.mForegroundUsageTimeInMs; in combineIntoSystemApps()
231 uninstalledAppDiffEntry.mForegroundUsageTimeInMs += in combineIntoUninstalledApps()
232 batteryDiffEntry.mForegroundUsageTimeInMs; in combineIntoUninstalledApps()
DBatteryDiffEntry.java94 public long mForegroundUsageTimeInMs; field in BatteryDiffEntry
146 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryDiffEntry()
238 this.mForegroundUsageTimeInMs, in clone()
543 (double) mForegroundUsageTimeInMs, in toString()
DDataProcessor.java663 entry.mForegroundUsageTimeInMs, in generateBatteryDiffData()
1211 lowerEntry.mForegroundUsageTimeInMs > upperEntry.mForegroundUsageTimeInMs; in interpolateHistoryForSlot()
1413 currentEntry.mForegroundUsageTimeInMs, in insertHourlyUsageDiffDataPerSlot()
1414 nextEntry.mForegroundUsageTimeInMs); in insertHourlyUsageDiffDataPerSlot()
1652 oldBatteryDiffEntry.mForegroundUsageTimeInMs += entry.mForegroundUsageTimeInMs; in computeUsageDiffDataPerEntry()
DBatteryUsageBreakdownController.java431 entry.mForegroundUsageTimeInMs, in setPreferenceSummary()
DPowerUsageAdvanced.java419 totalForegroundUsageTime += entry.mForegroundUsageTimeInMs; in logScreenUsageTime()
DConvertUtils.java529 .setForegroundUsageTime(batteryDiffEntry.mForegroundUsageTimeInMs) in convertToBatteryUsageDiff()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java365 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryHistEntry()
DDataProcessorTest.java1588 assertThat(resultEntry.mForegroundUsageTimeInMs) in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult()
1589 .isEqualTo(Math.round(entry.mForegroundUsageTimeInMs * ratio)); in generateBatteryUsageMap_usageTimeExceed_returnsExpectedResult()
2545 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryDiffEntry()
DConvertUtilsTest.java337 assertThat(batteryHistEntry.mForegroundUsageTimeInMs).isEqualTo(1234L); in convertToBatteryHistEntry_returnsExpectedResult()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java149 launchArgs.mForegroundTimeMs = diffEntry.mForegroundUsageTimeInMs; in startBatteryDetailPage()