Searched refs:FormatTimeDelta (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/common/ |
D | utils_unittest.cc | 256 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromMilliseconds(100)), in TEST() 258 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(0)), in TEST() 260 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1)), in TEST() 262 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(59)), in TEST() 264 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(60)), in TEST() 266 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(61)), in TEST() 268 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(90)), in TEST() 270 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1205)), in TEST() 272 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3600)), in TEST() 274 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3601)), in TEST() [all …]
|
D | utils.h | 282 std::string FormatTimeDelta(base::TimeDelta delta);
|
D | utils.cc | 821 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs() 824 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() function
|
/system/update_engine/ |
D | metrics_reporter_omaha.cc | 130 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(os_age) << " for metric " in ReportDailyMetrics() 175 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateCheckMetrics() 189 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateCheckMetrics() 235 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration) in ReportUpdateAttemptMetrics() 244 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(duration_uptime) in ReportUpdateAttemptMetrics() 286 LOG(INFO) << "Sending " << utils::FormatTimeDelta(time_since_last) in ReportUpdateAttemptMetrics() 300 LOG(INFO) << "Sending " << utils::FormatTimeDelta(uptime_since_last) in ReportUpdateAttemptMetrics() 437 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(total_duration) in ReportSuccessfulUpdateMetrics()
|
D | payload_state.cc | 528 << utils::FormatTimeDelta(next_backoff_interval); in UpdateBackoffExpiryTime() 1014 << utils::FormatTimeDelta(duration_according_to_stored_time) in LoadUpdateTimestampStart() 1059 << utils::FormatTimeDelta(stored_delta) in LoadUpdateDurationUptime() 1061 << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime() 1099 << utils::FormatTimeDelta(update_duration_uptime_); in SetUpdateDurationUptimeExtended() 1368 << utils::FormatTimeDelta(time_spent_attempting_p2p) in P2PAttemptAllowed() 1370 << utils::FormatTimeDelta(TimeDelta::FromSeconds( in P2PAttemptAllowed()
|
D | update_attempter.cc | 186 << 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/ |
D | boxed_value.cc | 95 return chromeos_update_engine::utils::FormatTimeDelta(*val); in ValuePrinter()
|
D | evaluation_context.cc | 219 << chromeos_update_engine::utils::FormatTimeDelta(timeout); in RunOnValueChangeOrTimeout()
|