Home
last modified time | relevance | path

Searched refs:UpdateStatus (Results 1 – 20 of 20) 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::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 …]
Dsideload_main.cc44 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()
Dupdate_attempter.cc149 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 …]
Dupdate_attempter_android.h51 using UpdateStatus = update_engine::UpdateStatus;
106 void SetStatusAndNotify(UpdateStatus status);
181 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_status_utils.h26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
29 update_engine::UpdateStatus* status);
Dupdate_engine_client.cc49 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()
Dupdate_attempter_android.cc124 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 …]
Dparcelable_update_engine_status_unittest.cc28 using update_engine::UpdateStatus;
35 UpdateStatus::DOWNLOADING, in TEST()
64 UpdateStatus::DOWNLOADING, in TEST()
Dupdate_attempter.h61 using UpdateStatus = update_engine::UpdateStatus;
111 UpdateStatus status() const { return status_; } in status()
295 void SetStatusAndNotify(UpdateStatus status);
458 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_attempter_unittest.cc78 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 …]
Dupdate_attempter_android_unittest.cc39 using update_engine::UpdateStatus;
56 void SetUpdateStatus(update_engine::UpdateStatus status) { in SetUpdateStatus()
149 SetUpdateStatus(UpdateStatus::UPDATE_AVAILABLE); in TEST_F()
Dupdate_engine_client_android.cc87 update_engine::UpdateStatus status = in onStatusUpdate()
88 static_cast<update_engine::UpdateStatus>(status_code); in onStatusUpdate()
/system/update_engine/client_library/include/update_engine/
Dupdate_status.h30 enum class UpdateStatus { enum
64 UpdateStatus status;
Dstatus_update_handler.h40 UpdateStatus current_operation,
Dclient.h79 UpdateStatus* out_update_status,
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc197 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/
Dclient_dbus.cc80 UpdateStatus* out_update_status, in GetStatus()
165 UpdateStatus update_status; in StatusUpdateHandlersRegistered()
191 UpdateStatus status; in RunStatusUpdateHandlers()
Dclient_binder.cc69 UpdateStatus* out_update_status, in GetStatus()
157 UpdateStatus update_status; in HandleStatusUpdate()
186 UpdateStatus update_status; in RegisterStatusUpdateHandler()
Dclient_dbus.h49 UpdateStatus* out_update_status,
Dclient_binder.h55 UpdateStatus* out_update_status,