Home
last modified time | relevance | path

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

12

/system/update_engine/
Dupdate_status_utils.cc21 using update_engine::UpdateStatus;
40 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString()
42 case UpdateStatus::IDLE: in UpdateStatusToString()
44 case UpdateStatus::CHECKING_FOR_UPDATE: in UpdateStatusToString()
46 case UpdateStatus::UPDATE_AVAILABLE: in UpdateStatusToString()
48 case UpdateStatus::DOWNLOADING: in UpdateStatusToString()
50 case UpdateStatus::VERIFYING: in UpdateStatusToString()
52 case UpdateStatus::FINALIZING: in UpdateStatusToString()
54 case UpdateStatus::UPDATED_NEED_REBOOT: in UpdateStatusToString()
56 case UpdateStatus::REPORTING_ERROR_EVENT: in UpdateStatusToString()
[all …]
Dupdate_attempter_android.cc94 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in Init()
96 SetStatusAndNotify(UpdateStatus::IDLE); in Init()
105 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload()
113 DCHECK(status_ == UpdateStatus::IDLE); in ApplyPayload()
186 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload()
221 case UpdateStatus::IDLE: in ResetStatus()
224 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus()
241 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus()
289 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted()
299 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived()
[all …]
Dupdate_status_utils.h26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
30 const update_engine::UpdateStatus& status);
33 update_engine::UpdateStatus* status);
Dupdate_attempter_android.h49 using UpdateStatus = update_engine::UpdateStatus;
108 void SetStatusAndNotify(UpdateStatus status);
154 UpdateStatus status_{UpdateStatus::IDLE};
Dupdate_engine_client.cc44 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()
196 UpdateStatus current_operation,
206 UpdateStatus current_operation, in HandleStatusUpdate()
209 if (exit_on_error_ && current_operation == UpdateStatus::IDLE) { in HandleStatusUpdate()
214 if (current_operation == UpdateStatus::UPDATED_NEED_REBOOT) { in HandleStatusUpdate()
Dupdate_attempter.cc160 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in Init()
162 status_ = UpdateStatus::IDLE; in Init()
269 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in Update()
284 if (status_ != UpdateStatus::IDLE) { in Update()
300 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in Update()
743 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in Rollback()
756 return (status_ == UpdateStatus::IDLE && in CanRollback()
821 if (status_ != UpdateStatus::UPDATED_NEED_REBOOT) { in RebootIfNeeded()
880 SetStatusAndNotify(UpdateStatus::DISABLED); in OnUpdateScheduled()
881 SetStatusAndNotify(UpdateStatus::IDLE); in OnUpdateScheduled()
[all …]
Dupdate_attempter.h66 using UpdateStatus = update_engine::UpdateStatus;
109 UpdateStatus* update_status,
140 UpdateStatus status() const { return status_; } in status()
286 void SetStatusAndNotify(UpdateStatus status);
447 UpdateStatus status_{UpdateStatus::IDLE};
Dweave_service.cc67 update_engine::UpdateStatus /* status */, in SendStatusUpdate() argument
86 update_engine::UpdateStatus update_status; in UpdateWeaveState()
Dservice_observer_interface.h36 update_engine::UpdateStatus status,
Dweave_service_interface.h49 update_engine::UpdateStatus* update_status,
Dupdate_attempter_unittest.cc73 using update_engine::UpdateStatus;
138 EXPECT_EQ(UpdateStatus::IDLE, attempter_.status_); in SetUp()
229 EXPECT_EQ(UpdateStatus::FINALIZING, attempter_.status()); in TEST_F()
236 attempter_.status_ = UpdateStatus::DOWNLOADING; in TEST_F()
256 EXPECT_EQ(UpdateStatus::IDLE, attempter_.status()); in TEST_F()
270 EXPECT_EQ(UpdateStatus::UPDATED_NEED_REBOOT, attempter.status()); in TEST_F()
372 EXPECT_EQ(UpdateStatus::REPORTING_ERROR_EVENT, attempter_.status()); in TEST_F()
437 EXPECT_EQ(UpdateStatus::CHECKING_FOR_UPDATE, attempter_.status()); in UpdateTestVerify()
504 EXPECT_EQ(UpdateStatus::ATTEMPTING_ROLLBACK, attempter_.status()); in RollbackTestVerify()
564 EXPECT_EQ(UpdateStatus::UPDATED_NEED_REBOOT, attempter_.status()); in TEST_F()
Dweave_service.h41 update_engine::UpdateStatus status,
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.h162 update_engine::UpdateStatus status,
Dbinder_service_brillo.h50 update_engine::UpdateStatus status,
/system/update_engine/client_library/
Dclient_binder.cc59 UpdateStatus* out_update_status, in GetStatus()
137 UpdateStatus update_status; in HandleStatusUpdate()
163 UpdateStatus update_status; in RegisterStatusUpdateHandler()
Dclient_dbus.cc58 UpdateStatus* out_update_status, in GetStatus()
137 UpdateStatus update_status; in StatusUpdateHandlersRegistered()
163 UpdateStatus status; in RunStatusUpdateHandlers()
Dclient_dbus.h46 UpdateStatus* out_update_status,
Dclient_binder.h53 UpdateStatus* out_update_status,
/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/connectivity/shill/cellular/
Dcellular_capability_classic.h110 virtual void UpdateStatus(const KeyValueStore& properties);
135 FRIEND_TEST(CellularCapabilityGSMTest, UpdateStatus);
Dcellular_capability_cdma.h81 void UpdateStatus(const KeyValueStore& properties) override;

12