Home
last modified time | relevance | path

Searched refs:FormatTimeDelta (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/common/
Dutils_unittest.cc345 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromMilliseconds(100)), in TEST()
347 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(0)), in TEST()
349 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1)), in TEST()
351 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(59)), in TEST()
353 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(60)), in TEST()
355 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(61)), in TEST()
357 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(90)), in TEST()
359 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1205)), in TEST()
361 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3600)), in TEST()
363 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3601)), in TEST()
[all …]
Dutils.h316 std::string FormatTimeDelta(base::TimeDelta delta);
Dutils.cc976 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
979 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() function
/system/update_engine/
Dmetrics.cc120 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(os_age) in ReportDailyMetrics()
165 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateCheckMetrics()
181 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateCheckMetrics()
238 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration) in ReportUpdateAttemptMetrics()
247 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration_uptime) in ReportUpdateAttemptMetrics()
325 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateAttemptMetrics()
341 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateAttemptMetrics()
445 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(total_duration) in ReportSuccessfulUpdateMetrics()
Dpayload_state.cc511 << utils::FormatTimeDelta(next_backoff_interval); in UpdateBackoffExpiryTime()
990 << utils::FormatTimeDelta(duration_according_to_stored_time) in LoadUpdateTimestampStart()
1039 << utils::FormatTimeDelta(stored_delta) in LoadUpdateDurationUptime()
1041 << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
1079 << utils::FormatTimeDelta(update_duration_uptime_); in SetUpdateDurationUptimeExtended()
1203 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(time_to_reboot) in BootedIntoUpdate()
1383 << utils::FormatTimeDelta(time_spent_attempting_p2p) in P2PAttemptAllowed()
1385 << utils::FormatTimeDelta(TimeDelta::FromSeconds( in P2PAttemptAllowed()
Dupdate_attempter.cc201 << utils::FormatTimeDelta(time_reported_since) << " ago " in CheckAndReportDailyMetrics()
209 << utils::FormatTimeDelta(time_reported_since) << " ago."; in CheckAndReportDailyMetrics()
213 << utils::FormatTimeDelta(time_reported_since) << " ago, " in CheckAndReportDailyMetrics()
243 LOG(ERROR) << "The OS age (" << utils::FormatTimeDelta(age) in ReportOSAge()
/system/update_engine/update_manager/
Dboxed_value.cc91 return chromeos_update_engine::utils::FormatTimeDelta(*val); in ValuePrinter()
Devaluation_context.cc218 << chromeos_update_engine::utils::FormatTimeDelta(timeout); in RunOnValueChangeOrTimeout()