Searched refs:UpdateStatus (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/ |
D | update_status_utils.cc | 26 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 …]
|
D | sideload_main.cc | 44 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()
|
D | update_attempter.cc | 158 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 …]
|
D | update_attempter_android.cc | 157 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 …]
|
D | update_attempter_android.h | 55 using UpdateStatus = update_engine::UpdateStatus; 128 void SetStatusAndNotify(UpdateStatus status); 223 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_attempter_unittest.cc | 92 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 …]
|
D | update_attempter.h | 64 using UpdateStatus = update_engine::UpdateStatus; 116 UpdateStatus status() const { return status_; } in status() 327 void SetStatusAndNotify(UpdateStatus status); 513 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_status_utils.h | 26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
|
D | update_status_utils_unittest.cc | 32 .status = update_engine::UpdateStatus::CHECKING_FOR_UPDATE, in TEST()
|
D | update_attempter_android_unittest.cc | 40 using update_engine::UpdateStatus; 57 void SetUpdateStatus(update_engine::UpdateStatus status) { in SetUpdateStatus() 159 SetUpdateStatus(UpdateStatus::UPDATE_AVAILABLE); in TEST_F()
|
D | update_engine_client.cc | 56 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()
|
D | update_engine_client_android.cc | 90 update_engine::UpdateStatus status = in onStatusUpdate() 91 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
|
D | binder_service_android.cc | 234 update_engine::UpdateStatus::CLEANUP_PREVIOUS_UPDATE), in OnCleanupProgressUpdate()
|
/system/update_engine/client_library/include/update_engine/ |
D | update_status.h | 37 enum class UpdateStatus { enum 78 UpdateStatus status;
|
/system/update_engine/update_manager/ |
D | real_updater_provider_unittest.cc | 197 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/ |
D | client_dbus.cc | 55 out_status->status = static_cast<UpdateStatus>(status.current_operation()); in ConvertToUpdateEngineStatus()
|