Home
last modified time | relevance | path

Searched refs:PACK_INFO (Results 1 - 16 of 16) sorted by relevance

/developtools/packing_tool/adapter/ohos/
H A DPackageNormalize.java52 private static final String PACK_INFO = "pack.info"; field in PackageNormalize
88 Path packInfo = Files.createFile(tmpDir.resolve(PACK_INFO)); in normalize()
99 ZipEntry packEntry = hspFile.getEntry(PACK_INFO); in normalize()
192 if (MODULE_JSON.equals(zipEntry.getName()) || PACK_INFO.equals(zipEntry.getName())) { in copyHsp()
205 compressFile(packInfo, isStored, PACK_INFO, zipOut); in copyHsp()
H A DUncompress.java53 private static final String PACK_INFO = "pack.info"; field in Uncompress
181 compressResult = uncompress(utility.getDeviceType(), srcPath, PACK_INFO); in uncompressAppByPath()
253 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllAppByPath()
296 compressResult = uncompressByInput(utility.getDeviceType(), input, PACK_INFO, ""); in uncompressAppByInput()
352 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllFromAppStream()
537 List<PackInfo> packInfos = uncompress(utility.getDeviceType(), srcPath, PACK_INFO).getPackInfos(); in unzipFromFile()
746 hapZipInfo.setPackInfoJsonStr(FileUtils.getFileStringFromZip(PACK_INFO, zipFile)); in unZipHapFileFromHapFile()
1292 return PACK_INFO.equals(fileName); in isPackInfo()
1311 hapZipInfo.setPackInfoJsonStr(FileUtils.getFileStringFromZip(PACK_INFO, zipFile)); in unZipModuleHapFile()
H A DCompressVerify.java48 private static final String PACK_INFO = "pack.info"; field in CompressVerify
257 if (!PACK_INFO.equals(file.getName())) { in isValidPackInfo()
503 if (!file.isFile() || !PACK_INFO.equals(file.getName())) { in isVerifyValidInAppMode()
642 if (!isPathValid(utility.getPackInfoPath(), TYPE_FILE, PACK_INFO)) { in isVerifyValidInResMode()
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dfast_app_packager.cpp157 if (!IsPathValid(packInfoPath_, true, Constants::PACK_INFO)) { in IsVerifyValid()
250 if (!fs::exists(path / fs::path(Constants::PACK_INFO))) { in ModuleJsonAndPackInfoExists()
262 if (!fs::exists(path / fs::path(Constants::PACK_INFO))) { in ModuleJsonAndPackInfoExists()
457 if (filename == Constants::PACK_INFO) { in GetPackInfoContentFromPath()
461 if (!ZipUtils::GetFileContentFromZip(path, Constants::PACK_INFO, fileContent)) { in GetPackInfoContentFromPath()
468 return ReadFileToString(path / fs::path(Constants::PACK_INFO)); in GetPackInfoContentFromPath()
589 if (!GetPackageNameFromPath(inputPath / fs::path(Constants::PACK_INFO), packageNames)) { in PackDir()
667 if (zipWrapper_.AddFileOrDirectoryToZip(packInfoPath_, Constants::PACK_INFO) != ZipErrCode::ZIP_ERR_SUCCESS) { in PackFastApp()
813 if (fs::is_regular_file(entry) && entry.filename().string() != Constants::PACK_INFO) { in AddOtherFileToZip()
859 if (entry.path().filename() == Constants::PACK_INFO) { in UzipHspAndRemovePackInfo()
[all...]
H A Dmultiapp_packager.cpp245 std::string packInfoStr = GetJsonInZips(appPath, Constants::PACK_INFO); in SelectHapInApp()
292 std::string packInfo = GetJsonInZips(hapFile, Constants::PACK_INFO); in DisposeHapAndHsp()
359 finalPackInfoPath = tempSelectedHapDirPath.string() + "/" + Constants::PACK_INFO; in PrepareFilesForCompression()
401 if (zipWrapper_.AddFileOrDirectoryToZip(finalPackInfoPath, Constants::PACK_INFO) != ZipErrCode::ZIP_ERR_SUCCESS) { in CompressAppModeForMultiProject()
H A Dres_packager.cpp76 if (fs::path(packInfoPath_).filename().string() != Constants::PACK_INFO) { in IsVerifyValidInResMode()
H A Dversion_normalize.cpp203 } else if (fileName == Constants::PACK_INFO) { in CompressDirToHap()
228 std::string packInfoPath = tempPath + Constants::LINUX_FILE_SEPARATOR + Constants::PACK_INFO; in ProcessJsonFiles()
H A Dpackage_normalize.cpp133 std::string packInfoPath = tempPath + Constants::LINUX_FILE_SEPARATOR + Constants::PACK_INFO; in Process()
H A Dhap_packager.cpp241 if (fs::path(filePath).filename().string() != Constants::PACK_INFO) { in IsValidPackInfo()
389 {Constants::PARAM_PACK_INFO_PATH, Constants::PACK_INFO} in CompressHapModeForModule()
428 {Constants::PARAM_PACK_INFO_PATH, Constants::PACK_INFO}, in CompressHapMode()
H A Dapp_packager.cpp269 if (!fs::is_regular_file(packInfoPath) || fs::path(packInfoPath).filename() != Constants::PACK_INFO) { in GetAndCheckPackInfoPath()
485 if (zipWrapper_.AddFileOrDirectoryToZip(it->second, Constants::PACK_INFO) != ZipErrCode::ZIP_ERR_SUCCESS) { in CompressOtherFiles()
H A Dpackager.cpp395 if (entry.path().filename() == Constants::PACK_INFO) { in CompressPackinfoIntoHap()
405 std::string destFilePath = unzipPathString + fs::path::preferred_separator + Constants::PACK_INFO; in CompressPackinfoIntoHap()
H A Dhsp_packager.cpp375 if (!AddCommonFileOrDirectoryToZip(Constants::PARAM_PACK_INFO_PATH, Constants::PACK_INFO)) { in CompressHspModePartFourth()
/developtools/packing_tool/ohos_packing_tool/frameworks/src/
H A Dhap_packager.cpp80 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PACK_INFO), fi); in Process()
H A Dhsp_packager.cpp70 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PACK_INFO), fi); in Process()
/developtools/packing_tool/ohos_packing_tool/frameworks/include/
H A Dconstants.h82 const std::string PACK_INFO = "pack.info"; member
/developtools/packing_tool/packing_tool/frameworks/include/
H A Dconstants.h115 const std::string PACK_INFO = "pack.info"; member

Completed in 13 milliseconds