/developtools/packing_tool/adapter/ohos/ |
H A D | CompressEntrance.java | 29 private static final String HAP_SUFFIX = ".hap"; field in CompressEntrance 84 if (!hapPath.endsWith(HAP_SUFFIX)) { in getHapSha256()
|
H A D | Constants.java | 52 public static final String HAP_SUFFIX = ".hap"; field in Constants
|
H A D | CompressVerify.java | 50 private static final String HAP_SUFFIX = ".hap"; field in CompressVerify 117 return isOutPathValid(utility, HAP_SUFFIX); in commandPathVerify() 403 return isOutPathValid(utility, HAP_SUFFIX); in isVerifyValidInHapMode() 486 && !compatibleProcess(utility, utility.getHapPath(), utility.getFormattedHapPathList(), HAP_SUFFIX)) { in isVerifyValidInAppMode() 541 compatibleProcess(utility, utility.getHapPath(), tmpHapPathList, HAP_SUFFIX); in checkBundleTypeConsistency() 604 if (!compatibleProcess(utility, utility.getHapList(), utility.getFormattedHapList(), HAP_SUFFIX)) { in isVerifyValidInMultiAppMode() 766 fileItem.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in handleHapAndHspInput() 777 !isPathValid(formattedPathItem, TYPE_FILE, HAP_SUFFIX)) { in handleHapAndHspInput() 814 if (HAP_SUFFIX.equals(suffix)) { in isOutPathValid() 815 if (!outFile.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in isOutPathValid() [all...] |
H A D | UncompressVerify.java | 26 private static final String HAP_SUFFIX = ".hap"; field in UncompressVerify 81 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in hapCommandVerify()
|
H A D | Uncompress.java | 49 private static final String HAP_SUFFIX = ".hap"; field in Uncompress 207 if (!hapName.toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressHapAndHspFromAppPath() 209 hapName += HAP_SUFFIX; in uncompressHapAndHspFromAppPath() 260 if (entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressAllAppByPath() 317 if (!fileName.toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressHapFromAppStream() 319 hapFile += HAP_SUFFIX; in uncompressHapFromAppStream() 360 if (entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressAllFromAppStream() 465 file = File.createTempFile(HAP_PREFIX, HAP_SUFFIX, directory); in uncompressHapByBigStream() 536 && (HAP_SUFFIX.equals(suffix) || HSP_SUFFIX.equals(suffix))) { in unzipFromFile() 561 if (HAP_SUFFIX in unzipFromFile() [all...] |
H A D | UncompressEntrance.java | 90 private static final String HAP_SUFFIX = ".hap"; field in UncompressEntrance 370 if (!UncompressVerify.isPathValid(utility.getHapPath(), true, HAP_SUFFIX) && in parseHap()
|
H A D | Compressor.java | 75 private static final String HAP_SUFFIX = ".hap"; field in Compressor 1563 if (utility.getHapPath().endsWith(HAP_SUFFIX)) { in compressHapAddition() 1653 if (!zipEntry.getName().endsWith(HAP_SUFFIX) && !zipEntry.getName().endsWith(HSP_SUFFIX)) { in copyHapAndHspFromApp() 2485 if (!hapPath.toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in isModuleHap() 2882 if (!fileStr.toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in checkHapIsValid() 3356 if (zipFilePath.endsWith(HAP_SUFFIX)) { in compressDirToHap()
|
H A D | PackageUtil.java | 382 String suffix = moduleJsonInfo.isShared() ? Constants.HSP_SUFFIX : Constants.HAP_SUFFIX; in packDir()
|
/developtools/packing_tool/packing_tool/frameworks/src/json/ |
H A D | module_json_utils.cpp | 35 const std::string HAP_SUFFIX = ".hap"; member 143 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
|
/developtools/packing_tool/packing_tool/frameworks/test/unittest/app_packager_test/mock/ |
H A D | mock_module_json_utils.cpp | 50 const std::string HAP_SUFFIX = ".hap"; member 182 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
|
/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | app_packager.cpp | 77 Packager::CompatibleProcess(hapPath, tmpHapPathList, Constants::HAP_SUFFIX); in CheckBundleTypeConsistency() 171 if (CompatibleProcess(hapPath, tmpHapPathList, Constants::HAP_SUFFIX) in IsAppService() 247 if (!hapPath.empty() && !CompatibleProcess(hapPath, formattedHapPathList_, Constants::HAP_SUFFIX)) { in GetAndCheckHapPathAndHspPath()
|
H A D | packager.cpp | 212 if (suffix == Constants::HAP_SUFFIX) { in IsOutPathValid() 213 if (!Utils::EndsWith(filePath.filename().string(), Constants::HAP_SUFFIX)) { in IsOutPathValid() 378 if (!Utils::EndsWith(hapPath, Constants::HAP_SUFFIX)) { in IsModuleHap()
|
H A D | version_normalize.cpp | 52 if (!CompatibleProcess(it->second, hspOrhapList_, Constants::HAP_SUFFIX, Constants::HSP_SUFFIX)) { in PreProcess() 209 if (Utils::EndsWith(zipFilePath, Constants::HAP_SUFFIX)) { in CompressDirToHap()
|
H A D | multiapp_packager.cpp | 118 if (!CompatibleProcess(hapListStr, formattedHapAndHspList_, Constants::HAP_SUFFIX)) { in GetAndCheckHapAndHspAndAppListStr() 180 if (!Utils::EndsWith(entry.path().filename(), Constants::HAP_SUFFIX) && in CopyHapAndHspFromApp()
|
H A D | hap_packager.cpp | 63 return IsOutPathValid(outPath, forceRewrite, Constants::HAP_SUFFIX); in PreProcess() 211 return IsOutPathValid(outPath, forceRewrite, Constants::HAP_SUFFIX); in IsVerifyValidInHapMode()
|
H A D | fast_app_packager.cpp | 607 std::string suffix = moudleType == Constants::TYPE_SHARED ? Constants::HSP_SUFFIX : Constants::HAP_SUFFIX; in PackDir()
|
/developtools/packing_tool/ohos_packing_tool/frameworks/include/ |
H A D | constants.h | 88 const std::string HAP_SUFFIX = ".hap"; member
|
/developtools/packing_tool/packing_tool/frameworks/include/ |
H A D | constants.h | 137 const std::string HAP_SUFFIX = ".hap"; member
|