Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_status_utils.cc21 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 …]
Dsideload_main.cc44 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()
Dupdate_attempter_android.cc103 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 …]
Dupdate_attempter_android.h48 using UpdateStatus = update_engine::UpdateStatus;
107 void SetStatusAndNotify(UpdateStatus status);
149 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_attempter.cc159 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 …]
Dupdate_status_utils.h26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
29 update_engine::UpdateStatus* status);
Dupdate_engine_client.cc47 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()
Dupdate_attempter.h70 using UpdateStatus = update_engine::UpdateStatus;
134 UpdateStatus status() const { return status_; } in status()
282 void SetStatusAndNotify(UpdateStatus status);
436 UpdateStatus status_{UpdateStatus::IDLE};
Dservice_observer_interface.h36 update_engine::UpdateStatus status,
Dupdate_attempter_unittest.cc78 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()
Dupdate_engine_client_android.cc88 update_engine::UpdateStatus status = in onStatusUpdate()
89 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
Dbinder_service_android.h50 update_engine::UpdateStatus status,
Ddbus_service.h172 update_engine::UpdateStatus status,
Dbinder_service_brillo.h51 update_engine::UpdateStatus status,
Dbinder_service_android.cc45 update_engine::UpdateStatus status, in SendStatusUpdate()
Ddbus_service.cc177 update_engine::UpdateStatus status, in SendStatusUpdate()
Dbinder_service_brillo.cc233 update_engine::UpdateStatus status, in SendStatusUpdate()
/system/update_engine/client_library/include/update_engine/
Dupdate_status.h22 enum class UpdateStatus { enum
Dstatus_update_handler.h40 UpdateStatus current_operation,
Dclient.h66 UpdateStatus* out_update_status,
/system/update_engine/client_library/
Dclient_dbus.cc58 UpdateStatus* out_update_status, in GetStatus()
145 UpdateStatus update_status; in StatusUpdateHandlersRegistered()
171 UpdateStatus status; in RunStatusUpdateHandlers()
Dclient_binder.cc59 UpdateStatus* out_update_status, in GetStatus()
151 UpdateStatus update_status; in HandleStatusUpdate()
177 UpdateStatus update_status; in RegisterStatusUpdateHandler()
Dclient_dbus.h46 UpdateStatus* out_update_status,
Dclient_binder.h52 UpdateStatus* out_update_status,