Home
last modified time | relevance | path

Searched refs:upParams (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/
Dupdater_main.cpp153 static UpdaterStatus VerifyPackages(const UpdaterParams &upParams) in VerifyPackages() argument
160 for (unsigned int i = upParams.pkgLocation; i < upParams.updatePackage.size(); i++) { in VerifyPackages()
161 LOG(INFO) << "Verify package:" << upParams.updatePackage[i]; in VerifyPackages()
163 int32_t verifyret = OtaUpdatePreCheck(manager, upParams.updatePackage[i]); in VerifyPackages()
209 UpdaterParams upParams { in UpdaterFromSdcard() local
213 if (VerifyPackages(upParams) != UPDATE_SUCCESS) { in UpdaterFromSdcard()
217 upParams.initialProgress += VERIFY_PERCENT; in UpdaterFromSdcard()
220 …INFO) << "UpdaterFromSdcard start, sdcard updaterPath : " << upParams.updatePackage[upParams.pkgLo… in UpdaterFromSdcard()
222 UpdaterStatus updateRet = DoInstallUpdaterPackage(pkgManager, upParams, SDCARD_UPDATE); in UpdaterFromSdcard()
288 static UpdaterStatus InstallUpdaterPackage(UpdaterParams &upParams, PkgManager::PkgManagerPtr manag… in InstallUpdaterPackage() argument
[all …]
Dupdater.cpp188 UpdaterStatus DoInstallUpdaterPackage(PkgManager::PkgManagerPtr pkgManager, UpdaterParams &upParams, in DoInstallUpdaterPackage() argument
193 UPDATER_UI_INSTANCE.ShowProgress(upParams.initialProgress * FULL_PERCENT_PROGRESS); in DoInstallUpdaterPackage()
201 if (upParams.retryCount > 0) { in DoInstallUpdaterPackage()
202 LOG(INFO) << "Retry for " << upParams.retryCount << " time(s)"; in DoInstallUpdaterPackage()
206 …int32_t verifyret = GetUpdatePackageInfo(pkgManager, upParams.updatePackage[upParams.pkgLocation]); in DoInstallUpdaterPackage()
223 UpdaterStatus updateRet = StartUpdaterProc(pkgManager, upParams, maxTemperature); in DoInstallUpdaterPackage()
233 void SetProgress(const std::vector<std::string> &output, UpdaterParams &upParams) in SetProgress() argument
251 upParams.currentPercentage + upParams.initialProgress * FULL_PERCENT_PROGRESS); in SetProgress()
259 upParams.currentPercentage + upParams.initialProgress * FULL_PERCENT_PROGRESS); in SetProgress()
263 …ildOutput(const std::string &buffer, int32_t bufferLen, bool &retryUpdate, UpdaterParams &upParams) in HandleChildOutput() argument
[all …]
/base/update/sys_installer/services/ab_update/src/
Dab_update.cpp50 UpdaterParams upParams { in StartABUpdate() local
53 UpdaterStatus updateRet = DoInstallUpdaterPackage(pkgManager, upParams, HOTA_UPDATE); in StartABUpdate()
/base/update/updater/services/include/updater/
Dupdater.h56 UpdaterParams &upParams, PackageUpdateMode updateMode);
59 UpdaterParams &upParams, int &maxTemperature);