Home
last modified time | relevance | path

Searched refs:DownloadThread (Results 1 - 4 of 4) sorted by relevance

/base/update/updateservice/services/engine/src/
H A Dprogress_thread.cpp93 int32_t DownloadThread::StartDownload(const std::string &fileName, const std::string &url) in StartDownload()
103 void DownloadThread::StopDownload() in StopDownload()
111 bool DownloadThread::ProcessThreadExecute() in ProcessThreadExecute()
159 void DownloadThread::ProcessThreadExit() in ProcessThreadExit()
172 int32_t DownloadThread::DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error) in DownloadCallback()
210 int32_t DownloadThread::DownloadProgress(const void *localData, in DownloadProgress()
214 auto engine = reinterpret_cast<DownloadThread*>(const_cast<void*>(localData)); in DownloadProgress()
221 size_t DownloadThread::WriteFunc(void *ptr, size_t size, size_t nmemb, const void *stream) in WriteFunc()
226 size_t DownloadThread::GetLocalFileLength(const std::string &fileName) in GetLocalFileLength()
242 bool DownloadThread
[all...]
/base/update/updateservice/services/engine/include/
H A Dprogress_thread.h66 class DownloadThread : public ProgressThread { class
70 explicit DownloadThread(ProgressCallback callback) : ProgressThread(), callback_(callback) {} in DownloadThread() function in OHOS::UpdateEngine::DownloadThread
71 ~DownloadThread() override
/base/update/updateservice/services/firmware/upgrade/executor/include/
H A Dfirmware_download_executor.h47 std::shared_ptr<DownloadThread> downloadThread_ = nullptr;
/base/update/updateservice/services/firmware/upgrade/executor/src/
H A Dfirmware_download_executor.cpp91 int64_t localFileLength = static_cast<int64_t>(DownloadThread::GetLocalFileLength(downloadFileName)); in PerformDownload()
99 downloadThread_ = std::make_shared<DownloadThread>( in PerformDownload()

Completed in 2 milliseconds