Home
last modified time | relevance | path

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

/system/update_engine/common/
Dutils_unittest.cc250 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromMilliseconds(100)), in TEST()
252 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(0)), "0s"); in TEST()
253 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1)), "1s"); in TEST()
254 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(59)), "59s"); in TEST()
255 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(60)), "1m0s"); in TEST()
256 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(61)), "1m1s"); in TEST()
257 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(90)), "1m30s"); in TEST()
258 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1205)), in TEST()
260 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3600)), in TEST()
262 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3601)), in TEST()
[all …]
Dutils.h261 std::string FormatTimeDelta(base::TimeDelta delta);
Dutils.cc814 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
817 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() function
/system/update_engine/
Dmetrics_reporter_omaha.cc153 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(os_age) << " for metric " in ReportDailyMetrics()
198 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateCheckMetrics()
212 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateCheckMetrics()
277 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration) in ReportUpdateAttemptMetrics()
286 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration_uptime) in ReportUpdateAttemptMetrics()
321 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateAttemptMetrics()
335 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateAttemptMetrics()
473 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(total_duration) in ReportSuccessfulUpdateMetrics()
482 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(total_duration_uptime) in ReportSuccessfulUpdateMetrics()
Dpayload_state.cc536 << utils::FormatTimeDelta(next_backoff_interval); in UpdateBackoffExpiryTime()
1041 << utils::FormatTimeDelta(duration_according_to_stored_time) in LoadUpdateTimestampStart()
1086 << utils::FormatTimeDelta(stored_delta) in LoadUpdateDurationUptime()
1087 << ") in persisted state is " << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
1144 << utils::FormatTimeDelta(update_duration_uptime_); in SetUpdateDurationUptimeExtended()
1412 << utils::FormatTimeDelta(time_spent_attempting_p2p) in P2PAttemptAllowed()
1414 << utils::FormatTimeDelta( in P2PAttemptAllowed()
Dupdate_attempter.cc186 << utils::FormatTimeDelta(time_reported_since) << " ago " in CheckAndReportDailyMetrics()
194 << utils::FormatTimeDelta(time_reported_since) << " ago."; in CheckAndReportDailyMetrics()
198 << utils::FormatTimeDelta(time_reported_since) << " ago, " in CheckAndReportDailyMetrics()
228 LOG(ERROR) << "The OS age (" << utils::FormatTimeDelta(age) in ReportOSAge()
/system/update_engine/update_manager/
Dboxed_value.cc116 return chromeos_update_engine::utils::FormatTimeDelta(*val); in ValuePrinter()
Devaluation_context.cc218 << chromeos_update_engine::utils::FormatTimeDelta(timeout); in RunOnValueChangeOrTimeout()