Lines Matching refs:PayloadState
47 const TimeDelta PayloadState::kDurationSlack = TimeDelta::FromSeconds(600);
55 PayloadState::PayloadState() in PayloadState() function in chromeos_update_engine::PayloadState
72 bool PayloadState::Initialize(SystemState* system_state) { in Initialize()
100 void PayloadState::SetResponse(const OmahaResponse& omaha_response) { in SetResponse()
146 void PayloadState::SetUsingP2PForDownloading(bool value) { in SetUsingP2PForDownloading()
153 void PayloadState::DownloadComplete() { in DownloadComplete()
159 void PayloadState::DownloadProgress(size_t count) { in DownloadProgress()
183 void PayloadState::AttemptStarted(AttemptType attempt_type) { in AttemptStarted()
212 void PayloadState::UpdateResumed() { in UpdateResumed()
218 void PayloadState::UpdateRestarted() { in UpdateRestarted()
225 void PayloadState::UpdateSucceeded() { in UpdateSucceeded()
252 void PayloadState::UpdateFailed(ErrorCode error) { in UpdateFailed()
380 bool PayloadState::ShouldBackoffDownload() { in ShouldBackoffDownload()
433 void PayloadState::Rollback() { in Rollback()
438 void PayloadState::IncrementPayloadAttemptNumber() { in IncrementPayloadAttemptNumber()
443 void PayloadState::IncrementFullPayloadAttemptNumber() { in IncrementFullPayloadAttemptNumber()
455 void PayloadState::IncrementUrlIndex() { in IncrementUrlIndex()
480 void PayloadState::IncrementFailureCount() { in IncrementFailureCount()
492 void PayloadState::UpdateBackoffExpiryTime() { in UpdateBackoffExpiryTime()
528 void PayloadState::UpdateCurrentDownloadSource() { in UpdateCurrentDownloadSource()
550 void PayloadState::UpdateBytesDownloaded(size_t count) { in UpdateBytesDownloaded()
563 PayloadType PayloadState::CalculatePayloadType() { in CalculatePayloadType()
581 void PayloadState::CollectAndReportAttemptMetrics(ErrorCode code) { in CollectAndReportAttemptMetrics()
654 void PayloadState::PersistAttemptMetrics() { in PersistAttemptMetrics()
665 void PayloadState::ClearPersistedAttemptMetrics() { in ClearPersistedAttemptMetrics()
669 void PayloadState::ReportAndClearPersistedAttemptMetrics() { in ReportAndClearPersistedAttemptMetrics()
681 void PayloadState::CollectAndReportSuccessfulUpdateMetrics() { in CollectAndReportSuccessfulUpdateMetrics()
750 void PayloadState::UpdateNumReboots() { in UpdateNumReboots()
760 void PayloadState::SetNumReboots(uint32_t num_reboots) { in SetNumReboots()
768 void PayloadState::ResetPersistedState() { in ResetPersistedState()
786 void PayloadState::ResetRollbackVersion() { in ResetRollbackVersion()
792 void PayloadState::ResetDownloadSourcesOnNewUpdate() { in ResetDownloadSourcesOnNewUpdate()
802 int64_t PayloadState::GetPersistedValue(const string& key) { in GetPersistedValue()
820 string PayloadState::CalculateResponseSignature() { in CalculateResponseSignature()
853 void PayloadState::LoadResponseSignature() { in LoadResponseSignature()
862 void PayloadState::SetResponseSignature(const string& response_signature) { in SetResponseSignature()
869 void PayloadState::LoadPayloadAttemptNumber() { in LoadPayloadAttemptNumber()
873 void PayloadState::LoadFullPayloadAttemptNumber() { in LoadFullPayloadAttemptNumber()
878 void PayloadState::SetPayloadAttemptNumber(int payload_attempt_number) { in SetPayloadAttemptNumber()
885 void PayloadState::SetFullPayloadAttemptNumber( in SetFullPayloadAttemptNumber()
894 void PayloadState::SetPayloadIndex(size_t payload_index) { in SetPayloadIndex()
901 bool PayloadState::NextPayload() { in NextPayload()
908 void PayloadState::LoadUrlIndex() { in LoadUrlIndex()
912 void PayloadState::SetUrlIndex(uint32_t url_index) { in SetUrlIndex()
923 void PayloadState::LoadScatteringWaitPeriod() { in LoadScatteringWaitPeriod()
928 void PayloadState::SetScatteringWaitPeriod(TimeDelta wait_period) { in SetScatteringWaitPeriod()
941 void PayloadState::LoadUrlSwitchCount() { in LoadUrlSwitchCount()
945 void PayloadState::SetUrlSwitchCount(uint32_t url_switch_count) { in SetUrlSwitchCount()
952 void PayloadState::LoadUrlFailureCount() { in LoadUrlFailureCount()
956 void PayloadState::SetUrlFailureCount(uint32_t url_failure_count) { in SetUrlFailureCount()
964 void PayloadState::LoadBackoffExpiryTime() { in LoadBackoffExpiryTime()
983 void PayloadState::SetBackoffExpiryTime(const Time& new_time) { in SetBackoffExpiryTime()
992 TimeDelta PayloadState::GetUpdateDuration() { in GetUpdateDuration()
999 void PayloadState::LoadUpdateTimestampStart() { in LoadUpdateTimestampStart()
1035 void PayloadState::SetUpdateTimestampStart(const Time& value) { in SetUpdateTimestampStart()
1044 void PayloadState::SetUpdateTimestampEnd(const Time& value) { in SetUpdateTimestampEnd()
1050 TimeDelta PayloadState::GetUpdateDurationUptime() { in GetUpdateDurationUptime()
1054 void PayloadState::LoadUpdateDurationUptime() { in LoadUpdateDurationUptime()
1086 void PayloadState::LoadNumReboots() { in LoadNumReboots()
1090 void PayloadState::LoadRollbackVersion() { in LoadRollbackVersion()
1099 void PayloadState::SetRollbackVersion(const string& rollback_version) { in SetRollbackVersion()
1106 void PayloadState::SetUpdateDurationUptimeExtended(const TimeDelta& value, in SetUpdateDurationUptimeExtended()
1120 void PayloadState::SetUpdateDurationUptime(const TimeDelta& value) { in SetUpdateDurationUptime()
1125 void PayloadState::CalculateUpdateDurationUptime() { in CalculateUpdateDurationUptime()
1133 string PayloadState::GetPrefsKey(const string& prefix, DownloadSource source) { in GetPrefsKey()
1137 void PayloadState::LoadCurrentBytesDownloaded(DownloadSource source) { in LoadCurrentBytesDownloaded()
1142 void PayloadState::SetCurrentBytesDownloaded( in SetCurrentBytesDownloaded()
1161 void PayloadState::LoadTotalBytesDownloaded(DownloadSource source) { in LoadTotalBytesDownloaded()
1166 void PayloadState::SetTotalBytesDownloaded( in SetTotalBytesDownloaded()
1186 void PayloadState::LoadNumResponsesSeen() { in LoadNumResponsesSeen()
1190 void PayloadState::SetNumResponsesSeen(int num_responses_seen) { in SetNumResponsesSeen()
1197 void PayloadState::ComputeCandidateUrls() { in ComputeCandidateUrls()
1228 void PayloadState::CreateSystemUpdatedMarkerFile() { in CreateSystemUpdatedMarkerFile()
1234 void PayloadState::BootedIntoUpdate(TimeDelta time_to_reboot) { in BootedIntoUpdate()
1246 void PayloadState::UpdateEngineStarted() { in UpdateEngineStarted()
1278 void PayloadState::ReportFailedBootIfNeeded() { in ReportFailedBootIfNeeded()
1323 void PayloadState::ExpectRebootInNewVersion(const string& target_version_uid) { in ExpectRebootInNewVersion()
1347 void PayloadState::ResetUpdateStatus() { in ResetUpdateStatus()
1359 int PayloadState::GetP2PNumAttempts() { in GetP2PNumAttempts()
1363 void PayloadState::SetP2PNumAttempts(int value) { in SetP2PNumAttempts()
1370 void PayloadState::LoadP2PNumAttempts() { in LoadP2PNumAttempts()
1374 Time PayloadState::GetP2PFirstAttemptTimestamp() { in GetP2PFirstAttemptTimestamp()
1378 void PayloadState::SetP2PFirstAttemptTimestamp(const Time& time) { in SetP2PFirstAttemptTimestamp()
1387 void PayloadState::LoadP2PFirstAttemptTimestamp() { in LoadP2PFirstAttemptTimestamp()
1393 void PayloadState::P2PNewAttempt() { in P2PNewAttempt()
1403 bool PayloadState::P2PAttemptAllowed() { in P2PAttemptAllowed()
1434 int64_t PayloadState::GetPayloadSize() { in GetPayloadSize()