Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java201 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(100L); in getTimeInBackgroundMs_app()
209 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(0); in getTimeInBackgroundMs_systemConsumer()
DBatteryHistEntryTest.java62 when(mockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in testConstructor_contentValues_returnsExpectedResult()
DConvertUtilsTest.java79 when(mockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in testConvert_returnsExpectedContentValues()
DAdvancedPowerUsageDetailTest.java177 when(mBatteryEntry.getTimeInBackgroundMs()).thenReturn(BACKGROUND_TIME_MS); in setUp()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DConvertUtils.java120 Long.valueOf(entry.getTimeInBackgroundMs())); in convert()
DBatteryEntry.java512 public long getTimeInBackgroundMs() { in getTimeInBackgroundMs() method in BatteryEntry
DAdvancedPowerUsageDetail.java171 launchArgs.mBackgroundTimeMs = isValidToShowSummary ? entry.getTimeInBackgroundMs() : 0; in startBatteryDetailPage()