Searched refs:DownloadCallback (Results 1 - 4 of 4) sorted by relevance
/base/update/updateservice/services/engine/src/ |
H A D | progress_thread.cpp | 119 DownloadCallback(0, UpgradeStatus::DOWNLOAD_FAIL, "Failed to check file"); in ProcessThreadExecute() 123 DownloadCallback(0, UpgradeStatus::DOWNLOAD_FAIL, "Failed ot open file"); in ProcessThreadExecute() 129 DownloadCallback(0, UpgradeStatus::DOWNLOAD_FAIL, "Failed to init curl"); in ProcessThreadExecute() 148 DownloadCallback(0, UpgradeStatus::DOWNLOAD_FAIL, in ProcessThreadExecute() 154 DownloadCallback(DOWNLOAD_FINISH_PERCENT, UpgradeStatus::DOWNLOAD_SUCCESS, ""); in ProcessThreadExecute() 172 int32_t DownloadThread::DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error) in DownloadCallback() function in OHOS::UpdateEngine::DownloadThread 185 ENGINE_LOGI("DownloadCallback percent %d, status %d, exitDownload_ %d, error %s, downloadFileName_ %s", in DownloadCallback() 218 return engine->DownloadCallback(percent, UpgradeStatus::DOWNLOADING, ""); in DownloadProgress()
|
/base/update/updateservice/services/firmware/upgrade/executor/include/ |
H A D | firmware_download_executor.h | 38 void DownloadCallback(std::string serverUrl, std::string packageName, Progress progress);
|
/base/update/updateservice/services/firmware/upgrade/executor/src/ |
H A D | firmware_download_executor.cpp | 96 DownloadCallback(downloadInfo.url, downloadFileName, progress0); in PerformDownload() 102 DownloadCallback(serverUrl, fileName, progress); in PerformDownload() 122 void FirmwareDownloadExecutor::DownloadCallback(std::string serverUrl, std::string packageName, Progress progress) in DownloadCallback() function in OHOS::UpdateEngine::FirmwareDownloadExecutor 124 ENGINE_LOGD("FirmwareDownloadExecutor::DownloadCallback progress.status = %{public}d," in DownloadCallback() 140 ENGINE_LOGI("DownloadCallback status: %{public}d progress: %{public}d", progress.status, progress.percent); in DownloadCallback() 143 ENGINE_LOGI("DownloadCallback fileName %{public}s", fileName.c_str()); in DownloadCallback() 154 ENGINE_LOGI("DownloadCallback serverUrl %s, status %{public}d %{public}d", serverUrl.c_str(), in DownloadCallback()
|
/base/update/updateservice/services/engine/include/ |
H A D | progress_thread.h | 93 int32_t DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error);
|
Completed in 3 milliseconds