Lines Matching defs:Compressor
74 public class Compressor {
181 private static final Log LOG = new Log(Compressor.class.toString());
351 LOG.error("Compressor::compressProcess create out file parent directory failed.");
366 LOG.error("Compressor::compressProcess file not found exception: " + exception.getMessage());
369 LOG.error("Compressor::compressProcess Bundle exception: " + ex.getMessage());
379 LOG.error("Compressor::compressProcess check atomic service size fail.");
384 LOG.error("Compressor::compressProcess compress failed.");
386 LOG.error("Compressor::compressProcess delete dest file failed.");
497 LOG.error("Compressor::hasGenerateBuildHash failed for json file not exist");
498 throw new BundleException("Compressor::hasGenerateBuildHash failed for json file not exist");
515 LOG.error("Compressor::hasGenerateBuildHash failed.");
516 throw new BundleException("Compressor::hasGenerateBuildHash failed.");
518 LOG.error("Compressor::hasGenerateBuildHash failed for json file is invalid." + e.getMessage());
519 throw new BundleException("Compressor::hasGenerateBuildHash failed.");
534 LOG.error("Compressor::setGenerateBuildHash failed for json file not exist");
535 throw new BundleException("Compressor::setGenerateBuildHash failed for json file not exist");
564 LOG.error("Compressor::setGenerateBuildHash failed.");
565 throw new BundleException("Compressor::setGenerateBuildHash failed.");
567 LOG.error("Compressor::setGenerateBuildHash failed, json data err: " + e.getMessage());
568 throw new BundleException("Compressor::setGenerateBuildHash failed, json data err.");
576 LOG.error("Compressor::setGenerateBuildHash failed for IOException " + e.getMessage());
577 throw new BundleException("Compressor::setGenerateBuildHash failed.");
587 LOG.error("Compressor::copyFileToTempDir failed for json file not found.");
588 throw new BundleException("Compressor::copyFileToTempDir failed for json file not found.");
610 LOG.error("Compressor::copyFileToTempDir failed, IOException: " + e.getMessage());
611 throw new BundleException("Compressor::copyFileToTempDir failed.");
631 LOG.error("Compressor::putBuildHash failed, " + e.getMessage());
632 throw new BundleException("Compressor::putBuildHash failed.");
649 LOG.error("Compressor::checkSum failed, IOException or NoSuchAlgorithmException: " + e.getMessage());
650 throw new BundleException("Compressor::checkSum failed.");
676 LOG.error("Compressor::putBuildHash failed for json file not exist");
677 throw new BundleException("Compressor::putBuildHash failed for json file not exist");
691 LOG.error("Compressor::putBuildHash failed, IOException: " + e.getMessage());
692 throw new BundleException("Compressor::putBuildHash failed.");
694 LOG.error("Compressor::putBuildHash failed, json data err: " + e.getMessage());
695 throw new BundleException("Compressor::putBuildHash failed, json data err.");
725 LOG.error("Compressor::checkAppAtomicServiceCompressedSizeValid no hapVerifyInfo.");
740 LOG.error("Compressor::checkAppAtomicServiceCompressedSizeValid file not found exception: " + exception.getMessage());
743 LOG.error("Compressor::checkAppAtomicServiceCompressedSizeValid Bundle exception.");
1195 LOG.error("Compressor::compressAppMode compress pack.info into hap failed: " + e.getMessage());
1196 throw new BundleException("Compressor::compressAppMode compress pack.info into hap failed.");
1212 LOG.error("Compressor::compressAppMode compress pack.info into hsp failed: " + e.getMessage());
1213 throw new BundleException("Compressor::compressAppMode compress pack.info into hsp failed.");
1218 LOG.error("Compressor::compressFile verify failed, check version, " +
1220 throw new BundleException("Compressor::compressFile verify failed, check version, " +
1249 LOG.error("Compressor::compressAppMode compress failed. msg: " + e.getMessage());
1250 throw new BundleException("Compressor::compressAppMode compress failed.");
1284 String msg = "Compressor::checkHapIsValid verify failed, check version, " +
1292 LOG.error("Compressor::compressAppMode compress failed: " + ex.getMessage());
1293 throw new BundleException("Compressor::compressAppMode compress failed.");
1371 String errMsg = "Compressor::compressAppModeForMultiProject There are some " +
1383 String errMsg = "Compressor::compressAppModeForMultiProject file failed: " + exception.getMessage();
1405 LOG.error("Compressor::hapAddition create out file parent directory failed.");
1422 LOG.error("Compressor::HapAddition hapFile not found exception" + exception.getMessage());
1544 LOG.error("Compressor::compressHapAddition create target file parent directory failed.");
1550 String errMsg = "Compressor::compressHapAddition generate addition.json file failed, " + e.getMessage();
1559 String errMsg = "Compressor::compressHapAddition setUtilityParameter failed.";
1568 String errMsg = "Compressor::compressHapAddition compressFile failed.";
1595 String errMsg = "Compressor:disposeApp disposeApp failed.";
1617 String errorMsg = "Compressor:selectHapInApp failed, app has no pack.info.";
1658 LOG.error("Compressor::copyHapFromApp file duplicated, file is " + zipEntry.getName() + ".");
1659 throw new BundleException("Compressor::copyHapFromApp file duplicated, file is "
1678 String errMsg = "Compressor:copyHapFromApp app path not found.";
1725 LOG.error("Compressor::disposeHap file duplicated, file is " + new File(hapPath).getName() + ".");
1726 throw new BundleException("Compressor::disposeHap file duplicated, file is "
1736 String errMsg = "Compressor::disposeHap failed, hap has no pack.info.";
1762 String errMsg = "Compressor:writePackInfo failed.";
1816 LOG.error("Compressor::compressPackinfoIntoHap io exception.");
1817 throw new BundleException("Compressor::compressPackinfoIntoHap io exception.");
1862 LOG.error("Compressor::compressPackResMode the hap file path is invalid, length: "
1868 LOG.error("Compressor::compressProcess compress failed third level directory name: "
1875 LOG.error("Compressor::compressProcess Compress pack.res failed, Invalid resource file" +
1886 LOG.error("Compressor::compressProcess compress failed No image in PNG format is found.");
1894 LOG.error("Compressor::compressProcess compress failed entryCard " + formName
1982 LOG.error("Compressor::compressProcess language " + language + " is not in ISO 639-1 list.");
1990 LOG.error("Compressor::compressProcess script " + script + " is not in ISO 15924 list.");
1998 LOG.error("Compressor::compressProcess country " + country + " is not in ISO 3166-1 list.");
2006 LOG.error("Compressor::compressProcess orientation " + orientation +
2015 LOG.error("Compressor::compressProcess deviceType " + deviceType +
2024 LOG.error("Compressor::compressProcess screenDensity " + screenDensity +
2033 LOG.error("Compressor::compressProcess colorMode " + colorMode +
2045 LOG.error("Compressor::compressProcess " + tmp +
2054 LOG.error("Compressor::compressProcess shape" + shape + " is not in {circle} list.");
2216 String errMsg = "Compressor::compressNativeLibsParallel exception: " + e.getMessage();
2240 LOG.error("Compressor::compressNativeLibsParallel exception: " + e.getMessage());
2355 LOG.error("Compressor::compressFile file not found exception.");
2357 LOG.error("Compressor::compressFile io exception: " + exception.getMessage());
2359 LOG.error("Compressor::compressFile bundle exception" + bundleException.getMessage());
2469 LOG.error("Compressor::compressFile io exception: " + exception.getMessage());
2501 LOG.error("Compressor::isModuleHap io exception: " + exception.getMessage());
2502 throw new BundleException("Compressor::isModuleHap failed.");
2531 LOG.error("Compressor::getCrcFromFile FileNotFoundException : " + ignored.getMessage());
2534 LOG.error("Compressor::getCrcFromFile io exception: " + exception.getMessage());
2550 LOG.error("Compressor::infoSpecialJsonFileProcess form name is empty.");
2557 LOG.error("Compressor::infoSpecialJsonFileProcess json Path: " + jsonPath +
2589 LOG.error("Compressor::jsonSpecialProcess io exception: " + exception.getMessage());
2659 LOG.error("Compressor::jsonSpecialProcess io exception: " + exception.getMessage());
2692 LOG.error("Compressor::parseModuleName io exception: " + exception.getMessage());
2722 LOG.error("Compressor::parseModuleName io exception: " + exception.getMessage());
2739 LOG.error("Compressor::getModuleNameFromString field the json is not standard.");
2745 LOG.error("Compressor::getModuleNameFromString field module-name is empty.");
2754 LOG.error("Compressor::parseModuleName field module-name is fault: " + exception.getMessage());
2770 LOG.error("Compressor::getModuleNameFromString field the json is not standard.");
2777 LOG.error("Compressor::getModuleNameFromString field module-name is empty.");
2782 LOG.error("Compressor::parseModuleName field module-name is fault: " + exception.getMessage());
2799 LOG.error("Compressor::parseCompressNativeLibs io exception: " + exception.getMessage());
2813 LOG.error("Compressor::closeZipOutputStream flush exception " + exception.getMessage());
2820 LOG.error("Compressor::closeZipOutputStream close entry io exception " + exception.getMessage());
2827 LOG.error("Compressor::closeZipOutputStream finish exception " + exception.getMessage());
2856 LOG.error("Compressor::parseDeviceType io exception: " + exception.getMessage());
2873 LOG.error("Compressor::checkHapIsValid input wrong hap file.");
2874 throw new BundleException("Compressor::checkHapIsValid input wrong hap file.");
2879 LOG.error("Compressor::checkHapIsValid get file name failed.");
2880 throw new BundleException("Compressor::checkHapIsValid get file name failed.");
2884 LOG.error("Compressor::checkHapIsValid input wrong hap file.");
2885 throw new BundleException("Compressor::checkHapIsValid input wrong hap file.");
2910 LOG.error("Compressor::checkHapIsValid only one item can be entered in the -hsp-path" +
3299 LOG.error("Compressor::writeJson failed for IOException " + exception.getMessage());
3300 throw new BundleException("Compressor::writeJson failed for IOException");
3511 LOG.info("Compressor::packEncryptJsonFile has no encrypt.json");