Lines Matching refs:DownloadThread
93 int32_t DownloadThread::StartDownload(const std::string &fileName, const std::string &url)
103 void DownloadThread::StopDownload()
111 bool DownloadThread::ProcessThreadExecute()
159 void DownloadThread::ProcessThreadExit()
172 int32_t DownloadThread::DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error)
210 int32_t DownloadThread::DownloadProgress(const void *localData,
214 auto engine = reinterpret_cast<DownloadThread*>(const_cast<void*>(localData));
221 size_t DownloadThread::WriteFunc(void *ptr, size_t size, size_t nmemb, const void *stream)
226 size_t DownloadThread::GetLocalFileLength(const std::string &fileName)
242 bool DownloadThread::DealAbnormal(uint32_t percent)
262 FILE* DownloadThread::FileOpen(const std::string &fileName, const std::string &mode)
265 ENGINE_LOGI("DownloadThread file is empty or exceed path_max");
273 ENGINE_LOGI("DownloadThread file %{public}s, mode: %{public}s", fileName.c_str(), mode.c_str());
279 ENGINE_LOGI("DownloadThread file %{public}s, mode: %{public}s", fileName.c_str(), mode.c_str());