Lines Matching refs:status
172 int32_t DownloadThread::DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error)
181 if (downloadProgress_.status == status && downloadProgress_.percent == percent) {
185 ENGINE_LOGI("DownloadCallback percent %d, status %d, exitDownload_ %d, error %s, downloadFileName_ %s",
186 percent, CAST_INT(status), exitDownload_ ? 1 : 0, error.c_str(), downloadFileName_.c_str());
187 if (status == UpgradeStatus::DOWNLOAD_FAIL) {
198 && status == UpgradeStatus::DOWNLOADING) {
203 downloadProgress_.status = status;
250 downloadProgress_.status = isNoNet_ ? UpgradeStatus::DOWNLOAD_FAIL : UpgradeStatus::DOWNLOAD_CANCEL;