Searched refs:FormatTimeDelta (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/common/ |
D | utils_unittest.cc | 250 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 …]
|
D | utils.h | 261 std::string FormatTimeDelta(base::TimeDelta delta);
|
D | utils.cc | 814 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs() 817 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() function
|
/system/update_engine/ |
D | metrics_reporter_omaha.cc | 153 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()
|
D | payload_state.cc | 536 << 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()
|
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 | 116 return chromeos_update_engine::utils::FormatTimeDelta(*val); in ValuePrinter()
|
D | evaluation_context.cc | 218 << chromeos_update_engine::utils::FormatTimeDelta(timeout); in RunOnValueChangeOrTimeout()
|