Lines Matching refs:UpdateStatus
160 status_ = UpdateStatus::UPDATED_NEED_REBOOT; in Init()
162 status_ = UpdateStatus::IDLE; in Init()
282 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in Update()
297 if (status_ != UpdateStatus::IDLE) { in Update()
308 SetStatusAndNotify(UpdateStatus::CHECKING_FOR_UPDATE); in Update()
868 SetStatusAndNotify(UpdateStatus::ATTEMPTING_ROLLBACK); in Rollback()
877 return (status_ == UpdateStatus::IDLE && in CanRollback()
913 if (status_ != UpdateStatus::IDLE) { in CheckForUpdate()
968 if (status_ != UpdateStatus::IDLE) { in CheckForInstall()
1041 SetStatusAndNotify(UpdateStatus::DISABLED); in OnUpdateScheduled()
1042 SetStatusAndNotify(UpdateStatus::IDLE); in OnUpdateScheduled()
1101 if (status_ == UpdateStatus::REPORTING_ERROR_EVENT) { in ProcessingDoneInternal()
1105 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingDoneInternal()
1122 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingDoneInternal()
1170 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingDoneInstall()
1181 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in ProcessingDoneUpdate()
1237 SetStatusAndNotify(UpdateStatus::IDLE); in ProcessingStopped()
1287 SetStatusAndNotify(UpdateStatus::NEED_PERMISSION_TO_UPDATE); in ActionCompleted()
1309 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ActionCompleted()
1319 case UpdateStatus::IDLE: in ActionCompleted()
1320 case UpdateStatus::CHECKING_FOR_UPDATE: in ActionCompleted()
1321 case UpdateStatus::UPDATE_AVAILABLE: in ActionCompleted()
1322 case UpdateStatus::NEED_PERMISSION_TO_UPDATE: in ActionCompleted()
1324 case UpdateStatus::DOWNLOADING: in ActionCompleted()
1325 case UpdateStatus::VERIFYING: in ActionCompleted()
1326 case UpdateStatus::FINALIZING: in ActionCompleted()
1327 case UpdateStatus::UPDATED_NEED_REBOOT: in ActionCompleted()
1328 case UpdateStatus::REPORTING_ERROR_EVENT: in ActionCompleted()
1329 case UpdateStatus::ATTEMPTING_ROLLBACK: in ActionCompleted()
1330 case UpdateStatus::DISABLED: in ActionCompleted()
1331 case UpdateStatus::CLEANUP_PREVIOUS_UPDATE: in ActionCompleted()
1344 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted()
1367 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived()
1369 SetStatusAndNotify(UpdateStatus::DOWNLOADING); in BytesReceived()
1405 case UpdateStatus::IDLE: in ResetStatus()
1409 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus()
1411 status_ = UpdateStatus::IDLE; in ResetStatus()
1523 void UpdateAttempter::SetStatusAndNotify(UpdateStatus status) { in SetStatusAndNotify()
1530 if (error_event_.get() || status_ == UpdateStatus::REPORTING_ERROR_EVENT) { in CreatePendingErrorEvent()
1585 SetStatusAndNotify(UpdateStatus::REPORTING_ERROR_EVENT); in ScheduleErrorEventAction()
1652 SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT); in PingOmaha()
1808 return ((status_ != UpdateStatus::IDLE && in IsBusyOrUpdateScheduled()
1809 status_ != UpdateStatus::UPDATED_NEED_REBOOT) || in IsBusyOrUpdateScheduled()