Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 260) sorted by relevance

1234567891011

/developtools/packing_tool/adapter/ohos/
DCompressVerify.java83 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()
167 LOG.error("CompressVerify::validateVersionNormalizeMode out-path is empty."); in validateVersionNormalizeMode()
[all …]
DCompressEntrance.java42 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()
121 LOG.error("CompressEntrance::main exit, compress failed"); in main()
DUncompressVerify.java45 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()
153 LOG.error("UncompressVerify::isArgsVaildInParseMode hapName can't be empty!"); in appCommandVerify()
[all …]
DHQFVerify.java36 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()
DHapVerify.java58 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()
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()
118 LOG.error("HapVerify::checkSharedApppIsValid hapVerifyInfos is empty."); in checkSharedApppIsValid()
124 LOG.error("HapVerify::checkSharedApppIsValid module name is different."); in checkSharedApppIsValid()
[all …]
DScanVerify.java47 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.java142 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()
274 LOG.error("UncompressEntrance::parseApp input is null!"); in parseApp()
[all …]
DModuleJsonUtil.java115 LOG.error(errMsg); in parseStageVersion()
137 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version."); in parseFaVersion()
145 …LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not version name or version code."); in parseFaVersion()
233 … LOG.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()
255 … LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain moduleName."); in parseFaModuleName()
274 … LOG.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()
314 … LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain bundleNames."); in parseBundleName()
351 LOG.error("ModuleJsonUtil:mergeTwoPackInfo verify pack.info failed."); in mergeTwoPackInfo()
[all …]
DCompressor.java248 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()
343 … LOG.error("Compressor::compressProcess file not found exception" + exception.getMessage()); in compressProcess()
346 LOG.error("Compressor::compressProcess Bundle exception."); in compressProcess()
355 LOG.error("Compressor::compressProcess compress failed."); in compressProcess()
[all …]
DFileUtils.java64 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()
285 LOG.error("It's not file or directory."); in deleteDirectory()
[all …]
DUncompress.java89 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()
269 LOG.error("uncompressAllAppByPath failed!"); in uncompressAllAppByPath()
[all …]
/developtools/profiler/hidebug/test/unittest/js/
DExampleJsunit.test.js85 console.error('HidebugJsTest_001 has failed for ' + err);
115 console.error('HidebugJsTest_002 has failed for ' + err);
134 } catch (error) {
135 console.info(error.code);
136 console.info(error.message);
137 expect(error.code === "401").assertTrue();
152 } catch (error) {
153 console.info(error.code);
154 console.info(error.message);
168 } catch (error) {
[all …]
/developtools/integration_verification/DeployDevice/src/aw/poweronoff/
Dserial_power_on_off.py27 logger.error("ConnectionRefusedError")
29 logger.error(e)
57 logger.error(e)
104 logger.error(e)
128 logger.error("认证错误")
142 logger.error("请给on/off指令")
153 logger.error("操作失败")
156 logger.error("操作失败")
159 logger.error(e)
202 logger.error("操作失败")
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
DCustomException.java16 package com.ohos.hapsigntool.error;
32 CustomException(ERROR error, String message) { in CustomException() argument
33 …super(String.format(Locale.ROOT,"%s, code: %d. Details: %s", error.toString(), error.getErrorCode(… in CustomException()
42 public static void throwException(ERROR error, String message) { in throwException() argument
43 throw new CustomException(error, message); in throwException()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DValidateUtils.java18 import com.ohos.hapsigntool.error.CustomException;
19 import com.ohos.hapsigntool.error.ERROR;
37 …public static void throwIfNotMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomE… in throwIfNotMatches() argument
39 CustomException.throwException(error, errorMsg); in throwIfNotMatches()
50 …public static void throwIfMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomExce… in throwIfMatches() argument
51 throwIfNotMatches(!isMatch, error, errorMsg); in throwIfMatches()
DDigestUtils.java61 LOGGER.error("don't has SHA-256 Algorithm"); in sha256Digest()
79 LOGGER.error("don't has SHA-384 Algorithm"); in sha384Digest()
97 LOGGER.error("don't has SHA-512 Algorithm"); in sha512Digest()
123 LOGGER.error("generateCertificate is not x509"); in decodeBase64ToX509Certifate()
128 LOGGER.error("Decode Base64 certificate failed!", e); in decodeBase64ToX509Certifate()
147 LOGGER.error("generateCRL is not x509"); in decodeBase64ToX509CRL()
152 LOGGER.error("Decode Base64 crl failed!"); in decodeBase64ToX509CRL()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyAndParseProvision.java49 LOGGER.error(errorMsg); in verifyAndParseProvision()
54 LOGGER.error("read provision file failed"); in verifyAndParseProvision()
59 LOGGER.error("get unsigned provision failed"); in verifyAndParseProvision()
71 … LOGGER.error(signedProvisionFile.getCanonicalPath() + " does not exist or can not read!"); in checkProvisionFile()
75 LOGGER.error(signedProvisionFile.getCanonicalPath() + " is not a file!"); in checkProvisionFile()
79 LOGGER.error("getCanonicalPath failed", e); in checkProvisionFile()
90 LOGGER.error("readFileToByteArray failed.", e); in getSignedProvisionData()
104 LOGGER.error("get unsigned provision data failed.", e); in getUnsignedProvisionData()
115 LOGGER.error("output unsigned provision to file failed.", e); in outputUnsignedProvisionToFile()
DVerifyHap.java24 import com.ohos.hapsigntool.error.HapFormatException;
25 import com.ohos.hapsigntool.error.ProfileException;
26 import com.ohos.hapsigntool.error.SignatureNotFoundException;
114 LOGGER.error("Missing parameter: {}", ParamConstants.PARAM_VERIFY_CERTCHAIN_FILE); in checkParams()
118 LOGGER.error("Missing parameter: {}", ParamConstants.PARAM_VERIFY_PROFILE_FILE); in checkParams()
137 LOGGER.error("Check params failed!"); in verify()
142 LOGGER.error("Not found verify file path!"); in verify()
147 LOGGER.error("Check input signature hap false!"); in verify()
152 LOGGER.error("verify: {}", verifyResult.getMessage()); in verify()
160 LOGGER.error("Write certificate chain error", e); in verify()
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignBin.java24 import com.ohos.hapsigntool.error.SignatureException;
72 LOGGER.error("The block head data made failed."); in sign()
81 LOGGER.error("The sign data made failed."); in sign()
89 LOGGER.error("The sign head data made failed."); in sign()
103 LOGGER.error("file length is invalid, binFileLen: " + binFileLen in writeBlockDataToFile()
110 … LOGGER.error("The profile block head offset is overflow interger range, offset: " + offset); in writeBlockDataToFile()
119 … LOGGER.error("The sign block head offset is overflow integer range, offset: " + offset); in writeBlockDataToFile()
127 LOGGER.error("writeBlockDataToFile failed.", e); in writeBlockDataToFile()
138 LOGGER.error("Failed to write infomation of input file: " + inputFile + in writeSignedBin()
145 LOGGER.error("Failed to write proBlockByte to output file: " + outputFile); in writeSignedBin()
[all …]
DSignElf.java27 import com.ohos.hapsigntool.error.HapFormatException;
28 import com.ohos.hapsigntool.error.ProfileException;
87 LOGGER.error("copy input File failed"); in sign()
93 LOGGER.error("The block head data made failed.`"); in sign()
101 LOGGER.error("The sign head data made failed."); in sign()
115 LOGGER.error("create tmp file Failed"); in alignFileBy4kBytes()
128 LOGGER.error("File alignment error"); in alignFileBy4kBytes()
135 LOGGER.error("copy inFile Failed"); in alignFileBy4kBytes()
150 LOGGER.error("file length is invalid, elf file len: " + binFileLen); in writeBlockDataToFile()
168 LOGGER.error("writeBlockDataToFile failed.", e); in writeBlockDataToFile()
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DBundleMangerUtils.ts50 }).catch((error) => {
51 SPLogger.ERROR(TAG,'Operation failed. Cause: ' + JSON.stringify(error))
52 console.error('BundleManager ... Operation failed. Cause: ' + JSON.stringify(error));
83 }).catch((error) => {
84 SPLogger.ERROR(TAG,'Operation failed. Cause: ' + JSON.stringify(error))
85 console.error('BundleManager ... Operation failed. Cause: ' + JSON.stringify(error));
/developtools/integration_verification/DeployDevice/src/aw/Telnet/
DTelnetClient.py40 logger.error("telnet login Failed!!")
44 logger.error("telnet login Failed!!")
54 logger.error(e)
70 logger.error(e)
80 logger.error("cmd not end or cmd failed, please check board !!!")
83 logger.error(e)
93 logger.error("cmd not end or cmd failed, please check board !!!")
96 logger.error(e)
114 logger.error("send Enter fail")
118 logger.error(e)
/developtools/integration_verification/DeployDevice/src/aw/ExtractFile/
DExtractFile.py34 logger.error("Decompress package failed.")
53 logger.error(e)
60 logger.error(e)
85 logger.error("no img")
89 logger.error(e)
106 logger.error("%s file is not exist" % file)
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/
DliteOsUpgrade_RK3568_app.py75 logger.error(e)
117 logger.error("No devices found,please check the device.")
128 logger.error("Download MiniLoaderAll.bin Fail!")
137 logger.error("Failed to execute the parameter.txt")
147 logger.error("Failed to download the uboot.image!")
173 logger.error("Failed to reboot the board!")
196 logger.error(e)
265 logger.error("Failed to enter the loader mode!")
439 logger.error("Set mode failed")
445 logger.error(e)
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/
DLocalJKSSignProvider.java19 import com.ohos.hapsigntool.error.InvalidParamsException;
20 import com.ohos.hapsigntool.error.MissingParamsException;
57 LOGGER.error("crl is not X509CRL"); in getCrl()
62 LOGGER.error("read CRL File has IOException!"); in getCrl()
65 LOGGER.error("Generate x509 CRL failed!"); in getCrl()
82 LOGGER.error("file is invalid: " + publicCertsFile + System.lineSeparator(), e); in checkPublicKeyPath()

1234567891011