/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::DOWNLOADING: in UpdateStatusToString() 35 case UpdateStatus::VERIFYING: in UpdateStatusToString() 37 case UpdateStatus::FINALIZING: in UpdateStatusToString() 39 case UpdateStatus::UPDATED_NEED_REBOOT: in UpdateStatusToString() 41 case UpdateStatus::REPORTING_ERROR_EVENT: in UpdateStatusToString() [all …]
|
D | sideload_main.cc | 44 using update_engine::UpdateStatus; 86 UpdateStatus status, in SendStatusUpdate() 89 if (status_ != status && (status == UpdateStatus::DOWNLOADING || in SendStatusUpdate() 90 status == UpdateStatus::FINALIZING)) { in SendStatusUpdate() 94 "ui_print Step %d/2", status == UpdateStatus::DOWNLOADING ? 1 : 2)); in SendStatusUpdate() 116 UpdateStatus status() { return status_; } in status() 134 UpdateStatus status_{UpdateStatus::IDLE}; 182 return sideload_daemon_state.status() == UpdateStatus::UPDATED_NEED_REBOOT; in ApplyUpdatePayload()
|
D | update_attempter_android.cc | 103 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in Init() 105 SetStatusAndNotify(UpdateStatus::IDLE); in Init() 114 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload() 122 DCHECK(status_ == UpdateStatus::IDLE); in ApplyPayload() 219 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload() 254 case UpdateStatus::IDLE: in ResetStatus() 257 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus() 280 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus() 350 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted() 360 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived() [all …]
|
D | update_attempter_android.h | 48 using UpdateStatus = update_engine::UpdateStatus; 107 void SetStatusAndNotify(UpdateStatus status); 149 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_attempter.cc | 159 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in UpdateAttempter() 161 status_ = UpdateStatus::IDLE; in UpdateAttempter() 264 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in UpdateAttempter() 279 if (status_ != UpdateStatus::IDLE) { in UpdateAttempter() 295 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in UpdateAttempter() 729 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in UpdateAttempter() 742 return (status_ == UpdateStatus::IDLE && in UpdateAttempter() 807 if (status_ != UpdateStatus::UPDATED_NEED_REBOOT) { in UpdateAttempter() 852 SetStatusAndNotify(UpdateStatus::DISABLED); in UpdateAttempter() 853 SetStatusAndNotify(UpdateStatus::IDLE); in UpdateAttempter() [all …]
|
D | update_status_utils.h | 26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status); 29 update_engine::UpdateStatus* status);
|
D | update_engine_client.cc | 47 using update_engine::UpdateStatus; 130 UpdateStatus current_operation, 136 int64_t last_checked_time, double progress, UpdateStatus current_operation, in HandleStatusUpdate() 150 UpdateStatus current_op; in ShowStatus() 171 UpdateStatus current_op; in GetNeedReboot() 180 if (current_op == UpdateStatus::UPDATED_NEED_REBOOT) { in GetNeedReboot() 197 UpdateStatus current_operation, 208 UpdateStatus current_operation, in HandleStatusUpdate() 211 if (exit_on_error_ && current_operation == UpdateStatus::IDLE) { in HandleStatusUpdate() 223 if (current_operation == UpdateStatus::UPDATED_NEED_REBOOT) { in HandleStatusUpdate()
|
D | update_attempter.h | 70 using UpdateStatus = update_engine::UpdateStatus; 134 UpdateStatus status() const { return status_; } in status() 282 void SetStatusAndNotify(UpdateStatus status); 436 UpdateStatus status_{UpdateStatus::IDLE};
|
D | service_observer_interface.h | 36 update_engine::UpdateStatus status,
|
D | update_attempter_unittest.cc | 78 using update_engine::UpdateStatus; 135 EXPECT_EQ(UpdateStatus::IDLE, attempter_.status_); in SetUp() 221 EXPECT_EQ(UpdateStatus::FINALIZING, attempter_.status()); in TEST_F() 228 attempter_.status_ = UpdateStatus::DOWNLOADING; in TEST_F() 248 EXPECT_EQ(UpdateStatus::IDLE, attempter_.status()); in TEST_F() 260 EXPECT_EQ(UpdateStatus::UPDATED_NEED_REBOOT, attempter_.status()); in TEST_F() 360 EXPECT_EQ(UpdateStatus::REPORTING_ERROR_EVENT, attempter_.status()); in TEST_F() 424 EXPECT_EQ(UpdateStatus::CHECKING_FOR_UPDATE, attempter_.status()); in UpdateTestVerify() 491 EXPECT_EQ(UpdateStatus::ATTEMPTING_ROLLBACK, attempter_.status()); in RollbackTestVerify() 551 EXPECT_EQ(UpdateStatus::UPDATED_NEED_REBOOT, attempter_.status()); in TEST_F()
|
D | update_engine_client_android.cc | 88 update_engine::UpdateStatus status = in onStatusUpdate() 89 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
|
D | binder_service_android.h | 50 update_engine::UpdateStatus status,
|
D | dbus_service.h | 172 update_engine::UpdateStatus status,
|
D | binder_service_brillo.h | 51 update_engine::UpdateStatus status,
|
D | binder_service_android.cc | 45 update_engine::UpdateStatus status, in SendStatusUpdate()
|
D | dbus_service.cc | 177 update_engine::UpdateStatus status, in SendStatusUpdate()
|
D | binder_service_brillo.cc | 233 update_engine::UpdateStatus status, in SendStatusUpdate()
|
/system/update_engine/client_library/include/update_engine/ |
D | update_status.h | 22 enum class UpdateStatus { enum
|
D | status_update_handler.h | 40 UpdateStatus current_operation,
|
D | client.h | 66 UpdateStatus* out_update_status,
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 58 UpdateStatus* out_update_status, in GetStatus() 145 UpdateStatus update_status; in StatusUpdateHandlersRegistered() 171 UpdateStatus status; in RunStatusUpdateHandlers()
|
D | client_binder.cc | 59 UpdateStatus* out_update_status, in GetStatus() 151 UpdateStatus update_status; in HandleStatusUpdate() 177 UpdateStatus update_status; in RegisterStatusUpdateHandler()
|
D | client_dbus.h | 46 UpdateStatus* out_update_status,
|
D | client_binder.h | 52 UpdateStatus* out_update_status,
|