Searched refs:downloadProgress (Results 1 – 6 of 6) sorted by relevance
87 updateCallback_.downloadProgress = cb.downloadProgress; in RemoteUpdateCallback()94 updateCallback_.downloadProgress = nullptr; in ~RemoteUpdateCallback()114 if (updateCallback_.downloadProgress != nullptr) { in OnDownloadProgress()115 updateCallback_.downloadProgress(progress); in OnDownloadProgress()
242 Progress downloadProgress {}; in DownloadCallback() local248 downloadProgress.percent = progress.percent; in DownloadCallback()249 downloadProgress.status = progress.status; in DownloadCallback()250 downloadProgress.endReason = progress.endReason; in DownloadCallback()261 downloadProgress.status = UPDATE_STATE_DOWNLOAD_FAIL; in DownloadCallback()262 } else if (!VerifyDownloadPkg(updateContext_.upgradeFile, downloadProgress)) { in DownloadCallback()265 downloadProgress.status = UPDATE_STATE_VERIFY_FAIL; in DownloadCallback()270 updateCallback_->OnDownloadProgress(downloadProgress); in DownloadCallback()
139 DownloadProgress downloadProgress; member
120 updater.on("downloadProgress", progress => {
645 Progress downloadProgress {}; variable649 updateServer->VerifyDownloadPkg(path, downloadProgress);