Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistEntry.java63 public final long mForegroundUsageTimeInMs; field in BatteryHistEntry
89 mForegroundUsageTimeInMs = getLong(values, KEY_FOREGROUND_USAGE_TIME); in BatteryHistEntry()
110 mForegroundUsageTimeInMs = getLong(cursor, KEY_FOREGROUND_USAGE_TIME); in BatteryHistEntry()
139 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryHistEntry()
198 Duration.ofMillis(mForegroundUsageTimeInMs).getSeconds(), in toString()
309 lowerHistEntry == null ? 0 : lowerHistEntry.mForegroundUsageTimeInMs, in interpolate()
310 upperHistEntry.mForegroundUsageTimeInMs, in interpolate()
318 || upperHistEntry.mForegroundUsageTimeInMs < foregroundUsageTimeInMs in interpolate()
DConvertUtils.java233 currentEntry.mForegroundUsageTimeInMs, in getIndexedUsageMap()
234 nextEntry.mForegroundUsageTimeInMs, in getIndexedUsageMap()
235 nextTwoEntry.mForegroundUsageTimeInMs); in getIndexedUsageMap()
311 oldBatteryDiffEntry.mForegroundUsageTimeInMs += in insert24HoursData()
312 entry.mForegroundUsageTimeInMs; in insert24HoursData()
DBatteryDiffEntry.java49 public long mForegroundUsageTimeInMs; field in BatteryDiffEntry
75 mForegroundUsageTimeInMs = foregroundUsageTimeInMs; in BatteryDiffEntry()
97 this.mForegroundUsageTimeInMs, in clone()
332 StringUtil.formatElapsedTime(mContext, mForegroundUsageTimeInMs, in toString()
DBatteryChartPreferenceController.java513 final long foregroundUsageTimeInMs = entry.mForegroundUsageTimeInMs; in setPreferenceSummary()
604 final long foregroundUsageTimeInMs = entry.mForegroundUsageTimeInMs; in validateUsageTime()
DAdvancedPowerUsageDetail.java151 isValidToShowSummary ? diffEntry.mForegroundUsageTimeInMs : 0; in startBatteryDetailPage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DConvertUtilsTest.java312 assertThat(resultEntry.mForegroundUsageTimeInMs) in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult()
313 .isEqualTo(Math.round(entry.mForegroundUsageTimeInMs * ratio)); in testGetIndexedUsageMap_usageTimeExceed_returnsExpectedResult()
425 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryDiffEntry()
DBatteryHistEntryTest.java287 assertThat(entry.mForegroundUsageTimeInMs).isEqualTo(foregroundUsageTimeInMs); in assertBatteryHistEntry()