Home
last modified time | relevance | path

Searched refs:LOG (Results 1 – 23 of 23) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DCompressVerify.java69 private static final Log LOG = new Log(CompressVerify.class.toString()); field in CompressVerify
83 LOG.error("CompressVerify::commandVerify utility is null."); in commandVerify()
89 LOG.error("CompressVerify::commandVerify forceRewrite is invalid."); in commandVerify()
128 LOG.error("CompressVerify::commandVerify mode is invalid."); in commandPathVerify()
135 LOG.error("CompressVerify::validateVersionNormalizeMode input-list is empty."); in validateVersionNormalizeMode()
140 LOG.error("CompressVerify::validateVersionNormalizeMode input-list is invalid."); in validateVersionNormalizeMode()
145 LOG.error("CompressVerify::validateVersionNormalizeMode input-list is empty."); in validateVersionNormalizeMode()
150 LOG.error("CompressVerify::validateVersionNormalizeMode version-code is invalid."); in validateVersionNormalizeMode()
155 LOG.error("CompressVerify::validateVersionNormalizeMode version-name is empty."); in validateVersionNormalizeMode()
162 LOG.error("CompressVerify::validateVersionNormalizeMode version-name is not valid."); in validateVersionNormalizeMode()
[all …]
DHapVerify.java36 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 …]
DCompressEntrance.java28 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 …]
DHQFVerify.java25 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()
DUncompressVerify.java34 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 …]
DScanVerify.java37 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()
DUncompressEntrance.java95 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 …]
DModuleJsonUtil.java98 private static final Log LOG = new Log(ModuleJsonUtil.class.toString()); field in ModuleJsonUtil
115 LOG.error(errMsg); in parseStageVersion()
137 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version."); in parseFaVersion()
145LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version name or version code."); in parseFaVersion()
233LOG.error("ModuleJsonUtil:parseStageModuleName failed: json file do not contain module name."); in parseStageModuleName()
251 LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain distro."); in parseFaModuleName()
255LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain moduleName."); in parseFaModuleName()
274LOG.error("ModuleJsonUtil:parsePatchModuleName failed: json file do not contain moduleName."); in parsePatchModuleName()
295 LOG.error("ModuleJsonUtil:parseFaPackageStr failed: json file do not contain package."); in parseFaPackageStr()
314LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain bundleNames."); in parseBundleName()
[all …]
DCompressor.java167 private static final Log LOG = new Log(Compressor.class.toString()); field in Compressor
248 LOG.error("parseFileSizeLimit failed, input total-limit invalid."); in parseFileSizeLimit()
252 LOG.error("parseFileSizeLimit failed, input total-limit invalid."); in parseFileSizeLimit()
262 LOG.error("parseFileSizeLimit failed, input normal-module-limit invalid."); in parseFileSizeLimit()
266 LOG.error("parseFileSizeLimit failed, input normal-module-limit invalid."); in parseFileSizeLimit()
276 LOG.error("parseFileSizeLimit failed, input main-module-limit invalid."); in parseFileSizeLimit()
280 LOG.error("parseFileSizeLimit failed, input main-module-limit invalid."); in parseFileSizeLimit()
328 LOG.error("Compressor::compressProcess create out file parent directory failed."); in compressProcess()
343LOG.error("Compressor::compressProcess file not found exception" + exception.getMessage()); in compressProcess()
346 LOG.error("Compressor::compressProcess Bundle exception."); in compressProcess()
[all …]
DFileUtils.java48 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()
254 LOG.error("unzip file failed " + exception.getMessage()); in unzip()
[all …]
DConvertHapToBin.java31 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()
DScanEntrance.java28 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()
DUncompress.java79 private static final Log LOG = new Log(Uncompress.class.toString()); field in Uncompress
89 LOG.error("Uncompress::unpackageProcess utility is null."); in unpackageProcess()
97 LOG.error("Uncompress::unpackageProcess create out file directory failed!"); in unpackageProcess()
126 LOG.error("Uncompress::unpackageProcess input wrong type!"); in unpackageProcess()
131 LOG.error("Uncompress::unpackageProcess Bundle exception"); in unpackageProcess()
135 LOG.error("Uncompress::unpackageProcess unpackage failed!"); in unpackageProcess()
163 LOG.error("Uncompress::unpackageHapMode failed"); in unpackageHapMode()
188 LOG.error("Uncompress::uncompressApp parseMode is invalid!"); in uncompressAppByPath()
193 LOG.error("Uncompress::uncompressApp Bundle exception"); in uncompressAppByPath()
230 LOG.error("uncompressHapFromAppPath failed!"); in uncompressHapAndHspFromAppPath()
[all …]
DScan.java65 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 …]
DBinaryTool.java35 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()
DJsonUtil.java45 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 …]
DCommandParser.java98 private static final Log LOG = new Log(CommandParser.class.toString()); field in CommandParser
315 LOG.error(PARSER_STAT_DUPLICATE_ERROR); in initCommandFuncs()
324 LOG.error(PARSER_STAT_SUFFIX_ERROR); in initCommandFuncs()
344 LOG.error("CommandParser::commandParser args is null!"); in commandParser()
356 LOG.error("input wrong number value for --p command"); in commandParser()
367 LOG.warning(key + " is invalid!"); in commandParser()
DScanStatDuplicate.java86 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()
DModuleAdaption.java29 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()
DResourcesParser.java174 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()
DScanStatSuffix.java100 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()
DScanStatFileSize.java73 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()
DUtility.java44 private static final Log LOG = new Log(Utility.class.toString()); field in Utility
664 LOG.error("Utility::getFormattedPath exception," + exception.getMessage()); in getFormattedPath()
679 LOG.error("Utility::closeStream io close exception: " + exception.getMessage()); in closeStream()