Lines Matching refs:payload_state
354 PayloadStateInterface* const payload_state = system_state_->payload_state(); in CalculateP2PParams() local
355 payload_state->SetUsingP2PForDownloading(use_p2p_for_downloading); in CalculateP2PParams()
356 payload_state->SetUsingP2PForSharing(use_p2p_for_sharing); in CalculateP2PParams()
369 PayloadStateInterface* const payload_state = system_state_->payload_state(); in CalculateUpdateParams() local
399 if (payload_state->GetUsingP2PForDownloading() || in CalculateUpdateParams()
400 payload_state->GetUsingP2PForSharing()) { in CalculateUpdateParams()
406 payload_state->SetUsingP2PForDownloading(false); in CalculateUpdateParams()
407 payload_state->SetUsingP2PForSharing(false); in CalculateUpdateParams()
471 << payload_state->GetUsingP2PForDownloading() in CalculateUpdateParams()
473 << payload_state->GetUsingP2PForSharing(); in CalculateUpdateParams()
617 system_state_->payload_state()->SetScatteringWaitPeriod( in GenerateNewWaitingPeriod()
904 system_state_->payload_state()->Rollback(); in Rollback()
1136 DCHECK(system_state_->payload_state()); in UpdateRollbackHappened()
1138 if (system_state_->payload_state()->GetRollbackHappened() && in UpdateRollbackHappened()
1143 system_state_->payload_state()->SetRollbackHappened(false); in UpdateRollbackHappened()
1186 system_state_->payload_state()->UpdateSucceeded(); in ProcessingDoneInternal()
1198 system_state_->payload_state()->SetScatteringWaitPeriod(TimeDelta()); in ProcessingDoneInternal()
1199 system_state_->payload_state()->SetStagingWaitPeriod(TimeDelta()); in ProcessingDoneInternal()
1250 system_state_->payload_state()->SetRollbackHappened(true); in ProcessingDoneUpdate()
1257 system_state_->payload_state()->ExpectRebootInNewVersion( in ProcessingDoneUpdate()
1262 if (system_state_->payload_state()->GetRollbackVersion().empty()) { in ProcessingDoneUpdate()
1409 system_state_->payload_state()->DownloadProgress(bytes_progressed); in BytesReceived()
1423 system_state_->payload_state()->DownloadComplete(); in DownloadComplete()
1478 system_state_->payload_state()->ResetUpdateStatus(); in ResetStatus()
1613 system_state_->payload_state()->UpdateFailed(error_event_->error_code); in ScheduleErrorEventAction()
1766 system_state_->payload_state()->UpdateEngineStarted(); in UpdateEngineStarted()