Home
last modified time | relevance | path

Searched refs:UpdateStatus (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/
Dupdate_status_utils.cc26 using update_engine::UpdateStatus;
45 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString()
47 case UpdateStatus::IDLE: in UpdateStatusToString()
49 case UpdateStatus::CHECKING_FOR_UPDATE: in UpdateStatusToString()
51 case UpdateStatus::UPDATE_AVAILABLE: in UpdateStatusToString()
53 case UpdateStatus::NEED_PERMISSION_TO_UPDATE: in UpdateStatusToString()
55 case UpdateStatus::DOWNLOADING: in UpdateStatusToString()
57 case UpdateStatus::VERIFYING: in UpdateStatusToString()
59 case UpdateStatus::FINALIZING: in UpdateStatusToString()
61 case UpdateStatus::UPDATED_NEED_REBOOT: in UpdateStatusToString()
[all …]
Dsideload_main.cc44 using update_engine::UpdateStatus;
70 UpdateStatus status = update_engine_status.status; in SendStatusUpdate()
72 if (status_ != status && (status == UpdateStatus::DOWNLOADING || in SendStatusUpdate()
73 status == UpdateStatus::FINALIZING)) { in SendStatusUpdate()
77 "ui_print Step %d/2", status == UpdateStatus::DOWNLOADING ? 1 : 2)); in SendStatusUpdate()
99 UpdateStatus status() { return status_; } in status()
117 UpdateStatus status_{UpdateStatus::IDLE};
165 return sideload_daemon_state.status() == UpdateStatus::UPDATED_NEED_REBOOT; in ApplyUpdatePayload()
Dupdate_attempter.cc158 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in Init()
160 status_ = UpdateStatus::IDLE; in Init()
263 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in Update()
279 if (status_ != UpdateStatus::IDLE) { in Update()
298 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in Update()
906 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in Rollback()
915 return (status_ == UpdateStatus::IDLE && in CanRollback()
950 if (status_ != UpdateStatus::IDLE) { in CheckForUpdate()
1005 if (status_ != UpdateStatus::IDLE) { in CheckForInstall()
1044 if (status_ != UpdateStatus::UPDATED_NEED_REBOOT) { in RebootIfNeeded()
[all …]
Dupdate_attempter_android.cc157 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in Init()
159 SetStatusAndNotify(UpdateStatus::IDLE); in Init()
176 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload()
184 DCHECK(status_ == UpdateStatus::IDLE); in ApplyPayload()
305 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload()
353 case UpdateStatus::IDLE: { in ResetStatus()
361 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus()
393 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus()
524 if (status_ == UpdateStatus::CLEANUP_PREVIOUS_UPDATE) { in ProcessingDone()
575 status_ == UpdateStatus::CLEANUP_PREVIOUS_UPDATE)) { in ActionCompleted()
[all …]
Dupdate_attempter_android.h55 using UpdateStatus = update_engine::UpdateStatus;
128 void SetStatusAndNotify(UpdateStatus status);
223 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_attempter_unittest.cc92 using update_engine::UpdateStatus;
98 const UpdateStatus kNonIdleUpdateStatuses[] = {
99 UpdateStatus::CHECKING_FOR_UPDATE,
100 UpdateStatus::UPDATE_AVAILABLE,
101 UpdateStatus::DOWNLOADING,
102 UpdateStatus::VERIFYING,
103 UpdateStatus::FINALIZING,
104 UpdateStatus::UPDATED_NEED_REBOOT,
105 UpdateStatus::REPORTING_ERROR_EVENT,
106 UpdateStatus::ATTEMPTING_ROLLBACK,
[all …]
Dupdate_attempter.h64 using UpdateStatus = update_engine::UpdateStatus;
116 UpdateStatus status() const { return status_; } in status()
327 void SetStatusAndNotify(UpdateStatus status);
513 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_status_utils.h26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
Dupdate_status_utils_unittest.cc32 .status = update_engine::UpdateStatus::CHECKING_FOR_UPDATE, in TEST()
Dupdate_attempter_android_unittest.cc40 using update_engine::UpdateStatus;
57 void SetUpdateStatus(update_engine::UpdateStatus status) { in SetUpdateStatus()
159 SetUpdateStatus(UpdateStatus::UPDATE_AVAILABLE); in TEST_F()
Dupdate_engine_client.cc56 using update_engine::UpdateStatus;
182 if (status.status == UpdateStatus::UPDATED_NEED_REBOOT) { in GetNeedReboot()
205 if (exit_on_error_ && status.status == UpdateStatus::IDLE) { in HandleStatusUpdate()
216 if (status.status == UpdateStatus::UPDATED_NEED_REBOOT) { in HandleStatusUpdate()
Dupdate_engine_client_android.cc90 update_engine::UpdateStatus status = in onStatusUpdate()
91 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
Dbinder_service_android.cc234 update_engine::UpdateStatus::CLEANUP_PREVIOUS_UPDATE), in OnCleanupProgressUpdate()
/system/update_engine/client_library/include/update_engine/
Dupdate_status.h37 enum class UpdateStatus { enum
78 UpdateStatus status;
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc197 ActionSetUpdateEngineStatusStatus(update_engine::UpdateStatus::IDLE), in TEST_F()
205 update_engine::UpdateStatus::CHECKING_FOR_UPDATE), in TEST_F()
214 update_engine::UpdateStatus::UPDATE_AVAILABLE), in TEST_F()
223 update_engine::UpdateStatus::DOWNLOADING), in TEST_F()
232 update_engine::UpdateStatus::VERIFYING), in TEST_F()
241 update_engine::UpdateStatus::FINALIZING), in TEST_F()
250 update_engine::UpdateStatus::UPDATED_NEED_REBOOT), in TEST_F()
259 update_engine::UpdateStatus::REPORTING_ERROR_EVENT), in TEST_F()
268 update_engine::UpdateStatus::ATTEMPTING_ROLLBACK), in TEST_F()
/system/update_engine/client_library/
Dclient_dbus.cc55 out_status->status = static_cast<UpdateStatus>(status.current_operation()); in ConvertToUpdateEngineStatus()