Searched refs:getStatsEndTimestamp (Results 1 – 5 of 5) sorted by relevance
749 doReturn(mCurrentTimeMillis).when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()765 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()782 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()800 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()824 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()849 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()874 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()893 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()930 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()968 .when(stats).getStatsEndTimestamp(); in testBgCurrentDrainMonitor()[all …]
70 assertEquals(bus.getStatsEndTimestamp(), proto.sessionEndMillis); in testGetStatsProto()72 bus.getStatsEndTimestamp() - bus.getStatsStartTimestamp(), in testGetStatsProto()
214 public long getStatsEndTimestamp() { in getStatsEndTimestamp() method in BatteryUsageStats478 proto.write(BatteryUsageStatsAtomsProto.SESSION_END_MILLIS, getStatsEndTimestamp()); in writeStatsProto()
504 assertThat(batteryUsageStats.getStatsEndTimestamp()).isEqualTo(statsEndTimestamp); in assertBatteryUsageStats()
548 final long curEnd = stats != null ? stats.getStatsEndTimestamp() : now; in updateBatteryUsageStatsOnce()707 final long end = stats.getStatsEndTimestamp(); in updateBatteryUsageStatsOnceInternal()