Lines Matching refs:system_state_
82 system_state_ = system_state; in Initialize()
83 prefs_ = system_state_->prefs(); in Initialize()
84 powerwash_safe_prefs_ = system_state_->powerwash_safe_prefs(); in Initialize()
85 excluder_ = system_state_->update_attempter()->GetExcluder(); in Initialize()
200 ClockInterface* clock = system_state_->clock(); in AttemptStarted()
209 system_state_->connection_manager(); in AttemptStarted()
239 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded()
249 system_state_->metrics_reporter()->ReportRollbackMetrics( in UpdateSucceeded()
259 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded()
282 system_state_->metrics_reporter()->ReportRollbackMetrics( in UpdateFailed()
411 if (system_state_->request_params()->interactive()) { in ShouldBackoffDownload()
427 if (!system_state_->hardware()->IsOfficialBuild() && in ShouldBackoffDownload()
456 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()
608 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
629 ClockInterface* clock = system_state_->clock(); in CollectAndReportAttemptMetrics()
679 system_state_->metrics_reporter()->ReportUpdateAttemptMetrics( in CollectAndReportAttemptMetrics()
680 system_state_, in CollectAndReportAttemptMetrics()
689 system_state_->metrics_reporter()->ReportUpdateAttemptDownloadMetrics( in CollectAndReportAttemptMetrics()
719 system_state_->metrics_reporter() in ReportAndClearPersistedAttemptMetrics()
783 system_state_->metrics_reporter()->ReportSuccessfulUpdateMetrics( in CollectAndReportSuccessfulUpdateMetrics()
799 if (!system_state_->system_rebooted()) { in UpdateNumReboots()
819 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState()
1037 ? system_state_->clock()->GetWallclockTime() in GetUpdateDuration()
1048 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1177 Time now = system_state_->clock()->GetMonotonicTime(); in SetUpdateDurationUptime()
1182 Time now = system_state_->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime()
1256 if (system_state_->hardware()->IsOfficialBuild()) { in ComputeCandidateUrls()
1257 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
1290 if (!system_state_->system_rebooted()) in UpdateEngineStarted()
1295 system_state_->metrics_reporter(), prefs_, system_state_->clock()); in UpdateEngineStarted()
1320 if (installed_from == system_state_->boot_control()->GetCurrentSlot()) { in ReportFailedBootIfNeeded()
1331 system_state_->metrics_reporter()->ReportFailedUpdateCount( in ReportFailedBootIfNeeded()
1362 system_state_->boot_control()->GetCurrentSlot()); in ExpectRebootInNewVersion()
1416 SetP2PFirstAttemptTimestamp(system_state_->clock()->GetWallclockTime()); in P2PNewAttempt()
1431 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed()