/system/update_engine/ |
D | common_service.cc | 70 : system_state_(system_state) {} in UpdateEngineService() 82 system_state_->update_attempter()->SetUpdateAttemptFlags(flags); in SetUpdateAttemptFlags() 101 *out_result = system_state_->update_attempter()->CheckForUpdate( in AttemptUpdate() 109 if (!system_state_->update_attempter()->CheckForInstall(dlc_ids, omaha_url)) { in AttemptInstall() 120 if (!system_state_->update_attempter()->Rollback(in_powerwash)) { in AttemptRollback() 130 bool can_rollback = system_state_->update_attempter()->CanRollback(); in CanRollback() 137 if (!system_state_->update_attempter()->ResetStatus()) { in ResetStatus() 148 if (!system_state_->update_attempter()->SetDlcActiveValue(is_active, in SetDlcActiveValue() 158 if (!system_state_->update_attempter()->GetStatus(out_status)) { in GetStatus() 166 if (!system_state_->update_attempter()->RebootIfNeeded()) { in RebootIfNeeded() [all …]
|
D | update_attempter.cc | 132 system_state_(system_state), in UpdateAttempter() 149 prefs_ = system_state_->prefs(); in Init() 150 omaha_request_params_ = system_state_->request_params(); in Init() 168 system_state_->update_manager(); in ScheduleUpdates() 182 system_state_->metrics_reporter()->ReportCertificateCheckMetrics( in CertificateChecked() 188 Time now = system_state_->clock()->GetWallclockTime(); in CheckAndReportDailyMetrics() 189 if (system_state_->prefs()->Exists(kPrefsDailyMetricsLastReportedAt) && in CheckAndReportDailyMetrics() 190 system_state_->prefs()->GetInt64(kPrefsDailyMetricsLastReportedAt, in CheckAndReportDailyMetrics() 214 system_state_->prefs()->SetInt64(kPrefsDailyMetricsLastReportedAt, in CheckAndReportDailyMetrics() 225 if (system_state_ == nullptr) in ReportOSAge() [all …]
|
D | omaha_response_handler_action.cc | 48 : system_state_(system_state), in OmahaResponseHandlerAction() 63 string current_url = system_state_->payload_state()->GetCurrentUrl(); in PerformAction() 80 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction() 81 PayloadStateInterface* const payload_state = system_state_->payload_state(); in PerformAction() 116 system_state_->prefs(), update_check_response_hash); in PerformAction() 122 !DeltaPerformer::ResetUpdateProgress(system_state_->prefs(), false)) in PerformAction() 125 !system_state_->prefs()->SetString(kPrefsUpdateCheckResponseHash, in PerformAction() 131 install_plan_.target_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction() 134 install_plan_.source_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction() 144 system_state_->prefs()->SetString(current_channel_key, in PerformAction() [all …]
|
D | omaha_request_action.cc | 280 : system_state_(system_state), in OmahaRequestAction() 298 if (system_state_->prefs()->GetInt64(key, &last_ping) && last_ping >= 0) { in CalculatePingDays() 329 int powerwash_count = system_state_->hardware()->GetPowerwashCount(); in ShouldPing() 335 if (system_state_->hardware()->GetFirstActiveOmahaPingSent()) { in ShouldPing() 422 PrefsInterface* prefs = system_state_->prefs(); in StorePingReply() 462 GetInstallDate(system_state_), in PerformAction() 463 system_state_->prefs(), in PerformAction() 745 !HasInstallDate(system_state_)) { in ParseResponse() 752 if (PersistInstallDate(system_state_, in ParseResponse() 928 PayloadStateInterface* const payload_state = system_state_->payload_state(); in TransferComplete() [all …]
|
D | payload_state.cc | 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() [all …]
|
D | omaha_request_params.cc | 66 image_props_ = LoadImageProperties(system_state_); in Init() 67 mutable_image_props_ = LoadMutableImageProperties(system_state_); in Init() 92 hwid_ = system_state_->hardware()->GetHardwareClass(); in Init() 94 fw_version_ = system_state_->hardware()->GetFirmwareVersion(); in Init() 95 ec_version_ = system_state_->hardware()->GetECVersion(); in Init() 97 device_requisition_ = system_state_->hardware()->GetDeviceRequisition(); in Init() 163 if (!StoreMutableImageProperties(system_state_, new_props)) { in SetTargetChannel()
|
D | connection_manager.cc | 53 : shill_proxy_(shill_proxy), system_state_(system_state) {} in ConnectionManager() 67 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsUpdateAllowedOver() 72 UpdateAttempter* update_attempter = system_state_->update_attempter(); in IsUpdateAllowedOver() 75 device_policy = system_state_->device_policy(); in IsUpdateAllowedOver() 112 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsAllowedConnectionTypesForUpdateSet()
|
D | connection_manager.h | 62 SystemState* system_state_; variable
|
D | omaha_response_handler_action.h | 69 SystemState* system_state_; variable
|
D | common_service.h | 165 SystemState* system_state_;
|
D | omaha_request_params.h | 50 : system_state_(system_state), in OmahaRequestParams() 338 SystemState* system_state_; variable
|
D | omaha_request_action.h | 287 SystemState* system_state_; variable
|
D | payload_state.h | 431 SystemState* system_state_; variable
|
D | update_attempter.h | 481 SystemState* system_state_; variable
|
D | update_attempter_unittest.cc | 260 EXPECT_NE(nullptr, attempter_.system_state_); in SetUp() 261 EXPECT_NE(nullptr, attempter_.system_state_->update_manager()); in SetUp()
|
/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 54 : Variable<T>(name, mode), system_state_(system_state) {} in UpdaterVariableBase() 58 inline SystemState* system_state() const { return system_state_; } in system_state() 61 SystemState* const system_state_; member in chromeos_update_manager::UpdaterVariableBase 445 : system_state_(system_state), in RealUpdaterProvider() 449 new LastCheckedTimeVariable("last_checked_time", system_state_)), in RealUpdaterProvider() 451 "update_completed_time", system_state_)), in RealUpdaterProvider() 452 var_progress_(new ProgressVariable("progress", system_state_)), in RealUpdaterProvider() 453 var_stage_(new StageVariable("stage", system_state_)), in RealUpdaterProvider() 454 var_new_version_(new NewVersionVariable("new_version", system_state_)), in RealUpdaterProvider() 455 var_payload_size_(new PayloadSizeVariable("payload_size", system_state_)), in RealUpdaterProvider() [all …]
|
D | real_updater_provider.h | 99 chromeos_update_engine::SystemState* system_state_;
|
/system/update_engine/payload_consumer/ |
D | download_action.cc | 51 system_state_(system_state), in DownloadAction() 71 FilePath path = system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd() 84 P2PManager* p2p_manager = system_state_->p2p_manager(); in SetupP2PSharingFd() 298 if (system_state_ != nullptr) { in StartDownloading() 299 const PayloadStateInterface* payload_state = system_state_->payload_state(); in StartDownloading() 312 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id); in StartDownloading() 394 if (!p2p_visible_ && system_state_ && delta_performer_.get() && in ReceivedBytes() 397 system_state_->p2p_manager()->FileMakeVisible(p2p_file_id_); in ReceivedBytes() 419 system_state_->payload_state()->NextPayload()) { in TransferComplete() 428 system_state_->payload_state()->GetCurrentUrl(); in TransferComplete()
|
D | download_action.h | 150 SystemState* system_state_; variable
|