Searched refs:backgroundUsageTimeInMs (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | ConvertUtils.java | 236 long backgroundUsageTimeInMs = in getIndexedUsageMap() local 248 && backgroundUsageTimeInMs == 0 in getIndexedUsageMap() 260 foregroundUsageTimeInMs + backgroundUsageTimeInMs; in getIndexedUsageMap() 266 Duration.ofMillis(backgroundUsageTimeInMs).getSeconds(), in getIndexedUsageMap() 271 backgroundUsageTimeInMs = in getIndexedUsageMap() 272 Math.round(backgroundUsageTimeInMs * ratio); in getIndexedUsageMap() 280 backgroundUsageTimeInMs, in getIndexedUsageMap()
|
D | BatteryChartPreferenceController.java | 514 final long backgroundUsageTimeInMs = entry.mBackgroundUsageTimeInMs; in setPreferenceSummary() local 515 final long totalUsageTimeInMs = foregroundUsageTimeInMs + backgroundUsageTimeInMs; in setPreferenceSummary() 526 } else if (foregroundUsageTimeInMs == 0 && backgroundUsageTimeInMs != 0) { in setPreferenceSummary() 527 usageTimeSummary = buildUsageTimeInfo(backgroundUsageTimeInMs, true); in setPreferenceSummary() 534 if (backgroundUsageTimeInMs > 0) { in setPreferenceSummary() 536 "\n" + buildUsageTimeInfo(backgroundUsageTimeInMs, true); in setPreferenceSummary() 605 final long backgroundUsageTimeInMs = entry.mBackgroundUsageTimeInMs; in validateUsageTime() local 606 final long totalUsageTimeInMs = foregroundUsageTimeInMs + backgroundUsageTimeInMs; in validateUsageTime() 608 || backgroundUsageTimeInMs > VALID_USAGE_TIME_DURATION in validateUsageTime()
|
D | BatteryHistEntry.java | 126 long backgroundUsageTimeInMs, in BatteryHistEntry() argument 140 mBackgroundUsageTimeInMs = backgroundUsageTimeInMs; in BatteryHistEntry() 312 final double backgroundUsageTimeInMs = interpolate( in interpolate() local 319 || upperHistEntry.mBackgroundUsageTimeInMs < backgroundUsageTimeInMs) { in interpolate() 341 Math.round(backgroundUsageTimeInMs), in interpolate()
|
D | BatteryDiffEntry.java | 70 long backgroundUsageTimeInMs, in BatteryDiffEntry() argument 76 mBackgroundUsageTimeInMs = backgroundUsageTimeInMs; in BatteryDiffEntry()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntryTest.java | 272 long backgroundUsageTimeInMs, in assertBatteryHistEntry() argument 288 assertThat(entry.mBackgroundUsageTimeInMs).isEqualTo(backgroundUsageTimeInMs); in assertBatteryHistEntry() 305 long backgroundUsageTimeInMs, in createBatteryHistEntry() argument 341 Long.valueOf(backgroundUsageTimeInMs), in createBatteryHistEntry()
|
D | ConvertUtilsTest.java | 405 long uid, long foregroundUsageTimeInMs, long backgroundUsageTimeInMs) { in createBatteryHistEntry() argument 417 Long.valueOf(backgroundUsageTimeInMs)); in createBatteryHistEntry() 423 long foregroundUsageTimeInMs, long backgroundUsageTimeInMs) { in assertBatteryDiffEntry() argument 426 assertThat(entry.mBackgroundUsageTimeInMs).isEqualTo(backgroundUsageTimeInMs); in assertBatteryDiffEntry()
|
D | BatteryChartPreferenceControllerTest.java | 714 long foregroundUsageTimeInMs, long backgroundUsageTimeInMs) { in createBatteryDiffEntry() argument 716 mContext, foregroundUsageTimeInMs, backgroundUsageTimeInMs, in createBatteryDiffEntry()
|