Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntryTest.java244 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(30L); in getTimeInBackgroundMs_app()
276 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(0); in getTimeInBackgroundMs_systemConsumer()
DConvertUtilsTest.java94 when(mMockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()
161 when(mMockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()
313 when(mMockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in convertToBatteryHistEntry_returnsExpectedResult()
DBatteryHistEntryTest.java69 when(mMockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in testConstructor_contentValues_returnsExpectedResult()
DDataProcessorTest.java1924 doReturn(40L).when(mMockBatteryEntry1).getTimeInBackgroundMs(); in generateBatteryDiffData_returnsExpectedResult()
1933 doReturn(20L).when(mMockBatteryEntry2).getTimeInBackgroundMs(); in generateBatteryDiffData_returnsExpectedResult()
1942 doReturn(0L).when(mMockBatteryEntry3).getTimeInBackgroundMs(); in generateBatteryDiffData_returnsExpectedResult()
1951 doReturn(10L).when(mMockBatteryEntry4).getTimeInBackgroundMs(); in generateBatteryDiffData_returnsExpectedResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java171 when(mBatteryEntry.getTimeInBackgroundMs()).thenReturn(BACKGROUND_TIME_MS); in setUp()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntry.java454 public long getTimeInBackgroundMs() { in getTimeInBackgroundMs() method in BatteryEntry
DConvertUtils.java658 .setBackgroundUsageTimeInMs(entry.getTimeInBackgroundMs()); in constructBatteryInformation()
DDatabaseUtils.java698 final long backgroundMs = entry.getTimeInBackgroundMs(); in sendBatteryEntryData()
DDataProcessor.java1097 final long backgroundMs = entry.getTimeInBackgroundMs(); in convertToBatteryHistEntry()