Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java140 long foregroundUsageTimeInMs, in BatteryHistEntry() argument
159 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryHistEntry()
325 final double foregroundUsageTimeInMs = in interpolate() local
349 || upperHistEntry.mForegroundUsageTimeInMs < foregroundUsageTimeInMs in interpolate()
376 Math.round(foregroundUsageTimeInMs), in interpolate()
DDataProcessor.java1400 long foregroundUsageTimeInMs = 0; in insertHourlyUsageDiffDataPerSlot() local
1411 foregroundUsageTimeInMs += in insertHourlyUsageDiffDataPerSlot()
1444 foregroundUsageTimeInMs = slotScreenOnTime; in insertHourlyUsageDiffDataPerSlot()
1447 if (foregroundUsageTimeInMs == 0 in insertHourlyUsageDiffDataPerSlot()
1456 foregroundUsageTimeInMs in insertHourlyUsageDiffDataPerSlot()
1466 Duration.ofMillis(foregroundUsageTimeInMs).getSeconds(), in insertHourlyUsageDiffDataPerSlot()
1471 foregroundUsageTimeInMs = Math.round(foregroundUsageTimeInMs * ratio); in insertHourlyUsageDiffDataPerSlot()
1508 foregroundUsageTimeInMs, in insertHourlyUsageDiffDataPerSlot()
DBatteryDiffEntry.java128 long foregroundUsageTimeInMs, in BatteryDiffEntry() argument
146 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryDiffEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java344 long foregroundUsageTimeInMs, in assertBatteryHistEntry() argument
365 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryHistEntry()
384 long foregroundUsageTimeInMs, in createBatteryHistEntry() argument
419 .setForegroundUsageTimeInMs(foregroundUsageTimeInMs) in createBatteryHistEntry()
DBatteryDiffDataTest.java231 final long foregroundUsageTimeInMs, in createBatteryHistEntry() argument
243 .setForegroundUsageTimeInMs(foregroundUsageTimeInMs) in createBatteryHistEntry()
DBatteryUsageBreakdownControllerTest.java448 long foregroundUsageTimeInMs, in createBatteryDiffEntry() argument
470 foregroundUsageTimeInMs, in createBatteryDiffEntry()
DDataProcessorTest.java2392 final long foregroundUsageTimeInMs, in createBatteryHistEntry() argument
2404 .setForegroundUsageTimeInMs(foregroundUsageTimeInMs) in createBatteryHistEntry()
2533 final long foregroundUsageTimeInMs, in assertBatteryDiffEntry() argument
2545 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryDiffEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java627 final long foregroundUsageTimeInMs, in buildBatteryUsageTimeSummary() argument
632 final long totalUsageTimeInMs = foregroundUsageTimeInMs + backgroundUsageTimeInMs; in buildBatteryUsageTimeSummary()