Lines Matching refs:UpdateStatus
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()
924 if (status_ == UpdateStatus::REPORTING_ERROR_EVENT) { in ProcessingDone()
928 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingDone()
960 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in ProcessingDone()
993 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingDone()
1001 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingStopped()
1045 if (status_ >= UpdateStatus::DOWNLOADING && in ActionCompleted()
1066 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ActionCompleted()
1068 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted()
1082 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived()
1084 SetStatusAndNotify(UpdateStatus::DOWNLOADING); in BytesReceived()
1120 UpdateStatus* update_status, in GetWeaveState()
1149 case UpdateStatus::IDLE: in ResetStatus()
1153 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus()
1155 status_ = UpdateStatus::IDLE; in ResetStatus()
1287 void UpdateAttempter::SetStatusAndNotify(UpdateStatus status) { in SetStatusAndNotify()
1306 status_ == UpdateStatus::REPORTING_ERROR_EVENT) { in CreatePendingErrorEvent()
1356 SetStatusAndNotify(UpdateStatus::REPORTING_ERROR_EVENT); in ScheduleErrorEventAction()
1449 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in PingOmaha()
1590 return ((status_ != UpdateStatus::IDLE && in IsUpdateRunningOrScheduled()
1591 status_ != UpdateStatus::UPDATED_NEED_REBOOT) || in IsUpdateRunningOrScheduled()