Searched refs:PKG_TYPE_UPGRADE (Results 1 – 8 of 8) sorted by relevance
294 if (pkgType == PkgFile::PKG_TYPE_UPGRADE) { in LoadPackage()312 if (pkgType == PkgFile::PKG_TYPE_NONE || (pkgType == PkgFile::PKG_TYPE_UPGRADE in LoadPackage()351 if (unzipToFile_ || type == PkgFile::PKG_TYPE_UPGRADE) { in ExtraAndLoadPackage()444 if (pkgFile != nullptr && pkgFile->GetPkgType() == PkgFile::PKG_TYPE_UPGRADE) { in ParseComponents()455 if (pkgFile != nullptr && pkgFile->GetPkgType() == PkgFile::PKG_TYPE_UPGRADE) { in GetPackageInfo()667 return PkgFile::PKG_TYPE_UPGRADE; in DoCreatePkgStream()688 if (type != PkgFile::PKG_TYPE_UPGRADE) { in DoCreatePkgStream()
1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
47 case PKG_TYPE_UPGRADE: in AddPkgEntry()
101 : PkgFileImpl(manager, stream, PkgFile::PKG_TYPE_UPGRADE) in UpgradePkgFile()
674 pkgInfo_.pkgInfo.pkgType = PkgFile::PKG_TYPE_UPGRADE; in ParsePkgHeaderToTlv()
109 updateInfo_.componentNames, PkgFile::PKG_TYPE_UPGRADE, stream); ret != PKG_SUCCESS) { in UpdateBinHead()
215 innerFileNames, PkgFile::PKG_TYPE_UPGRADE, stream); in ProcessBinFile()
114 PKG_TYPE_UPGRADE = PKG_PACK_TYPE_UPGRADE, // 升级包 enumerator