Home
last modified time | relevance | path

Searched refs:downloadProgress (Results 1 – 6 of 6) sorted by relevance

/base/update/updateservice/interfaces/innerkits/engine/
Dupdate_service_kits_impl.cpp87 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()
/base/update/updateservice/engine/src/
Dupdate_service.cpp242 Progress downloadProgress {}; in DownloadCallback() local
248 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()
/base/update/updateservice/interfaces/innerkits/include/
Dupdate_helper.h139 DownloadProgress downloadProgress; member
/base/update/updateservice/
DREADME_zh.md120 updater.on("downloadProgress", progress => {
DREADME.md120 updater.on("downloadProgress", progress => {
/base/update/updateservice/test/unittest/update_engine/
Dserver_unittest.cpp645 Progress downloadProgress {}; variable
649 updateServer->VerifyDownloadPkg(path, downloadProgress);