Searched refs:getTimeInBackgroundMs (Results 1 – 9 of 9) sorted by relevance
244 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(30L); in getTimeInBackgroundMs_app()276 assertThat(entry.getTimeInBackgroundMs()).isEqualTo(0); in getTimeInBackgroundMs_systemConsumer()
94 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()
69 when(mMockBatteryEntry.getTimeInBackgroundMs()).thenReturn(5689L); in testConstructor_contentValues_returnsExpectedResult()
1924 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()
171 when(mBatteryEntry.getTimeInBackgroundMs()).thenReturn(BACKGROUND_TIME_MS); in setUp()
454 public long getTimeInBackgroundMs() { in getTimeInBackgroundMs() method in BatteryEntry
658 .setBackgroundUsageTimeInMs(entry.getTimeInBackgroundMs()); in constructBatteryInformation()
698 final long backgroundMs = entry.getTimeInBackgroundMs(); in sendBatteryEntryData()
1097 final long backgroundMs = entry.getTimeInBackgroundMs(); in convertToBatteryHistEntry()