Lines Matching refs:system_state_
79 system_state_ = system_state; in Initialize()
80 prefs_ = system_state_->prefs(); in Initialize()
81 powerwash_safe_prefs_ = system_state_->powerwash_safe_prefs(); in Initialize()
196 ClockInterface* clock = system_state_->clock(); in AttemptStarted()
205 system_state_->connection_manager(); in AttemptStarted()
235 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded()
245 system_state_->metrics_reporter()->ReportRollbackMetrics( in UpdateSucceeded()
255 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded()
278 system_state_->metrics_reporter()->ReportRollbackMetrics( in UpdateFailed()
401 if (system_state_->request_params()->interactive()) { in ShouldBackoffDownload()
417 if (!system_state_->hardware()->IsOfficialBuild() && in ShouldBackoffDownload()
446 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()
581 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
602 ClockInterface* clock = system_state_->clock(); in CollectAndReportAttemptMetrics()
652 system_state_->metrics_reporter()->ReportUpdateAttemptMetrics( in CollectAndReportAttemptMetrics()
653 system_state_, in CollectAndReportAttemptMetrics()
662 system_state_->metrics_reporter()->ReportUpdateAttemptDownloadMetrics( in CollectAndReportAttemptMetrics()
692 system_state_->metrics_reporter() in ReportAndClearPersistedAttemptMetrics()
756 system_state_->metrics_reporter()->ReportSuccessfulUpdateMetrics( in CollectAndReportSuccessfulUpdateMetrics()
772 if (!system_state_->system_rebooted()) { in UpdateNumReboots()
792 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState()
1009 ? system_state_->clock()->GetWallclockTime() in GetUpdateDuration()
1020 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1149 Time now = system_state_->clock()->GetMonotonicTime(); in SetUpdateDurationUptime()
1154 Time now = system_state_->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime()
1228 if (system_state_->hardware()->IsOfficialBuild()) { in ComputeCandidateUrls()
1229 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
1262 if (!system_state_->system_rebooted()) in UpdateEngineStarted()
1267 system_state_->metrics_reporter(), prefs_, system_state_->clock()); in UpdateEngineStarted()
1292 if (installed_from == system_state_->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded()
1303 system_state_->metrics_reporter()->ReportFailedUpdateCount( in ReportFailedBootIfNeeded()
1334 system_state_->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()
1388 SetP2PFirstAttemptTimestamp(system_state_->clock()->GetWallclockTime()); in P2PNewAttempt()
1403 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed()