Lines Matching refs:UpdateStatus

157     SetStatusAndNotify(UpdateStatus::UPDATED_NEED_REBOOT);  in Init()
159 SetStatusAndNotify(UpdateStatus::IDLE); in Init()
176 if (status_ == UpdateStatus::UPDATED_NEED_REBOOT) { in ApplyPayload()
184 DCHECK(status_ == UpdateStatus::IDLE); in ApplyPayload()
305 SetStatusAndNotify(UpdateStatus::UPDATE_AVAILABLE); in ApplyPayload()
353 case UpdateStatus::IDLE: { in ResetStatus()
361 case UpdateStatus::UPDATED_NEED_REBOOT: { in ResetStatus()
393 SetStatusAndNotify(UpdateStatus::IDLE); in ResetStatus()
524 if (status_ == UpdateStatus::CLEANUP_PREVIOUS_UPDATE) { in ProcessingDone()
575 status_ == UpdateStatus::CLEANUP_PREVIOUS_UPDATE)) { in ActionCompleted()
592 SetStatusAndNotify(UpdateStatus::CLEANUP_PREVIOUS_UPDATE); in ActionCompleted()
597 SetStatusAndNotify(UpdateStatus::VERIFYING); in ActionCompleted()
599 SetStatusAndNotify(UpdateStatus::FINALIZING); in ActionCompleted()
610 if (status_ != UpdateStatus::DOWNLOADING || bytes_received == total) { in BytesReceived()
612 SetStatusAndNotify(UpdateStatus::DOWNLOADING); in BytesReceived()
651 assert(status_ == UpdateStatus::VERIFYING); in OnVerifyProgressUpdate()
664 if (status_ == UpdateStatus::IDLE) { in TerminateUpdateAndNotify()
669 if (status_ == UpdateStatus::CLEANUP_PREVIOUS_UPDATE) { in TerminateUpdateAndNotify()
671 SetStatusAndNotify(UpdateStatus::IDLE); in TerminateUpdateAndNotify()
680 UpdateStatus new_status = in TerminateUpdateAndNotify()
681 (error_code == ErrorCode::kSuccess ? UpdateStatus::UPDATED_NEED_REBOOT in TerminateUpdateAndNotify()
682 : UpdateStatus::IDLE); in TerminateUpdateAndNotify()
707 void UpdateAttempterAndroid::SetStatusAndNotify(UpdateStatus status) { in SetStatusAndNotify()
1025 SetStatusAndNotify(UpdateStatus::CLEANUP_PREVIOUS_UPDATE); in ScheduleCleanupPreviousUpdate()