Lines Matching refs:utils
246 ErrorCode base_error = utils::GetBaseErrorCode(error); in UpdateFailed()
248 << " (" << utils::ErrorCodeToString(base_error) << ")"; in UpdateFailed()
412 << utils::ToString(backoff_expiry_time_) in ShouldBackoffDownload()
418 << utils::ToString(backoff_expiry_time_); in ShouldBackoffDownload()
507 int fuzz_minutes = utils::FuzzInt(0, kMaxBackoffFuzzMinutes); in UpdateBackoffExpiryTime()
511 << utils::FormatTimeDelta(next_backoff_interval); in UpdateBackoffExpiryTime()
532 << utils::ToString(current_download_source_); in UpdateCurrentDownloadSource()
939 << utils::ToString(stored_time) in LoadBackoffExpiryTime()
950 << utils::ToString(backoff_expiry_time_); in SetBackoffExpiryTime()
988 << utils::ToString(stored_time) in LoadUpdateTimestampStart()
990 << utils::FormatTimeDelta(duration_according_to_stored_time) in LoadUpdateTimestampStart()
1004 << utils::ToString(update_timestamp_start_); in SetUpdateTimestampStart()
1010 << utils::ToString(update_timestamp_end_); in SetUpdateTimestampEnd()
1039 << utils::FormatTimeDelta(stored_delta) in LoadUpdateDurationUptime()
1041 << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
1079 << utils::FormatTimeDelta(update_duration_uptime_); in SetUpdateDurationUptimeExtended()
1097 return prefix + "-from-" + utils::ToString(source); in GetPrefsKey()
1120 << utils::ToString(source) << " = " in SetCurrentBytesDownloaded()
1145 << utils::ToString(source) << " = " in SetTotalBytesDownloaded()
1203 LOG(INFO) << "Uploading " << utils::FormatTimeDelta(time_to_reboot) in BootedIntoUpdate()
1226 << utils::ToString(system_updated_at); in UpdateEngineStarted()
1342 << utils::ToString(p2p_first_attempt_timestamp_); in SetP2PFirstAttemptTimestamp()
1383 << utils::FormatTimeDelta(time_spent_attempting_p2p) in P2PAttemptAllowed()
1385 << utils::FormatTimeDelta(TimeDelta::FromSeconds( in P2PAttemptAllowed()