Searched refs:getStatsDuration (Results 1 – 4 of 4) sorted by relevance
156 mStatsDurationMs = builder.getStatsDuration(); in BatteryUsageStats()224 public long getStatsDuration() { in getStatsDuration() method in BatteryUsageStats479 proto.write(BatteryUsageStatsAtomsProto.SESSION_DURATION_MILLIS, getStatsDuration()); in writeStatsProto()913 private long getStatsDuration() { in getStatsDuration() method in BatteryUsageStats.Builder1080 mStatsDurationMs = getStatsDuration() + stats.getStatsDuration(); in add()
148 assertThat(stats.getStatsDuration()).isEqualTo(10000); in testDefaultSessionDuration()505 assertThat(batteryUsageStats.getStatsDuration()).isEqualTo(statsDuration); in assertBatteryUsageStats()
225 batteryUsageStats.getStatsDuration()); in storeBatteryUsageStats()
12102 mMonotonicClock.monotonicTime() - batteryUsageStats.getStatsDuration(); in saveBatteryUsageStatsOnReset()