Home
last modified time | relevance | path

Searched refs:hapVerifyInfo (Results 1 – 3 of 3) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DHapVerify.java125 for (HapVerifyInfo hapVerifyInfo : hapVerifyInfos) { in checkSharedApppIsValid()
126 if (!moduleName.equals(hapVerifyInfo.getModuleName())) { in checkSharedApppIsValid()
130 if (!hapVerifyInfo.getDependencyItemList().isEmpty()) { in checkSharedApppIsValid()
134 if (!TYPE_SHARED.equals(hapVerifyInfo.getModuleType())) { in checkSharedApppIsValid()
175 for (HapVerifyInfo hapVerifyInfo : hapVerifyInfos) { in checkAppFieldsIsSame()
176 if (hapVerifyInfo.getBundleName().isEmpty() || in checkAppFieldsIsSame()
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()
189 if (verifyCollection.versionCode != hapVerifyInfo.getVersion().versionCode) { in checkAppFieldsIsSame()
[all …]
DModuleJsonUtil.java947 public static void parseStageHapVerifyInfo(HapVerifyInfo hapVerifyInfo) throws BundleException { in parseStageHapVerifyInfo() argument
948 if (hapVerifyInfo.getProfileStr().isEmpty()) { in parseStageHapVerifyInfo()
951 String bundleName = parseBundleName(hapVerifyInfo.getProfileStr()); in parseStageHapVerifyInfo()
952 hapVerifyInfo.setBundleName(bundleName); in parseStageHapVerifyInfo()
953 hapVerifyInfo.setVendor(parseVendor(hapVerifyInfo.getProfileStr())); in parseStageHapVerifyInfo()
954 hapVerifyInfo.setVersion(parseStageVersion(hapVerifyInfo.getProfileStr())); in parseStageHapVerifyInfo()
955 hapVerifyInfo.setApiVersion(parseStageModuleApiVersion(hapVerifyInfo.getProfileStr())); in parseStageHapVerifyInfo()
956 hapVerifyInfo.setModuleName(parseStageModuleName(hapVerifyInfo.getProfileStr())); in parseStageHapVerifyInfo()
958 … parseModuleAllMetadata(hapVerifyInfo.getProfileStr(), hapVerifyInfo.getResourceMap()); in parseStageHapVerifyInfo()
959 hapVerifyInfo.setDistroFilter(parseStageDistroFilter(moduleMetadataInfos)); in parseStageHapVerifyInfo()
[all …]
DCompressor.java2272 for (HapVerifyInfo hapVerifyInfo : hapVerifyInfos) { in checkHapIsValid()
2273 String bundleType = hapVerifyInfo.getBundleType(); in checkHapIsValid()
2294 HapVerifyInfo hapVerifyInfo = readStageHapVerifyInfo(filePath); in parseStageHapVerifyInfo() local
2295 hapVerifyInfo.setStageModule(true); in parseStageHapVerifyInfo()
2296 ModuleJsonUtil.parseStageHapVerifyInfo(hapVerifyInfo); in parseStageHapVerifyInfo()
2297 hapVerifyInfo.setFileLength(FileUtils.getFileSize(filePath)); in parseStageHapVerifyInfo()
2298 return hapVerifyInfo; in parseStageHapVerifyInfo()
2307 for (HapVerifyInfo hapVerifyInfo : hapVerifyInfos) { in setAtomicServiceFileSizeLimit()
2308 if (!hapVerifyInfo.getBundleType().equals(ATOMIC_SERVICE)) { in setAtomicServiceFileSizeLimit()
2311 hapVerifyInfo.setEntrySizeLimit(getEntryModuleSizeLimit()); in setAtomicServiceFileSizeLimit()
[all …]