Lines Matching refs:utils
262 ErrorCode base_error = utils::GetBaseErrorCode(error); in UpdateFailed()
264 << utils::ErrorCodeToString(base_error) << ")"; in UpdateFailed()
445 << utils::ToString(backoff_expiry_time_) in ShouldBackoffDownload()
451 << utils::ToString(backoff_expiry_time_); in ShouldBackoffDownload()
526 auto exclusion_name = utils::GetExclusionName(GetCurrentUrl()); in ExcludeCurrentPayload()
565 int fuzz_minutes = utils::FuzzInt(0, kMaxBackoffFuzzMinutes); in UpdateBackoffExpiryTime()
569 << utils::FormatTimeDelta(next_backoff_interval); in UpdateBackoffExpiryTime()
592 << utils::ToString(current_download_source_); in UpdateCurrentDownloadSource()
1013 << utils::ToString(stored_time) in LoadBackoffExpiryTime()
1023 << utils::ToString(backoff_expiry_time_); in SetBackoffExpiryTime()
1058 << utils::ToString(stored_time) << ") in persisted state is " in LoadUpdateTimestampStart()
1059 << utils::FormatTimeDelta(duration_according_to_stored_time) in LoadUpdateTimestampStart()
1075 << utils::ToString(update_timestamp_end_); in SetUpdateTimestampEnd()
1102 << utils::FormatTimeDelta(stored_delta) in LoadUpdateDurationUptime()
1103 << ") in persisted state is " << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
1155 << utils::FormatTimeDelta(update_duration_uptime_); in SetUpdateDurationUptimeExtended()
1176 return prefix + "-from-" + utils::ToString(source); in GetPrefsKey()
1196 << utils::ToString(source) << " = " in SetCurrentBytesDownloaded()
1217 LOG_IF(INFO, log) << "Total bytes downloaded for " << utils::ToString(source) in SetTotalBytesDownloaded()
1379 << utils::ToString(p2p_first_attempt_timestamp_); in SetP2PFirstAttemptTimestamp()
1419 << utils::FormatTimeDelta(time_spent_attempting_p2p) in P2PAttemptAllowed()
1421 << utils::FormatTimeDelta( in P2PAttemptAllowed()