/developtools/packing_tool/adapter/ohos/ |
D | CompressVerify.java | 75 private static final Log LOG = new Log(CompressVerify.class.toString()); field in CompressVerify 89 LOG.error("CompressVerify::commandVerify utility is null."); in commandVerify() 95 LOG.error("CompressVerify::commandVerify forceRewrite is invalid."); in commandVerify() 136 LOG.error("CompressVerify::commandVerify mode is invalid."); in commandPathVerify() 153 LOG.error("CompressVerify::validatePackageNormalizeMode hsp-list is empty."); in validatePackageNormalizeMode() 157 LOG.error("CompressVerify::validatePackageNormalizeMode hsp-list is invalid."); in validatePackageNormalizeMode() 162 LOG.error("CompressVerify::validatePackageNormalizeMode bundle-name is invalid."); in validatePackageNormalizeMode() 166 LOG.error("CompressVerify::validatePackageNormalizeMode version-code is invalid."); in validatePackageNormalizeMode() 170 LOG.error("CompressVerify::validatePackageNormalizeMode out-path is empty."); in validatePackageNormalizeMode() 175 LOG.error("CompressVerify::validatePackageNormalizeMode out-path is not a directory."); in validatePackageNormalizeMode() [all …]
|
D | HapVerify.java | 36 private static final Log LOG = new Log(HapVerify.class.toString()); field in HapVerify 58 LOG.error("HapVerify::checkHapIsValid hapVerifyInfos is empty"); in checkHapIsValid() 63 LOG.error("some app variable is different."); in checkHapIsValid() 72 LOG.error("packageName duplicated."); in checkHapIsValid() 81 LOG.error("module dependency is invalid."); in checkHapIsValid() 86 LOG.error("checkAtomicServiceIsValid failed."); in checkHapIsValid() 91 LOG.info("Ability name is duplicated."); in checkHapIsValid() 95 LOG.error("target module is not found."); in checkHapIsValid() 99 LOG.error("compile sdk config is not same."); in checkHapIsValid() 103 LOG.error("uris in proxy data are not unique."); in checkHapIsValid() [all …]
|
D | CompressEntrance.java | 28 private static final Log LOG = new Log(CompressEntrance.class.toString()); field in CompressEntrance 42 LOG.error("CompressEntrance::pack hapPath is invalid!"); in pack() 47 LOG.error("CompressEntrance::pack packInfoPath is invalid!"); in pack() 52 LOG.error("CompressEntrance::pack outPath is invalid!"); in pack() 64 LOG.error("CompressEntrance::startCompress verity failed"); in pack() 70 LOG.error("CompressEntrance::startCompress compress failed"); in pack() 85 LOG.error("input file is not a hap."); in getHapSha256() 100 LOG.error("CompressEntrance::main exit, parser failed"); in main() 106 LOG.error("CompressEntrance::main exit, verify failed"); in main() 113 LOG.error("CompressEntrance::main exit, compress failed"); in main() [all …]
|
D | HQFVerify.java | 25 private static final Log LOG = new Log(HQFVerify.class.toString()); field in HQFVerify 36 LOG.error("input hqf file is empty."); in checkHQFIsValid() 40 LOG.error("input hqf file has different fields in app."); in checkHQFIsValid() 44 LOG.error("input hqf file moduleName is invalid."); in checkHQFIsValid() 64 LOG.error("input hqf file has different bundleName."); in checkAppFields() 68 LOG.error("input hqf file has different versionCode."); in checkAppFields() 72 LOG.error("input hqf file has different versionName."); in checkAppFields() 76 LOG.error("input hqf file has different patchVersionCode."); in checkAppFields() 80 LOG.error("input hqf file has different patchVersionName."); in checkAppFields() 97 LOG.error("input hqf file moduleName duplicated."); in checkModuleIsValid()
|
D | UncompressVerify.java | 34 private static final Log LOG = new Log(UncompressVerify.class.toString()); field in UncompressVerify 45 LOG.error("UncompressVerify::isVerifyVaild forceRewrite is invalid!"); in commandVerify() 52 LOG.error("UncompressVerify::isVerifyVaild parseMode is invalid!"); in commandVerify() 67 LOG.error("UncompressVerify::commandVerify mode is invalid!"); in commandVerify() 82 LOG.error("UncompressVerify::isArgsValidInHapMode hap-path must end with.hap!"); in hapCommandVerify() 87 LOG.error("UncompressVerify::isArgsValidInHapMode --rpcid must be true or false"); in hapCommandVerify() 101 LOG.error("UncompressVerify::isArgsValidInHspMode hsp-path must end with.hsp!"); in hspCommandVerify() 116 LOG.error("UncompressVerify::rpcidCommandVerify outPath already exists"); in rpcidCommandVerify() 132 LOG.error("UncompressVerify::isArgsValidInHarMode har-path must end with.har!"); in harCommandVerify() 137 LOG.error("UncompressVerify::isVerifyVaild outPath is invalid!"); in harCommandVerify() [all …]
|
D | ScanVerify.java | 37 private static final Log LOG = new Log(ScanVerify.class.toString()); field in ScanVerify 47 LOG.error(ScanErrorEnum.SCAN_VERIFY_UTILITY_EMPTY_ERROR.toString()); in commandVerify() 52 LOG.error(ScanErrorEnum.SCAN_VERIFY_INPUT_EMPTY_ERROR.toString()); in commandVerify() 58 LOG.error(ScanErrorEnum.SCAN_VERIFY_INPUT_INVALID_ERROR.toString()); in commandVerify() 63 LOG.error(ScanErrorEnum.SCAN_VERIFY_OUT_PATH_EMPTY_ERROR.toString()); in commandVerify() 69 LOG.error(ScanErrorEnum.SCAN_VERIFY_STAT_FILE_SIZE_INVALID_ERROR.toString()); in commandVerify() 74 LOG.error(ScanErrorEnum.SCAN_VERIFY_STAT_FILE_SIZE_INVALID_ERROR.toString()); in commandVerify() 81 LOG.error(ScanErrorEnum.SCAN_VERIFY_STAT_PARAMETER_EMPTY_ERROR.toString()); in commandVerify()
|
D | UncompressEntrance.java | 95 private static final Log LOG = new Log(UncompressEntrance.class.toString()); field in UncompressEntrance 142 LOG.error("UncompressEntrance::unpack appPath is invalid!"); in unpack() 147 LOG.error("UncompressEntrance::unpack outPath is invalid!"); in unpack() 160 LOG.error("CompressEntrance::unpack verity failed"); in unpack() 165 LOG.error("UncompressEntrance::unpackageProcess failed"); in unpack() 183 LOG.error("UncompressEntrance::unpackHap hapPath is invalid!"); in unpackHap() 188 LOG.error("UncompressEntrance::unpackHap outPath is invalid!"); in unpackHap() 201 LOG.error("CompressEntrance::unpackHap verity failed"); in unpackHap() 206 LOG.error("UncompressEntrance::unpackageProcess failed"); in unpackHap() 239 LOG.error("UncompressEntrance::parseApp must input a app file!"); in parseApp() [all …]
|
D | Compressor.java | 173 private static final Log LOG = new Log(Compressor.class.toString()); field in Compressor 255 LOG.error("parseFileSizeLimit failed, input total-limit invalid."); in parseFileSizeLimit() 259 LOG.error("parseFileSizeLimit failed, input total-limit invalid."); in parseFileSizeLimit() 269 LOG.error("parseFileSizeLimit failed, input normal-module-limit invalid."); in parseFileSizeLimit() 273 LOG.error("parseFileSizeLimit failed, input normal-module-limit invalid."); in parseFileSizeLimit() 283 LOG.error("parseFileSizeLimit failed, input main-module-limit invalid."); in parseFileSizeLimit() 287 LOG.error("parseFileSizeLimit failed, input main-module-limit invalid."); in parseFileSizeLimit() 341 LOG.error("Compressor::compressProcess create out file parent directory failed."); in defaultProcess() 356 … LOG.error("Compressor::compressProcess file not found exception: " + exception.getMessage()); in defaultProcess() 359 LOG.error("Compressor::compressProcess Bundle exception."); in defaultProcess() [all …]
|
D | FileUtils.java | 48 private static final Log LOG = new Log(FileUtils.class.toString()); field in FileUtils 64 LOG.error("file too big."); in getFileData() 76 LOG.error("getFileData IOException error: " + exception.getMessage()); in getFileData() 111 LOG.error("getFileList: file is not exists."); in getFileList() 116 LOG.error("getFileList: no file in this file path."); in getFileList() 126 LOG.error("It's not file or directory."); in getFileList() 129 LOG.error("IOException error: " + msg.getMessage()); in getFileList() 158 LOG.error("get file content fail, msg is " + msg.getMessage()); in getFileContent() 179 LOG.error("stream close Error, msg is " + msg.getMessage()); in closeStream() 223 LOG.error("Input invalid file: " + filePath); in unzip() [all …]
|
D | ModuleJsonUtil.java | 104 private static final Log LOG = new Log(ModuleJsonUtil.class.toString()); field in ModuleJsonUtil 121 LOG.error(errMsg); in parseStageVersion() 143 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version."); in parseFaVersion() 151 …LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version name or version code."); in parseFaVersion() 210 LOG.error("ModuleJsonUtil::parseFAAPIVersion json file do not contain apiVersion."); in parseFAModuleApiVersion() 240 … LOG.error("ModuleJsonUtil:parseStageModuleName failed: json file do not contain module name."); in parseStageModuleName() 258 LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain distro."); in parseFaModuleName() 262 … LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain moduleName."); in parseFaModuleName() 281 … LOG.error("ModuleJsonUtil:parsePatchModuleName failed: json file do not contain moduleName."); in parsePatchModuleName() 302 LOG.error("ModuleJsonUtil:parseFaPackageStr failed: json file do not contain package."); in parseFaPackageStr() [all …]
|
D | ConvertHapToBin.java | 31 private static final Log LOG = new Log(ConvertHapToBin.class.toString()); field in ConvertHapToBin 42 LOG.error("hapPath or binPath is null"); in packHapTobin() 56 LOG.error("create bin file failed!"); in packHapTobin() 73 LOG.error("projectPath or binPath is null"); in packProjectTobin() 83 LOG.error("create bin file failed!"); in packProjectTobin() 96 LOG.error("param length is wrong!"); in main()
|
D | ScanEntrance.java | 28 private static final Log LOG = new Log(ScanEntrance.class.toString()); field in ScanEntrance 41 LOG.error(ScanErrorEnum.SCAN_ENTRANCE_PARSER_ERROR.toString()); in main() 47 LOG.error(ScanErrorEnum.SCAN_ENTRANCE_VERIFY_ERROR.toString()); in main() 54 LOG.error(ScanErrorEnum.SCAN_ENTRANCE_COMPRESS_ERROR.toString()); in main()
|
D | Uncompress.java | 77 private static final Log LOG = new Log(Uncompress.class.toString()); field in Uncompress 87 LOG.error("Uncompress::unpackageProcess utility is null."); in unpackageProcess() 95 LOG.error("Uncompress::unpackageProcess create out file directory failed!"); in unpackageProcess() 124 LOG.error("Uncompress::unpackageProcess input wrong type!"); in unpackageProcess() 129 LOG.error("Uncompress::unpackageProcess Bundle exception"); in unpackageProcess() 133 LOG.error("Uncompress::unpackageProcess unpackage failed!"); in unpackageProcess() 145 LOG.error("unpackageHapMode input wrong unpack mode: " + utility.getMode()); in unpackageHapMode() 162 LOG.error("Uncompress::unpackageHapMode failed"); in unpackageHapMode() 187 LOG.error("Uncompress::uncompressApp parseMode is invalid!"); in uncompressAppByPath() 192 LOG.error("Uncompress::uncompressApp Bundle exception"); in uncompressAppByPath() [all …]
|
D | PackageNormalize.java | 49 private static final Log LOG = new Log(PackageNormalize.class.toString()); field in PackageNormalize 73 LOG.error("PackageNormalize::normalize BundleException: " + ex.getMessage()); in normalize() 76 LOG.error("PackageNormalize::normalize IOException: " + ex.getMessage()); in normalize() 138 LOG.error("updateModuleJson failed, parse json is null."); in updateModuleJson() 142 LOG.error("updateModuleJson failed, json format not invalid."); in updateModuleJson() 159 LOG.error("updatePackInfo failed, json format invalid."); in updatePackInfo() 164 LOG.error("updatePackInfo failed, json format invalid."); in updatePackInfo() 169 LOG.error("updatePackInfo failed, json format invalid."); in updatePackInfo() 175 LOG.error("updatePackInfo failed, json format invalid."); in updatePackInfo() 239 … LOG.error("PackageNormalize::getCrcFromFile file not found exception: " + ignored.getMessage()); in getCrcFromFile() [all …]
|
D | Scan.java | 65 private static final Log LOG = new Log(Scan.class.toString()); field in Scan 79 LOG.error(ScanErrorEnum.SCAN_MKDIRS_ERROR.toString()); in scanProcess() 88 LOG.error(ScanErrorEnum.SCAN_NOT_FOUND_ERROR + exception.getMessage()); in scanProcess() 91 LOG.error(ScanErrorEnum.SCAN_REMIND_ERROR + exception.getMessage()); in scanProcess() 94 LOG.error(ScanErrorEnum.SCAN_COMPRESS_ERROR.toString()); in scanProcess() 96 LOG.error(ScanErrorEnum.SCAN_DELETE_ERROR.toString()); in scanProcess() 147 LOG.error(ScanErrorEnum.SCAN_NO_FILE_ERROR.toString()); in getAllInputFileList() 188 LOG.error(ScanErrorEnum.SCAN_UNPACK_ERROR + e.getMessage()); in unpackHap() 216 LOG.error(ScanErrorEnum.SCAN_UNPACK_ERROR + e.getMessage()); in unpackEntryToFile() 248 LOG.error(ScanErrorEnum.SCAN_GET_JS_TEMPLATE_ERROR + e.getMessage()); in getJsTemplate() [all …]
|
D | BinaryTool.java | 35 private static final Log LOG = new Log(BinaryTool.class.toString()); field in BinaryTool 72 LOG.error("IOException, msg is: " + msg.getMessage()); in generateBinaryFile() 77 LOG.error("build binary file failed!"); in generateBinaryFile() 94 LOG.error("have no config.json or have no key of package!"); in writePackageInfo() 104 LOG.error("write packageInfo fail, msg is " + msg.getMessage()); in writePackageInfo() 157 LOG.error("write fail, msg is: " + msg.getMessage()); in writeFileInfo()
|
D | JsonUtil.java | 45 private static final Log LOG = new Log(JsonUtil.class.toString()); field in JsonUtil 173 LOG.error("Uncompress::parseHapList exception: packages is null."); in parseHapList() 178 LOG.error("Uncompress::parseHapList exception: packages is null."); in parseHapList() 211 LOG.error("JsonUtil::parsePackInfos exception: packages is null."); in parsePackInfos() 220 LOG.info("Uncompress::parseShellVersionInfoToAppInfo: begin."); in parseShellVersionInfoToAppInfo() 222 LOG.info("Uncompress::parseShellVersionInfoToAppInfo: is not a multi framewok bundle."); in parseShellVersionInfoToAppInfo() 228 LOG.error("Uncompress::parseShellVersionInfoToAppInfo error: summary is null."); in parseShellVersionInfoToAppInfo() 233 LOG.error("Uncompress::parseShellVersionInfoToAppInfo error: summary is null."); in parseShellVersionInfoToAppInfo() 238 LOG.error("Uncompress::parseShellVersionInfoToAppInfo error: app is null."); in parseShellVersionInfoToAppInfo() 243 LOG.error("Uncompress::parseShellVersionInfoToAppInfo error: version is null."); in parseShellVersionInfoToAppInfo() [all …]
|
D | CommandParser.java | 101 private static final Log LOG = new Log(CommandParser.class.toString()); field in CommandParser 301 LOG.error("CommandParser::--version-code value must be number."); in initCommandFuncs() 323 LOG.error(PARSER_STAT_DUPLICATE_ERROR); in initCommandFuncs() 332 LOG.error(PARSER_STAT_SUFFIX_ERROR); in initCommandFuncs() 345 LOG.error("CommandParser::--compress-level value must be number between 1-9"); in initCommandFuncs() 352 LOG.error("CommandParser::--compress-level value must be number between 1-9"); in initCommandFuncs() 376 LOG.error("CommandParser::commandParser args is null!"); in commandParser() 388 LOG.error("input wrong number value for --p command"); in commandParser() 399 LOG.warning(key + " is invalid!"); in commandParser()
|
D | ScanStatDuplicate.java | 86 private static final Log LOG = new Log(ScanStatDuplicate.class.toString()); field in ScanStatDuplicate 176 LOG.error(ScanErrorEnum.STAT_DUPLICATE_CREATE_FILE_ERROR.toString()); in statDuplicate() 307 LOG.error(ScanErrorEnum.STAT_DUPLICATE_INPUT_STREAM_ERROR + e.getMessage()); in md5HashCode() 310 LOG.error(ScanErrorEnum.STAT_DUPLICATE_MESSAGE_DIGEST_ERROR + e.getMessage()); in md5HashCode()
|
D | ModuleAdaption.java | 29 private static final Log LOG = new Log(ModuleAdaption.class.toString()); field in ModuleAdaption 76 LOG.error("convertToAppInfo failed: moduleAppInfo is null"); in convertToAppInfo() 130 LOG.error("convertToHapInfo failed: moduleInfo is null"); in convertToHapInfo()
|
D | ResourcesParser.java | 174 private static final Log LOG = new Log(ResourcesParser.class.toString()); field in ResourcesParser 216 LOG.error("ResourcesParser::getIconPath data byte or ResourceId is null"); in getResourceById() 238 LOG.error("ResourcesParser::getBaseResourceById data byte or ResourceId is null"); in getBaseResourceById() 265 LOG.error("ResourcesParser::getBaseResource configIndex is null"); in getBaseResource() 545 LOG.info("len less than 0, dismiss"); in convertBytesToString()
|
D | ScanStatSuffix.java | 100 private static final Log LOG = new Log(ScanStatSuffix.class.toString()); field in ScanStatSuffix 238 LOG.error(ScanErrorEnum.SUFFIX_MKDIRS_ERROR.toString()); in statSuffix() 503 LOG.error(ScanErrorEnum.SUFFIX_UNPACK_ERROR + e.getMessage()); in unpackHap() 531 LOG.error(ScanErrorEnum.SUFFIX_UNPACK_STREAM_ERROR + e.getMessage()); in unpackEntryToFile()
|
D | ScanStatFileSize.java | 73 private static final Log LOG = new Log(ScanStatFileSize.class.toString()); field in ScanStatFileSize 167 LOG.error(ScanErrorEnum.SCAN_STAT_FILE_SIZE_CREATE_FILE_PARENT_ERROR.toString()); in statFileSize()
|
D | Utility.java | 45 private static final Log LOG = new Log(Utility.class.toString()); field in Utility 668 LOG.error("Utility::getFormattedPath exception," + exception.getMessage()); in getFormattedPath() 683 LOG.error("Utility::closeStream io close exception: " + exception.getMessage()); in closeStream()
|