| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/ |
| D | CmdUtil.java | 19 import com.ohos.hapsigntool.error.ERROR; 54 ValidateUtils.throwIfNotMatches(args.length >= ARGS_MIN_LEN, ERROR.COMMAND_ERROR, ""); in convert2Params() 62 CustomException.throwException(ERROR.COMMAND_ERROR, "Unsupported cmd"); in convert2Params() 67 … CustomException.throwException(ERROR.COMMAND_ERROR, "param value could not be empty"); in convert2Params() 75 ERROR.COMMAND_PARAM_ERROR, "Not support command param"); in convert2Params() 80 ERROR.COMMAND_PARAM_ERROR, "param key value must in pairs"); in convert2Params() 99 CustomException.throwException(ERROR.COMMAND_ERROR, in validAndPutParam() 103 CustomException.throwException(ERROR.COMMAND_ERROR, in validAndPutParam() 123 CustomException.throwException(ERROR.COMMAND_ERROR, in judgeAlgType() 138 …CustomException.throwException(ERROR.COMMAND_ERROR, String.format("KeySize '%s' is incorrect", siz… in judgeSize() [all …]
|
| D | HelpDocument.java | 20 import com.ohos.hapsigntool.error.ERROR; 59 … CustomException.throwException(ERROR.READ_FILE_ERROR, "Failed to read " + page + " resource"); in printHelp()
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | create.ts | 39 'ERROR: The project name cannot be a path nor contain any special symbol.\n' + 89 return console.error('ERROR: Failed to create project directory.'); 93 return console.error('ERROR: Failed to write app.ets.'); 98 return console.error('ERROR: Failed to write manifest.json.'); 103 return console.error('ERROR: Failed to write index.ets.');
|
| D | validate_ui_syntax.ts | 210 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile); 218 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile); 242 type: LogType.ERROR, 249 type: LogType.ERROR, 257 type: LogType.ERROR, 265 type: LogType.ERROR, 340 addLog(LogType.ERROR, message, component.pos, log, sourceFile); 345 addLog(LogType.ERROR, message, component.pos, log, sourceFile); 354 addLog(LogType.ERROR, message, decorators![0].pos, log, sourceFile); 358 addLog(LogType.ERROR, message, decorators![0].pos, log, sourceFile); [all …]
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | resource-plugin.js | 67 if (e && /ERROR: /.test(e)) { 215 throw Error('ERROR: missing pages').message; 226 console.error('ERROR: ' + sourcePath + ' cannot both have hml && visual'); 246 console.error('ERROR: Invalid route ' + sourcePath + 252 '\u001b[31m' + 'ERROR: Invalid route ' + sourcePath + 303 throw Error('\u001b[31m' + 'ERROR: the manifest.json or module.json is lost.' + 308 throw Error('\u001b[31m' + 'ERROR: the manifest.json or module.json file format is invalid.' + 371 throw Error("\x1B[31m" + 'ERROR: the module.json file is lost or format is invalid.' +
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/ |
| D | RemoteSigner.java | 33 private static final String ERROR = "Not implement yet"; field in RemoteSigner 53 throw new UnsupportedOperationException(ERROR); in getSignature() 63 throw new UnsupportedOperationException(ERROR); in getCrls() 73 throw new UnsupportedOperationException(ERROR); in getCertificates()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | KeyStoreHelper.java | 19 import com.ohos.hapsigntool.error.ERROR; 112 ValidateUtils.throwIfMatches(StringUtils.isEmpty(keyStorePath), ERROR.COMMAND_ERROR, in KeyStoreHelper() 131 …CustomException.throwException(ERROR.ACCESS_ERROR, "Init keystore failed: " + exception.getMessage… in KeyStoreHelper() 143 ValidateUtils.throwIfMatches(this.hasAlias(alias), ERROR.ACCESS_ERROR, in errorOnExist() 153 ValidateUtils.throwIfNotMatches(this.hasAlias(alias), ERROR.FILE_NOT_FOUND, in errorIfNotExist() 168 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in hasAlias() 201 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in loadPrivateKey() 204 CustomException.throwException(ERROR.ACCESS_ERROR, "Password error of '" + alias + "'"); in loadPrivateKey() 235 ValidateUtils.throwIfNotMatches(this.hasAlias(alias), ERROR.FILE_NOT_FOUND, in loadCertificates() 253 CustomException.throwException(ERROR.KEYSTORE_OPERATION_ERROR, exception.getMessage()); in loadCertificates() [all …]
|
| D | KeyPairTools.java | 19 import com.ohos.hapsigntool.error.ERROR; 101 ERROR.NOT_SUPPORT_ERROR, "Algorithm 'RSA' not support size: " + keySize); in generateKeyPair() 104 ERROR.NOT_SUPPORT_ERROR, "Algorithm 'ECC' not support size: " + keySize); in generateKeyPair() 106 … CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, "Not support algorithm: " + algorithm); in generateKeyPair() 115 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, e.getMessage()); in generateKeyPair() 144 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in stringToPublicKey() 163 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in stringToPrivateKey()
|
| D | ValidateUtils.java | 19 import com.ohos.hapsigntool.error.ERROR; 37 …public static void throwIfNotMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomE… in throwIfNotMatches() 50 …public static void throwIfMatches(boolean isMatch, ERROR error, String errorMsg) throws CustomExce… in throwIfMatches()
|
| D | CertUtils.java | 19 import com.ohos.hapsigntool.error.ERROR; 169 CustomException.throwException(ERROR.COMMAND_ERROR, in buildDN() 183 … ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString), ERROR.COMMAND_ERROR, errorMsg); in checkDN() 186 …ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString.trim()), ERROR.COMMAND_ERROR, erro… in checkDN() 188 … ValidateUtils.throwIfNotMatches(kvPair.length == SECOND_INDEX, ERROR.COMMAND_ERROR, errorMsg); in checkDN() 190 …ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(kvPair[1].trim()), ERROR.COMMAND_ERROR, error… in checkDN() 275 …ValidateUtils.throwIfNotMatches(matcher.matches(), ERROR.NOT_SUPPORT_ERROR, "Not Support " + signA… in createFixedContentSigner() 292 CustomException.throwException(ERROR.OPERATOR_CREATION_ERROR, exception.getMessage()); in createFixedContentSigner()
|
| D | CertChainUtils.java | 19 import com.ohos.hapsigntool.error.ERROR; 109 ERROR.VERIFY_ERROR, "Validator result not target type"); in verifyCertChain() 113 … ERROR.VERIFY_ERROR, "Anchor is not trusted: " + Base64.getEncoder().encodeToString( in verifyCertChain() 116 … CustomException.throwException(ERROR.VERIFY_ERROR, "Validator result not target type"); in verifyCertChain()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/ |
| D | Validity.java | 19 import com.ohos.hapsigntool.error.ERROR; 51 …ValidateUtils.throwIfMatches(this.notBefore == 0L, ERROR.SIGN_ERROR, "Require notBefore in validit… in enforceValid() 52 …ValidateUtils.throwIfMatches(this.notAfter == 0L, ERROR.SIGN_ERROR, "Require notAfter in validity!… in enforceValid() 53 ValidateUtils.throwIfMatches(this.notBefore >= this.notAfter, ERROR.SIGN_ERROR, in enforceValid()
|
| D | DebugInfo.java | 19 import com.ohos.hapsigntool.error.ERROR; 75 … ValidateUtils.throwIfMatches(this.deviceIds.size() > MAX_DEBUG_DEVICE_NUM, ERROR.SIGN_ERROR, in enforceValid() 77 ValidateUtils.throwIfMatches(!this.isDeviceIdTypeValid(), ERROR.SIGN_ERROR, in enforceValid()
|
| D | BundleInfo.java | 19 import com.ohos.hapsigntool.error.ERROR; 127 ERROR.SIGN_ERROR, "Require cert in bundleInfo!"); in enforceValid() 130 ERROR.SIGN_ERROR, "Require cert in bundleInfo!"); in enforceValid()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/cert/ |
| D | CertBuilder.java | 20 import com.ohos.hapsigntool.error.ERROR; 91 CustomException.throwException(ERROR.IO_CSR_ERROR, exception.getMessage()); in CertBuilder() 103 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, exception.getMessage()); in CertBuilder() 106 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in CertBuilder() 126 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, exception.getMessage()); in withAuthorityKeyIdentifier() 129 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in withAuthorityKeyIdentifier() 220 CustomException.throwException(ERROR.KEY_ERROR, exception.getMessage()); in build() 223 CustomException.throwException(ERROR.SIGN_ERROR, exception.getMessage()); in build() 226 CustomException.throwException(ERROR.CERTIFICATE_ERROR, exception.getMessage()); in build() 229 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, exception.getMessage()); in build()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/ |
| D | VerifyHelper.java | 20 import com.ohos.hapsigntool.error.ERROR; 92 …ValidateUtils.throwIfNotMatches(signature.verify(signedData), ERROR.SIGN_ERROR, "Signature not mat… in verifySignature() 95 …CustomException.throwException(ERROR.SIGN_ERROR, "Failed to verify signature: " + exception.getMes… in verifySignature() 108 ValidateUtils.throwIfMatches(certificates == null, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList() 111 ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList() 122 CustomException.throwException(ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList() 124 ValidateUtils.throwIfMatches(certificateList.size() == 0, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList() 196 ValidateUtils.throwIfNotMatches(verifyResult, ERROR.VERIFY_ERROR, in verifyPkcs() 201 CustomException.throwException(ERROR.VERIFY_ERROR, "Failed to verify BC signatures: " in verifyPkcs()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/ |
| D | CertTools.java | 23 import com.ohos.hapsigntool.error.ERROR; 86 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateRootCaCert() 110 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateSubCert() 138 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateCert() 164 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateEndCert() 186 CustomException.throwException(ERROR.IO_CSR_ERROR, "Not support " + subject); in generateCsr()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/adapter/ |
| D | LocalizationAdapter.java | 20 import com.ohos.hapsigntool.error.ERROR; 187 …ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(alias), ERROR.ACCESS_ERROR, "Alias could not … in getKeyPair() 199 ValidateUtils.throwIfNotMatches(keyPair != null, ERROR.PARAM_NOT_EXIST_ERROR, in getKeyPair() 219 … ERROR.NOT_SUPPORT_ERROR, String.format("Profile cert '%s' must a cert chain", certPath) in getSignCertChain() 262 ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(certPath), ERROR.PARAM_NOT_EXIST_ERROR, in getCertsFromFile() 266 ValidateUtils.throwIfNotMatches(certFile.exists(), ERROR.FILE_NOT_FOUND, in getCertsFromFile() 273 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in getCertsFromFile() 275 …ValidateUtils.throwIfNotMatches(certificates != null && certificates.size() > 0, ERROR.READ_FILE_E… in getCertsFromFile() 388 ValidateUtils.throwIfNotMatches(new File(file).exists(), ERROR.FILE_NOT_FOUND, in getInFile()
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/database/ |
| D | DatabaseUtils.ts | 37 SPLogger.ERROR(TAG, "createTable ERR:" + err); 88 SPLogger.ERROR(TAG, "insertGeneraData ERR:" + err); 147 SPLogger.ERROR(TAG, "insertGeneraData ERR:" + err); 198 SPLogger.ERROR(TAG,"resultSet queryGeneralData:err" + err) 290 SPLogger.ERROR(TAG,"resultSet queryIndexInfo Data:err" + err) 407 SPLogger.ERROR(TAG,"resultSet insertPowerSensor Data:err" + err) 434 SPLogger.ERROR(TAG,"resultSet insertPowerAppInfo Data:err" + err) 472 SPLogger.ERROR(TAG,"resultSet query_applications_display err22222:"+err) 502 SPLogger.ERROR(TAG,"resultSet query_applications_display err22222:"+err) 539 SPLogger.ERROR(TAG,"resultSet query_applications_display err22222:"+err) [all …]
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/ |
| D | BundleMangerUtils.ts | 51 SPLogger.ERROR(TAG,'Operation failed. Cause: ' + JSON.stringify(error)) 80 SPLogger.ERROR(TAG,"index[" + i + "] getAllApplicationInfo err" + err); 84 SPLogger.ERROR(TAG,'Operation failed. Cause: ' + JSON.stringify(error)) 106 SPLogger.ERROR(TAG,"index[" + bundleName + "] getAbility err" + err);
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/ |
| D | ERROR.java | 23 public enum ERROR { enum 112 ERROR(int code) { in ERROR() method in ERROR
|
| D | CustomException.java | 32 CustomException(ERROR error, String message) { in CustomException() 42 public static void throwException(ERROR error, String message) { in throwException()
|
| /developtools/smartperf_host/ide/src/log/ |
| D | Log.ts | 18 ERROR = 4000, enumerator 27 SpLog.logger(LogLevel.ERROR, message, ...optionalParams); 64 case LogLevel.ERROR:
|
| /developtools/packing_tool/adapter/ohos/ |
| D | Log.java | 68 log.warning(LogType.buildTag(LogType.ERROR) + msg); in error() 85 ERROR("Error"); enumConstant
|
| /developtools/profiler/hiebpf/include/ |
| D | hhlog.h | 142 #define HHLOGE(expression, format, ...) HHLOG(ERROR, expression, format, ##__VA_ARGS__) 150 #define HHLOGE(expression, format, ...) HHLOG(ERROR, expression, format, ##__VA_ARGS__) 158 #define HHLOGE(expression, format, ...) HHLOG(ERROR, expression, format, ##__VA_ARGS__) 166 #define HHLOGE(expression, format, ...) HHLOG(ERROR, expression, format, ##__VA_ARGS__)
|