Home
last modified time | relevance | path

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

12345678910>>...12

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
DCustomException.java16 package com.ohos.hapsigntool.error;
26 private ERROR error; field in CustomException
36 CustomException(ERROR error, String message) { in CustomException() argument
37 super(String.format(Locale.ROOT, "%s, code: %d. Details: %s", error.toString(), in CustomException()
38 error.getErrorCode(), message)); in CustomException()
39 this.error = error; in CustomException()
49 public static void throwException(ERROR error, String message) { in throwException() argument
50 throw new CustomException(error, message); in throwException()
54 return error; in getError()
57 public void setError(ERROR error) { in setError() argument
[all …]
/developtools/profiler/hidebug/test/unittest/js/
DExampleJsunit.test.js84 console.error('HidebugJsTest_001 has failed for ' + err);
113 console.error('HidebugJsTest_002 has failed for ' + err);
132 } catch (error) {
133 console.info(error.code);
134 console.info(error.message);
135 expect(error.code === "401").assertTrue();
150 } catch (error) {
151 console.info(error.code);
152 console.info(error.message);
166 } catch (error) {
[all …]
/developtools/packing_tool/adapter/ohos/
DCompressVerify.java89 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()
183 LOG.error("CompressVerify::validateVersionNormalizeMode input-list 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()
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()
144 LOG.error("Module: (" + hapVerifyInfo.getModuleName() + "), Ability: (" + in checkContinueTypeIsValid()
147 … LOG.error("Ability: (" + abilityNames.get(i) + ") have continueType: " + typeList); in checkContinueTypeIsValid()
[all …]
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()
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.java121 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()
321 … LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain bundleNames."); in parseBundleName()
[all …]
DCompressor.java255 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()
368 LOG.error("Compressor::compressProcess compress failed."); in defaultProcess()
[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()
223 LOG.error("Input invalid file: " + filePath); in unzip()
255 LOG.error("unzip file failed " + exception.getMessage()); in unzip()
[all …]
DUncompress.java87 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()
229 LOG.error("uncompressHapFromAppPath failed: " + e.getMessage()); in uncompressHapAndHspFromAppPath()
[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/utils/
DValidateUtils.java18 import com.ohos.hapsigntool.error.CustomException;
19 import com.ohos.hapsigntool.error.ERROR;
38 …public static void throwIfNotMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomE… in throwIfNotMatches() argument
40 CustomException.throwException(error, errorMsg); in throwIfNotMatches()
52 …public static void throwIfMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomExce… in throwIfMatches() argument
53 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;
71 LOGGER.error("The block head data made failed."); in sign()
80 LOGGER.error("The sign data made failed."); in sign()
89 LOGGER.error("The sign head data made failed."); in sign()
100 LOGGER.error("file length is invalid, binFileLen: " + binFileLen in writeBlockDataToFile()
107 … LOGGER.error("The profile block head offset is overflow interger range, offset: " + offset); in writeBlockDataToFile()
116 … LOGGER.error("The sign block head offset is overflow integer range, offset: " + offset); in writeBlockDataToFile()
124 LOGGER.error("writeBlockDataToFile failed.", e); in writeBlockDataToFile()
135 LOGGER.error("Failed to write infomation of input file: " + inputFile + in writeSignedBin()
142 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.ts60 .catch((error) => {
63 'Operation failed. Cause: ' + JSON.stringify(error)
65 console.error(
66 'BundleManager ... Operation failed. Cause: ' + JSON.stringify(error)
123 .catch((error) => {
126 'Operation failed. Cause: ' + JSON.stringify(error)
128 console.error(
129 '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.py77 logger.error(e)
130 logger.error("No devices found,please check the device.")
141 logger.error("Download MiniLoaderAll.bin Fail!")
150 logger.error("Failed to execute the parameter.txt")
160 logger.error("Failed to download the uboot.image!")
186 logger.error("Failed to reboot the board!")
209 logger.error(e)
278 logger.error("Failed to enter the loader mode!")
458 logger.error(e)
478 logger.error(e)
[all …]
/developtools/integration_verification/tools/startup_guard/startup_checker/
Duser_group_rule.py49 self.error("repeat uid name list: %s" % repeat_name)
53 self.error("repeat uid value list: %s" % repeat_uid)
57 self.error("%s has different passwd and group values" % value["uid"])
66 self.error("%s has different passwd and group values" % value["name"])

12345678910>>...12