| /developtools/packing_tool/adapter/ohos/ |
| D | UncompressVerify.java | 43 if (!utility.getForceRewrite().isEmpty() && !"true".equals(utility.getForceRewrite()) in commandVerify() 44 && !"false".equals(utility.getForceRewrite())) { in commandVerify() 49 …if (!utility.getParseMode().isEmpty() && !UncompressEntrance.PARSE_MODE_HAPLIST.equals(utility.get… in commandVerify() 50 && !UncompressEntrance.PARSE_MODE_HAPINFO.equals(utility.getParseMode()) in commandVerify() 51 && !UncompressEntrance.PARSE_MODE_ALL.equals(utility.getParseMode())) { in commandVerify() 56 if (Utility.MODE_HAP.equals(utility.getMode())) { in commandVerify() 58 } else if (Utility.MODE_HAR.equals(utility.getMode())) { in commandVerify() 60 } else if (Utility.MODE_APP.equals(utility.getMode())) { in commandVerify() 62 } else if (Utility.MODE_APPQF.equals(utility.getMode())) { in commandVerify() 64 } else if (Utility.MODE_HSP.equals(utility.getMode())) { in commandVerify() [all …]
|
| D | HapVerify.java | 126 if (!moduleName.equals(hapVerifyInfo.getModuleName())) { in checkSharedApppIsValid() 134 if (!TYPE_SHARED.equals(hapVerifyInfo.getModuleType())) { in checkSharedApppIsValid() 177 !verifyCollection.bundleName.equals(hapVerifyInfo.getBundleName())) { in checkAppFieldsIsSame() 181 if (!verifyCollection.getBundleType().equals(hapVerifyInfo.getBundleType())) { in checkAppFieldsIsSame() 185 …if (hapVerifyInfo.getVendor().isEmpty() || !verifyCollection.vendor.equals(hapVerifyInfo.getVendor… in checkAppFieldsIsSame() 193 if (!verifyCollection.versionName.equals(hapVerifyInfo.getVersion().versionName)) { in checkAppFieldsIsSame() 209 … if (!verifyCollection.releaseType.equals(hapVerifyInfo.getApiVersion().getReleaseType())) { in checkAppFieldsIsSame() 213 if (!verifyCollection.targetBundleName.equals(hapVerifyInfo.getTargetBundleName())) { in checkAppFieldsIsSame() 243 … if (hapVerifyInfos.get(i).getModuleName().equals(hapVerifyInfos.get(j).getModuleName()) && in checkModuleNameIsValid() 252 if (!EMPTY_STRING.equals(hapVerifyInfos.get(i).getDistroFilter().dump())) { in checkModuleNameIsValid() [all …]
|
| D | HQFVerify.java | 63 if (bundleName == null || !bundleName.equals(hqfVerifyInfo.getBundleName())) { in checkAppFields() 71 if (versionName == null || !versionName.equals(hqfVerifyInfo.getVersionName())) { in checkAppFields() 79 … if (patchVersionName == null || !patchVersionName.equals(hqfVerifyInfo.getPatchVersionName())) { in checkAppFields() 114 if (!hqfVerifyInfoLeft.getModuleName().equals(hqfVerifyInfoRight.getModuleName())) { in checkModuleIsDuplicated()
|
| D | CompressVerify.java | 72 if (!utility.getForceRewrite().isEmpty() && !"true".equals(utility.getForceRewrite()) in commandVerify() 73 && !"false".equals(utility.getForceRewrite())) { in commandVerify() 121 if (!RPCID_PROFILE.equals(file.getName())) { in isValidRpcid() 136 if (!PACK_INFO.equals(file.getName())) { in isValidPackInfo() 167 if (!file.isFile() || !PROFILE_NAME.equals(file.getName())) { in isVerifyValidInHapCommonMode() 201 … if (!utility.getIndexPath().isEmpty() && !file.isFile() && INDEX_PROFILE.equals(file.getName())) { in isVerifyValidInHapMode() 362 if (!file.isFile() || !PACK_INFO.equals(file.getName())) { in isVerifyValidInAppMode() 423 if (("false".equals(utility.getForceRewrite())) && outFile.exists()) { in isVerifyValidInMultiAppMode() 480 if ((FALSE.equals(utility.getForceRewrite())) && (outFile.exists())) { in isVerifyValidInHQFMode() 501 if ((FALSE.equals(utility.getForceRewrite())) && outFile.exists()) { in isVerifyValidInAPPQFMode() [all …]
|
| D | Uncompress.java | 102 if (!Utility.MODE_HAP.equals(utility.getMode()) || !TRUE.equals(utility.getRpcid())) { in unpackageProcess() 103 … if (!utility.getForceRewrite().isEmpty() && "true".equals(utility.getForceRewrite())) { in unpackageProcess() 146 if (!Utility.MODE_HAP.equals(utility.getMode())) { in unpackageHapMode() 150 if (TRUE.equals(utility.getRpcid())) { in unpackageHapMode() 154 if (TRUE.equals(utility.getUnpackApk())) { in unpackageHapMode() 181 if (UncompressEntrance.PARSE_MODE_HAPLIST.equals(parseMode)) { in uncompressAppByPath() 183 } else if (UncompressEntrance.PARSE_MODE_HAPINFO.equals(parseMode)) { in uncompressAppByPath() 185 } else if (UncompressEntrance.PARSE_MODE_ALL.equals(parseMode)) { in uncompressAppByPath() 219 if (!hapName.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressHapAndHspFromAppPath() 250 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllAppByPath() [all …]
|
| D | ConvertHapToBin.java | 104 if (HAP_PATH.equals(para) && count < args.length - 1) { in main() 108 if (PROJECT_PATH.equals(para) && count < args.length - 1) { in main() 112 if (BIN_PATH.equals(para) && count < args.length - 1) { in main()
|
| D | CollectBinInfo.java | 144 if (name.equals(fileName)) { in readBinFileData() 167 if (BIN_PATH.equals(para) && count < args.length - 1) { in main() 170 if (VERSION_CODE.equals(para) && count < args.length) { in main()
|
| D | ResourcesParser.java | 221 …if (result != null && result.size() > 0 && result.get(0) != null && !EMPTY_STRING.equals(result.ge… in getResourceById() 242 if (resourceIdValue != null && !EMPTY_STRING.equals(resourceIdValue)) { in getBaseResourceById() 571 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 583 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 589 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 595 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 601 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 607 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 613 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString() 620 if (EMPTY_STRING.equals(configClass.toString())) { in convertConfigIndexToString()
|
| D | Compressor.java | 236 if ((file.isFile()) && MODULE_JSON.equals(file.getName())) { in isModuleJSON() 336 if (!TYPE_SHARED.equals(moduleType)) { in compressHsp() 360 if (TYPE_SHARED.equals(moduleType)) { in compressHap() 364 if (TYPE_SHARED.equals(bundleType)) { in compressHap() 634 if (targetModuleName.equals(ModuleJsonUtil.parseStageModuleName(jsonString))) { in checkStageOverlayCfg() 651 if (targetBundleName.equals(ModuleJsonUtil.parseBundleName(jsonString))) { in checkStageOverlayCfg() 708 if (DEVICE_TYPE_FITNESSWATCH.equals(deviceTypes) || in compressHapMode() 709 DEVICE_TYPE_FITNESSWATCH_NEW.equals(deviceTypes)) { in compressHapMode() 785 if (DEVICE_TYPE_FITNESSWATCH.equals(deviceTypes) || in compressHapModeForModule() 786 DEVICE_TYPE_FITNESSWATCH_NEW.equals(deviceTypes)) { in compressHapModeForModule() [all …]
|
| /developtools/smartperf_host/ide/test/trace/bean/ |
| D | CpuStruct.test.ts | 64 expect(CpuStruct.equals({}, data)).toBeTruthy(); 68 expect(CpuStruct.equals(data, data)).toBeTruthy(); 72 expect(CpuStruct.equals(data, data1)).toBeTruthy(); 92 expect(CpuStruct.equals({}, data1)).toBeTruthy();
|
| D | ThreadStruct.test.ts | 75 expect(ThreadStruct.equals(equalsData, equalsData)).toBeTruthy(); 79 expect(ThreadStruct.equals([], dataSource)).toBeFalsy();
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/ |
| D | Provision.java | 166 return DEBUG.equals(buildType) || RELEASE.equals(buildType); in isBuildTypeValid() 175 return RELEASE.equals(buildType); in isBuildTypeRelease() 185 return APP_GALLERY.equals(appDistType) in isAppDistTypeValid() 186 || ENTERPRISE.equals(appDistType) in isAppDistTypeValid() 187 || OS_INTEGRATION.equals(appDistType); in isAppDistTypeValid()
|
| D | DebugInfo.java | 83 return "sn".equals(this.deviceIdType) || "udid".equals(this.deviceIdType); in isDeviceIdTypeValid()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | HashUtils.java | 53 if ("SHA-224".equals(algMethod)) { in getHashAlgsId() 56 if ("SHA-256".equals(algMethod)) { in getHashAlgsId() 59 if ("SHA-384".equals(algMethod)) { in getHashAlgsId() 62 if ("SHA-512".equals(algMethod)){ in getHashAlgsId()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/ |
| D | SignatureBlockTypes.java | 55 if (isSigned != null && "0".equals(isSigned)) { in getProfileBlockTypes() 58 if (isSigned != null && "1".equals(isSigned)) { in getProfileBlockTypes()
|
| D | Pair.java | 74 public boolean equals(Object obj) { in equals() method in Pair 89 return value1.equals(value2); in compare()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/ |
| D | CmdUtil.java | 72 value = value.equals("-signcode") ? "-signCode" : value; in convert2Params() 142 if (!"2048".equals(size) && !"3072".equals(size) && !"4096".equals(size)) { in judgeSize()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/ |
| D | HapSignTool.java | 111 } else if ("-h".equals(args[0]) || "-help".equals(args[0])) { in processCmd() 113 } else if ("-v".equals(args[0]) || "-version".equals(args[0])) { in processCmd() 190 if (StringUtils.isEmpty(outForm) || "certChain".equals(outForm)) { in checkEndCertArguments() 306 if (!SIGNED.equals(profileSigned) && !NOT_SIGNED.equals(profileSigned)) { in checkProfile() 309 if (SIGNED.equals(profileSigned)) { in checkProfile()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/ |
| D | SignProvider.java | 184 return !(str == null || "".equals(str)); in checkStringIsNotNullAndEmity() 230 if (!crl.equals(Optional.empty())) { in createSignerConfigs() 291 if (ParamConstants.ProfileSignFlag.DISABLE_SIGN_CODE.getSignFlag().equals( in signElf() 327 if (input.getCanonicalPath().equals(output.getCanonicalPath())) { in sign() 389 .equals(ParamConstants.SignCodeFlag.ENABLE_SIGN_CODE.getSignCodeFlag())) { in appendCodeSignBlock() 443 if ("elf".equals(options.getString(ParamConstants.PARAM_IN_FORM)) in getX509Certificates() 600 …olean isProfileWithoutSign = ParamConstants.ProfileSignFlag.DISABLE_SIGN_CODE.getSignFlag().equals( in checkProfileValid() 714 if (!codeSign.equals(ParamConstants.SignCodeFlag.ENABLE_SIGN_CODE.getSignCodeFlag()) in checkSignCode() 715 … && !codeSign.equals(ParamConstants.SignCodeFlag.DISABLE_SIGN_CODE.getSignCodeFlag())) { in checkSignCode() 748 if (name.equals(paramName)) { in getParamValue()
|
| D | RemoteSignProvider.java | 38 return inputCert == null ? false : inputCert.equals(certInProfile); in checkInputCertMatchWithProfile()
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | ThreadStruct.ts | 71 ThreadStruct.equals(ThreadStruct.selectThreadStruct, threadBeanStructData) && 101 static equals(d1: ThreadStruct, d2: ThreadStruct): boolean { method in ThreadStruct
|
| D | CpuStruct.ts | 78 if (CpuStruct.selectCpuStruct && CpuStruct.equals(CpuStruct.selectCpuStruct, cpuBeanStruct)) { 86 static equals(d1: CpuStruct, d2: CpuStruct): boolean { method in CpuStruct
|
| /developtools/profiler/host/smartperf/ide/src/trace/bean/ |
| D | ThreadStruct.ts | 71 ThreadStruct.equals(ThreadStruct.selectThreadStruct, threadBeanStructData) && 101 static equals(d1: ThreadStruct, d2: ThreadStruct): boolean { method in ThreadStruct
|
| D | CpuStruct.ts | 78 if (CpuStruct.selectCpuStruct && CpuStruct.equals(CpuStruct.selectCpuStruct, cpuBeanStruct)) { 86 static equals(d1: CpuStruct, d2: CpuStruct): boolean { method in CpuStruct
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/test/java/com/ohos/hapsigntoolcmd/ |
| D | CmdUnitTest.java | 791 if (FileType.FILE_UNCOMPRESSED.equals(abc)) { in generateHapFile() 793 } else if (FileType.FILE_COMPRESSED.equals(abc)) { in generateHapFile() 798 if (FileType.FILE_UNCOMPRESSED.equals(so)) { in generateHapFile() 803 } else if (FileType.FILE_COMPRESSED.equals(so)) { in generateHapFile() 811 if (FileType.FILE_UNCOMPRESSED.equals(an)) { in generateHapFile() 813 } else if (FileType.FILE_COMPRESSED.equals(an)) { in generateHapFile() 818 if (FileType.FILE_UNCOMPRESSED.equals(otherFile)) { in generateHapFile() 820 } else if (FileType.FILE_COMPRESSED.equals(otherFile)) { in generateHapFile()
|