/system/update_engine/ |
D | common_service.cc | 74 : system_state_(system_state) {} in UpdateEngineService() 86 system_state_->update_attempter()->SetUpdateAttemptFlags(flags); in SetUpdateAttemptFlags() 105 *out_result = system_state_->update_attempter()->CheckForUpdate( in AttemptUpdate() 113 if (!system_state_->update_attempter()->CheckForInstall(dlc_module_ids, in AttemptInstall() 125 if (!system_state_->update_attempter()->Rollback(in_powerwash)) { in AttemptRollback() 135 bool can_rollback = system_state_->update_attempter()->CanRollback(); in CanRollback() 142 if (!system_state_->update_attempter()->ResetStatus()) { in ResetStatus() 152 if (!system_state_->update_attempter()->GetStatus(out_status)) { in GetStatus() 160 if (!system_state_->update_attempter()->RebootIfNeeded()) { in RebootIfNeeded() 171 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in SetChannel() [all …]
|
D | update_attempter.cc | 123 system_state_(system_state), in UpdateAttempter() 140 prefs_ = system_state_->prefs(); in Init() 141 omaha_request_params_ = system_state_->request_params(); in Init() 159 system_state_->update_manager(); in ScheduleUpdates() 172 system_state_->metrics_reporter()->ReportCertificateCheckMetrics( in CertificateChecked() 178 Time now = system_state_->clock()->GetWallclockTime(); in CheckAndReportDailyMetrics() 179 if (system_state_->prefs()->Exists(kPrefsDailyMetricsLastReportedAt) && in CheckAndReportDailyMetrics() 180 system_state_->prefs()->GetInt64(kPrefsDailyMetricsLastReportedAt, in CheckAndReportDailyMetrics() 204 system_state_->prefs()->SetInt64(kPrefsDailyMetricsLastReportedAt, in CheckAndReportDailyMetrics() 215 if (system_state_ == nullptr) in ReportOSAge() [all …]
|
D | omaha_response_handler_action.cc | 46 : system_state_(system_state), in OmahaResponseHandlerAction() 61 string current_url = system_state_->payload_state()->GetCurrentUrl(); in PerformAction() 75 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction() 76 PayloadStateInterface* const payload_state = system_state_->payload_state(); in PerformAction() 110 system_state_->prefs(), update_check_response_hash); in PerformAction() 116 !DeltaPerformer::ResetUpdateProgress(system_state_->prefs(), false)) in PerformAction() 119 !system_state_->prefs()->SetString(kPrefsUpdateCheckResponseHash, in PerformAction() 125 install_plan_.target_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction() 128 install_plan_.source_slot = system_state_->boot_control()->GetCurrentSlot(); in PerformAction() 138 system_state_->prefs()->SetString(current_channel_key, in PerformAction() [all …]
|
D | omaha_request_action.cc | 696 : system_state_(system_state), in OmahaRequestAction() 713 if (system_state_->prefs()->GetInt64(key, &last_ping) && last_ping >= 0) { in CalculatePingDays() 744 int powerwash_count = system_state_->hardware()->GetPowerwashCount(); in ShouldPing() 750 if (system_state_->hardware()->GetFirstActiveOmahaPingSent()) { in ShouldPing() 838 GetInstallDate(system_state_), in PerformAction() 839 system_state_)); in PerformAction() 1049 !HasInstallDate(system_state_)) { in ParseResponse() 1056 if (PersistInstallDate(system_state_, in ParseResponse() 1217 PayloadStateInterface* const payload_state = system_state_->payload_state(); in TransferComplete() 1272 LOG_IF(ERROR, !UpdateLastPingDays(&parser_data, system_state_->prefs())) in TransferComplete() [all …]
|
D | payload_state.cc | 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() [all …]
|
D | omaha_request_params.cc | 67 image_props_ = LoadImageProperties(system_state_); in Init() 68 mutable_image_props_ = LoadMutableImageProperties(system_state_); in Init() 93 hwid_ = system_state_->hardware()->GetHardwareClass(); in Init() 95 fw_version_ = system_state_->hardware()->GetFirmwareVersion(); in Init() 96 ec_version_ = system_state_->hardware()->GetECVersion(); 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() 65 system_state_->device_policy(); in IsUpdateAllowedOver() 70 UpdateAttempter* update_attempter = system_state_->update_attempter(); in IsUpdateAllowedOver() 73 device_policy = system_state_->device_policy(); in IsUpdateAllowedOver() 120 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 | 161 SystemState* system_state_;
|
D | omaha_request_params.h | 48 : system_state_(system_state), in OmahaRequestParams() 277 SystemState* system_state_; variable
|
D | omaha_request_action.h | 329 SystemState* system_state_; variable
|
D | payload_state.h | 420 SystemState* system_state_; variable
|
D | update_attempter.h | 426 SystemState* system_state_; variable
|
D | update_attempter_unittest.cc | 146 EXPECT_NE(nullptr, attempter_.system_state_); 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() 75 FilePath path = system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd() 88 P2PManager* p2p_manager = system_state_->p2p_manager(); in SetupP2PSharingFd() 256 if (system_state_ != nullptr) { in StartDownloading() 257 const PayloadStateInterface* payload_state = system_state_->payload_state(); in StartDownloading() 270 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id); in StartDownloading() 352 if (!p2p_visible_ && system_state_ && delta_performer_.get() && in ReceivedBytes() 355 system_state_->p2p_manager()->FileMakeVisible(p2p_file_id_); in ReceivedBytes() 377 system_state_->payload_state()->NextPayload()) { in TransferComplete() 386 system_state_->payload_state()->GetCurrentUrl(); in TransferComplete()
|
D | download_action.h | 149 SystemState* system_state_; variable
|