/system/update_engine/ |
D | update_status_utils.cc | 21 using update_engine::UpdateStatus; 25 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString() 27 case UpdateStatus::IDLE: in UpdateStatusToString() 29 case UpdateStatus::CHECKING_FOR_UPDATE: in UpdateStatusToString() 31 case UpdateStatus::UPDATE_AVAILABLE: in UpdateStatusToString() 33 case UpdateStatus::NEED_PERMISSION_TO_UPDATE: in UpdateStatusToString() 35 case UpdateStatus::DOWNLOADING: in UpdateStatusToString() 37 case UpdateStatus::VERIFYING: in UpdateStatusToString() 39 case UpdateStatus::FINALIZING: in UpdateStatusToString() 41 case UpdateStatus::UPDATED_NEED_REBOOT: in UpdateStatusToString() [all …]
|
D | sideload_main.cc | 44 using update_engine::UpdateStatus; 81 UpdateStatus status = update_engine_status.status; in SendStatusUpdate() 83 if (status_ != status && (status == UpdateStatus::DOWNLOADING || in SendStatusUpdate() 84 status == UpdateStatus::FINALIZING)) { in SendStatusUpdate() 88 "ui_print Step %d/2", status == UpdateStatus::DOWNLOADING ? 1 : 2)); in SendStatusUpdate() 110 UpdateStatus status() { return status_; } in status() 128 UpdateStatus status_{UpdateStatus::IDLE}; 176 return sideload_daemon_state.status() == UpdateStatus::UPDATED_NEED_REBOOT; in ApplyUpdatePayload()
|
D | update_attempter.cc | 149 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in Init() 151 status_ = UpdateStatus::IDLE; in Init() 251 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in Update() 267 if (status_ != UpdateStatus::IDLE) { in Update() 284 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in Update() 749 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in Rollback() 758 return (status_ == UpdateStatus::IDLE && in CanRollback() 797 if (interactive && status_ != UpdateStatus::IDLE) { in CheckForUpdate() 881 if (status_ != UpdateStatus::UPDATED_NEED_REBOOT) { in RebootIfNeeded() 927 SetStatusAndNotify(UpdateStatus::DISABLED); in OnUpdateScheduled() [all …]
|
D | update_attempter_android.h | 51 using UpdateStatus = update_engine::UpdateStatus; 106 void SetStatusAndNotify(UpdateStatus status); 181 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_status_utils.h | 26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status); 29 update_engine::UpdateStatus* status);
|
D | update_engine_client.cc | 49 using update_engine::UpdateStatus; 137 UpdateStatus current_operation, 145 UpdateStatus current_operation, in HandleStatusUpdate() 160 UpdateStatus current_op; in ShowStatus() 196 UpdateStatus current_op; in GetNeedReboot() 208 if (current_op == UpdateStatus::UPDATED_NEED_REBOOT) { in GetNeedReboot() 225 UpdateStatus current_operation, 236 UpdateStatus current_operation, in HandleStatusUpdate() 239 if (exit_on_error_ && current_operation == UpdateStatus::IDLE) { in HandleStatusUpdate() 251 if (current_operation == UpdateStatus::UPDATED_NEED_REBOOT) { in HandleStatusUpdate()
|
D | update_attempter_android.cc | 124 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in Init() 126 SetStatusAndNotify(UpdateStatus::IDLE); in Init() 137 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload() 145 DCHECK(status_ == UpdateStatus::IDLE); in ApplyPayload() 282 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload() 317 case UpdateStatus::IDLE: in ResetStatus() 320 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus() 342 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus() 513 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted() 525 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived() [all …]
|
D | parcelable_update_engine_status_unittest.cc | 28 using update_engine::UpdateStatus; 35 UpdateStatus::DOWNLOADING, in TEST() 64 UpdateStatus::DOWNLOADING, in TEST()
|
D | update_attempter.h | 61 using UpdateStatus = update_engine::UpdateStatus; 111 UpdateStatus status() const { return status_; } in status() 295 void SetStatusAndNotify(UpdateStatus status); 458 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_attempter_unittest.cc | 78 using update_engine::UpdateStatus; 148 EXPECT_EQ(UpdateStatus::IDLE, attempter_.status_); in SetUp() 241 EXPECT_EQ(UpdateStatus::FINALIZING, attempter_.status()); in TEST_F() 249 attempter_.status_ = UpdateStatus::DOWNLOADING; in TEST_F() 277 Field(&UpdateEngineStatus::status, UpdateStatus::DOWNLOADING), in TEST_F() 282 Field(&UpdateEngineStatus::status, UpdateStatus::DOWNLOADING), in TEST_F() 300 attempter_.status_ = UpdateStatus::CHECKING_FOR_UPDATE; in TEST_F() 308 Field(&UpdateEngineStatus::status, UpdateStatus::DOWNLOADING), in TEST_F() 312 EXPECT_EQ(UpdateStatus::DOWNLOADING, attempter_.status_); in TEST_F() 322 attempter_.status_ = UpdateStatus::DOWNLOADING; in TEST_F() [all …]
|
D | update_attempter_android_unittest.cc | 39 using update_engine::UpdateStatus; 56 void SetUpdateStatus(update_engine::UpdateStatus status) { in SetUpdateStatus() 149 SetUpdateStatus(UpdateStatus::UPDATE_AVAILABLE); in TEST_F()
|
D | update_engine_client_android.cc | 87 update_engine::UpdateStatus status = in onStatusUpdate() 88 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
|
/system/update_engine/client_library/include/update_engine/ |
D | update_status.h | 30 enum class UpdateStatus { enum 64 UpdateStatus status;
|
D | status_update_handler.h | 40 UpdateStatus current_operation,
|
D | client.h | 79 UpdateStatus* out_update_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 | 80 UpdateStatus* out_update_status, in GetStatus() 165 UpdateStatus update_status; in StatusUpdateHandlersRegistered() 191 UpdateStatus status; in RunStatusUpdateHandlers()
|
D | client_binder.cc | 69 UpdateStatus* out_update_status, in GetStatus() 157 UpdateStatus update_status; in HandleStatusUpdate() 186 UpdateStatus update_status; in RegisterStatusUpdateHandler()
|
D | client_dbus.h | 49 UpdateStatus* out_update_status,
|
D | client_binder.h | 55 UpdateStatus* out_update_status,
|