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 | 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()
|
/system/update_engine/aosp/ |
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}; 168 return sideload_daemon_state.status() == UpdateStatus::UPDATED_NEED_REBOOT; in ApplyUpdatePayload()
|
D | update_attempter_android.cc | 159 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in Init() 161 SetStatusAndNotify(UpdateStatus::IDLE); in Init() 178 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload() 186 DCHECK_EQ(status_, UpdateStatus::IDLE); in ApplyPayload() 307 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload() 325 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload() 333 DCHECK_EQ(status_, UpdateStatus::IDLE); in ApplyPayload() 374 case UpdateStatus::IDLE: { in ResetStatus() 382 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus() 417 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus() [all …]
|
D | update_attempter_android.h | 56 using UpdateStatus = update_engine::UpdateStatus; 130 void SetStatusAndNotify(UpdateStatus status); 227 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_attempter_android_unittest.cc | 41 using update_engine::UpdateStatus; 58 void SetUpdateStatus(update_engine::UpdateStatus status) { in SetUpdateStatus() 161 SetUpdateStatus(UpdateStatus::UPDATE_AVAILABLE); in TEST_F()
|
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 | 219 update_engine::UpdateStatus::CLEANUP_PREVIOUS_UPDATE), in OnCleanupProgressUpdate()
|
/system/update_engine/cros/ |
D | update_attempter.cc | 160 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in Init() 162 status_ = UpdateStatus::IDLE; in Init() 282 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in Update() 297 if (status_ != UpdateStatus::IDLE) { in Update() 308 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in Update() 868 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in Rollback() 877 return (status_ == UpdateStatus::IDLE && in CanRollback() 913 if (status_ != UpdateStatus::IDLE) { in CheckForUpdate() 968 if (status_ != UpdateStatus::IDLE) { in CheckForInstall() 1041 SetStatusAndNotify(UpdateStatus::DISABLED); in OnUpdateScheduled() [all …]
|
D | update_attempter_unittest.cc | 91 using update_engine::UpdateStatus; 97 const UpdateStatus kNonIdleUpdateStatuses[] = { 98 UpdateStatus::CHECKING_FOR_UPDATE, 99 UpdateStatus::UPDATE_AVAILABLE, 100 UpdateStatus::DOWNLOADING, 101 UpdateStatus::VERIFYING, 102 UpdateStatus::FINALIZING, 103 UpdateStatus::UPDATED_NEED_REBOOT, 104 UpdateStatus::REPORTING_ERROR_EVENT, 105 UpdateStatus::ATTEMPTING_ROLLBACK, [all …]
|
D | update_attempter.h | 64 using UpdateStatus = update_engine::UpdateStatus; 103 UpdateStatus status() const { return status_; } in status() 319 void SetStatusAndNotify(UpdateStatus status); 501 UpdateStatus status_{UpdateStatus::IDLE};
|
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()
|
/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 | 192 ActionSetUpdateEngineStatusStatus(update_engine::UpdateStatus::IDLE), in TEST_F() 200 update_engine::UpdateStatus::CHECKING_FOR_UPDATE), in TEST_F() 209 update_engine::UpdateStatus::UPDATE_AVAILABLE), in TEST_F() 218 update_engine::UpdateStatus::DOWNLOADING), in TEST_F() 227 update_engine::UpdateStatus::VERIFYING), in TEST_F() 236 update_engine::UpdateStatus::FINALIZING), in TEST_F() 245 update_engine::UpdateStatus::UPDATED_NEED_REBOOT), in TEST_F() 254 update_engine::UpdateStatus::REPORTING_ERROR_EVENT), in TEST_F() 263 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()
|