/base/update/updateservice/engine/src/ |
D | progress_thread.cpp | 141 downloadProgress_.percent = 0; in ProcessThreadExecute() 159 int32_t DownloadThread::DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string … in DownloadCallback() argument 169 } else if (percent != DOWNLOAD_FINISH_PERCENT in DownloadCallback() 170 && (percent < (downloadProgress_.percent + DOWNLOAD_PERIOD_PERCENT))) { in DownloadCallback() 175 if (percent == DOWNLOAD_FINISH_PERCENT in DownloadCallback() 180 downloadProgress_.percent = percent; in DownloadCallback() 195 unsigned int percent = (dlNow + curr) / (curr + dlTotal) * DOWNLOAD_FINISH_PERCENT; in DownloadProgress() local 196 return engine->DownloadCallback(percent, UPDATE_STATE_DOWNLOAD_ON, ""); in DownloadProgress()
|
D | update_service.cpp | 179 progress0.percent = DOWNLOAD_FINISH_PERCENT; in DownloadVersion() 202 progress.percent = 1; in DoUpdate() 213 progress.percent = DOWNLOAD_FINISH_PERCENT; in DoUpdate() 248 downloadProgress.percent = progress.percent; in DownloadCallback() 255 ENGINE_LOGI("DownloadCallback status %d %d", progress.status, progress.percent); in DownloadCallback() 277 ENGINE_LOGE("UpgradeCallback status %d %d", progress.status, progress.percent); in UpgradeCallback()
|
D | update_helper.cpp | 150 info.percent = static_cast<uint32_t>(reply.ReadUint32()); in ReadUpdateProgress() 158 data.WriteUint32(info.percent); in WriteUpdateProgress()
|
/base/update/app/entry/src/main/js/default/pages/index/ |
D | index.js | 92 let percent = progress.percent; 93 if (progress.percent > 5) { 94 percent = progress.percent - 5; 95 }else if(progress.percent>90){ 96 percent = 90; 98 page.data.width = percent + '%'; 99 if (progress.percent == 100) { 215 page.data.width = progress.percent + '%';
|
D | index.css | 25 .percent{
|
/base/update/updateservice/callback/src/ |
D | update_callback.cpp | 43 ENGINE_LOGI("OnDownloadProgress progress %u %d", progress.percent, progress.status); in OnDownloadProgress() 48 ENGINE_LOGI("OnUpgradeProgress progress %u %d", progress.percent, progress.status); in OnUpgradeProgress()
|
/base/update/updateservice/test/unittest/update_client/ |
D | client_unittest.cpp | 159 info.percent = PERCENT_20; in TestDownloadVersion() 163 info.percent = PERCENT_40; in TestDownloadVersion() 167 info.percent = PERCENT_60; in TestDownloadVersion() 171 info.percent = PERCENT_100; in TestDownloadVersion() 196 info.percent = PERCENT_20; in TestUpgradeVersion() 200 info.percent = PERCENT_40; in TestUpgradeVersion() 204 info.percent = PERCENT_60; in TestUpgradeVersion() 208 info.percent = PERCENT_100; in TestUpgradeVersion() 360 info.percent = PERCENT_20; in TestSubscribeEvent() 364 info.percent = PERCENT_40; in TestSubscribeEvent() [all …]
|
D | client_stub.cpp | 351 testEnv->progress.percent = testValue->intValue; in napi_set_named_property()
|
/base/update/updateservice/client/ |
D | update_client.cpp | 425 [&](int32_t result, uint32_t percent) { NotifyVerifyProgresss(result, percent); }); in VerifyUpdatePackage() argument 627 res->result.progress->percent = result.result.progress->percent; in Emit() 659 CLIENT_LOGI("NotifyDownloadProgress status %d %d", progress.status, progress.percent); in NotifyDownloadProgress() 660 … if (progress.percent == PROGRESS_DOWNLOAD_FINISH && progress.status == UPDATE_STATE_DOWNLOAD_ON) { in NotifyDownloadProgress() 663 progress_.percent = progress.percent; in NotifyDownloadProgress() 677 CLIENT_LOGI("NotifyUpgradeProgresss status %d %d", progress.status, progress.percent); in NotifyUpgradeProgresss() 678 progress_.percent = progress.percent; in NotifyUpgradeProgresss() 689 void UpdateClient::NotifyVerifyProgresss(int32_t retCode, uint32_t percent) in NotifyVerifyProgresss() argument 692 verifyProgress_.percent = percent; in NotifyVerifyProgresss() 885 ret |= SetInt32(env, obj, "percent", result.result.progress->percent); in BuildProgress()
|
D | update_client.h | 145 void NotifyVerifyProgresss(int32_t retCode, uint32_t percent);
|
/base/update/updater/interfaces/kits/include/package/ |
D | package.h | 148 std::function<void(int32_t result, uint32_t percent)> cb);
|
/base/update/updateservice/interfaces/innerkits/engine/ |
D | update_service_kits_impl.cpp | 113 ENGINE_LOGE("OnDownloadProgress progress %u %d", progress.percent, progress.status); in OnDownloadProgress() 121 ENGINE_LOGE("OnUpgradeProgress progress %u %d", progress.percent, progress.status); in OnUpgradeProgress()
|
/base/update/updateservice/engine/include/ |
D | progress_thread.h | 95 int32_t DownloadCallback(uint32_t percent, UpgradeStatus status, const std::string &error);
|
/base/global/i18n_lite/frameworks/i18n/include/ |
D | number_data.h | 60 char *percent = nullptr; variable
|
/base/update/updateservice/interfaces/kits/js/declaration/ |
D | @ohos.update.d.ts | 220 percent: number; property
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | number_data.cpp | 94 percent = I18nNewCharString(tdp, strlen(tdp)); in InitSign() 263 I18nFree((void *)percent); in ~NumberData()
|
D | number_format_impl.cpp | 36 off = ReplaceAndCountOff(strContent, i + off, data->percent, off); in ConvertSignAndNum()
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 180 [](int32_t result, uint32_t percent) {}); in VerifyPackage() argument 186 const std::string &keyPath, std::function<void(int32_t result, uint32_t percent)> cb) in VerifyPackageWithCallback()
|
/base/update/updateservice/interfaces/innerkits/include/ |
D | update_helper.h | 105 uint32_t percent; member
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
D | Fetcher.java | 390 String percent = decimalFormatSymbols.getPercentString(); in getNumberFormat() local 402 sb.append(convertNoAscii(percent)); in getNumberFormat()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 224 using VerifyCallback = std::function<void(int32_t result, uint32_t percent)>;
|
/base/update/updater/test/unittest/package/ |
D | package_unittest.cpp | 251 [](int32_t result, uint32_t percent) { PKG_LOGI("current progress: %u\n", percent); }); in TestVerifyZipWithCallback() argument
|
/base/global/i18n_standard/frameworks/intl/src/ |
D | number_format.cpp | 106 numberFormat = numberFormat.unit(icu::NoUnit::percent()); in InitProperties()
|
/base/hiviewdfx/blackbox/ |
D | LICENSE | 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/base/customization/enterprise_device_management/ |
D | LICENSE | 21 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|