Searched refs:getTimeInForegroundServiceMs (Results 1 – 7 of 7) sorted by relevance
95 when(mMockBatteryEntry.getTimeInForegroundServiceMs()).thenReturn(3456L); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()162 when(mMockBatteryEntry.getTimeInForegroundServiceMs()).thenReturn(3456L); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()314 when(mMockBatteryEntry.getTimeInForegroundServiceMs()).thenReturn(3456L); in convertToBatteryHistEntry_returnsExpectedResult()
68 when(mMockBatteryEntry.getTimeInForegroundServiceMs()).thenReturn(3456L); in testConstructor_contentValues_returnsExpectedResult()
263 assertThat(entry.getTimeInForegroundServiceMs()).isEqualTo(70L); in getTimeInForegroundServiceMs_app()
170 when(mBatteryEntry.getTimeInForegroundServiceMs()).thenReturn(FOREGROUND_SERVICE_TIME_MS); in setUp()
449 public long getTimeInForegroundServiceMs() { in getTimeInForegroundServiceMs() method in BatteryEntry
657 .setForegroundServiceUsageTimeInMs(entry.getTimeInForegroundServiceMs()) in constructBatteryInformation()
697 final long foregroundServiceMs = entry.getTimeInForegroundServiceMs(); in sendBatteryEntryData()