/system/update_engine/ |
D | update_status_utils.cc | 21 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 …]
|
D | update_attempter_android.cc | 94 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 …]
|
D | update_status_utils.h | 26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status); 30 const update_engine::UpdateStatus& status); 33 update_engine::UpdateStatus* status);
|
D | update_attempter_android.h | 49 using UpdateStatus = update_engine::UpdateStatus; 108 void SetStatusAndNotify(UpdateStatus status); 154 UpdateStatus status_{UpdateStatus::IDLE};
|
D | update_engine_client.cc | 44 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()
|
D | update_attempter.cc | 160 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 …]
|
D | update_attempter.h | 66 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};
|
D | weave_service.cc | 67 update_engine::UpdateStatus /* status */, in SendStatusUpdate() argument 86 update_engine::UpdateStatus update_status; in UpdateWeaveState()
|
D | service_observer_interface.h | 36 update_engine::UpdateStatus status,
|
D | weave_service_interface.h | 49 update_engine::UpdateStatus* update_status,
|
D | update_attempter_unittest.cc | 73 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()
|
D | weave_service.h | 41 update_engine::UpdateStatus status,
|
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 | 162 update_engine::UpdateStatus status,
|
D | binder_service_brillo.h | 50 update_engine::UpdateStatus status,
|
/system/update_engine/client_library/ |
D | client_binder.cc | 59 UpdateStatus* out_update_status, in GetStatus() 137 UpdateStatus update_status; in HandleStatusUpdate() 163 UpdateStatus update_status; in RegisterStatusUpdateHandler()
|
D | client_dbus.cc | 58 UpdateStatus* out_update_status, in GetStatus() 137 UpdateStatus update_status; in StatusUpdateHandlersRegistered() 163 UpdateStatus status; in RunStatusUpdateHandlers()
|
D | client_dbus.h | 46 UpdateStatus* out_update_status,
|
D | client_binder.h | 53 UpdateStatus* out_update_status,
|
/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/connectivity/shill/cellular/ |
D | cellular_capability_classic.h | 110 virtual void UpdateStatus(const KeyValueStore& properties); 135 FRIEND_TEST(CellularCapabilityGSMTest, UpdateStatus);
|
D | cellular_capability_cdma.h | 81 void UpdateStatus(const KeyValueStore& properties) override;
|