Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 - 25 of 27) sorted by relevance

12

/developtools/packing_tool/adapter/ohos/
H A DModuleJsonInfo.java24 private String moduleType = ""; field in ModuleJsonInfo
30 return moduleType; in getModuleType()
33 public void setModuleType(String moduleType) { in setModuleType() argument
34 this.moduleType = moduleType; in setModuleType()
67 return moduleType != null && moduleType.equals(Constants.TYPE_SHARED); in isShared()
H A DVerifyCollection.java113 private String moduleType; field in VerifyCollection
158 return moduleType; in getModuleType()
161 public void setModuleType(String moduleType) { in setModuleType() argument
162 this.moduleType = moduleType; in setModuleType()
H A DHapVerifyInfo.java81 private String moduleType = ""; field in HapVerifyInfo
292 * get moduleType from HapVerifyInfo.
295 return moduleType; in getModuleType()
301 public void setModuleType(String moduleType) { in setModuleType() argument
302 this.moduleType = moduleType; in setModuleType()
H A DDistro.java29 * Indicates the moduleType of Distro.
31 public String moduleType = ""; field in Distro
H A DPackInfo.java37 * Indicates the moduleType of PackInfo.
39 public String moduleType = ""; field in PackInfo
H A DModuleAdaption.java138 hapInfo.distro.moduleType = moduleInfo.type; in convertToHapInfo()
H A DPackageUtil.java190 String moduleType = moduleObject.getString(Constants.MODULE_TYPE); in parseModuleJsonInfo()
191 moduleJsonInfo.setModuleType(moduleType != null ? moduleType : ""); in parseModuleJsonInfo()
H A DJsonUtil.java41 private static final String MODULE_TYPE_NEW = "moduleType";
197 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE); in parseHapList()
198 if (packInfo.moduleType == null || EMPTY.equals(packInfo.moduleType)) { in parseHapList()
199 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE_NEW); in parseHapList()
749 distro.moduleType = getJsonString(distroObj, "moduleType"); in getDistro()
H A DHapVerify.java319 private static boolean isEntryOrFeature(String moduleType) { in isEntryOrFeature() argument
320 return ENTRY.equals(moduleType) || FEATURE.equals(moduleType); in isEntryOrFeature()
H A DUncompress.java1227 String moduleType = distro.moduleType; in obtainLabelAndIcon()
1228 if (ENTRY_TYPE.equals(moduleType.toLowerCase(Locale.ENGLISH))) { in obtainLabelAndIcon()
/developtools/global_resource_tool/src/
H A Dresource_merge.cpp53 ConfigParser::ModuleType moduleType = ConfigParser::ModuleType::NONE; in Init() local
55 inputTypes[moduleType].push_back(resourceDir); in Init()
62 moduleType = configParser.GetModuleType(); in Init()
63 inputTypes[moduleType].push_back(resourceDir); in Init()
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dmodule_json_stage.cpp45 const std::string MODULE_TYPE = "moduleType";
345 std::string moduleType; in GetStageEntry() local
350 if (moduleObj->GetString(TYPE.c_str(), &moduleType) != Result::SUCCESS) { in GetStageEntry()
354 if (moduleType.compare(ENTRY) == 0) { in GetStageEntry()
417 bool ModuleJson::GetStageModuleType(std::string& moduleType) in GetStageModuleType() argument
424 return GetStageModuleTypeByModuleObj(moduleObj, moduleType); in GetStageModuleType()
427 bool ModuleJson::GetStageModuleTypeByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleType) in GetStageModuleTypeByModuleObj() argument
434 if (moduleObj->GetString(TYPE.c_str(), &moduleType) != Result::SUCCESS) { in GetStageModuleTypeByModuleObj()
439 moduleType = ""; in GetStageModuleTypeByModuleObj()
457 std::string moduleType; in GetStageBundleType() local
698 std::string moduleType; SetStageHapVerifyInfoByModuleObj() local
[all...]
H A Dmodule_json_fa.cpp45 const std::string MODULE_TYPE = "moduleType";
499 std::string moduleType; in GetFaEntry() local
504 if (distroObj->GetString(MODULE_TYPE.c_str(), &moduleType) != Result::SUCCESS) { in GetFaEntry()
508 if (moduleType.compare(ENTRY) == 0) { in GetFaEntry()
548 bool ModuleJson::GetFaModuleType(std::string& moduleType) in GetFaModuleType() argument
555 return GetFaModuleTypeByModuleObj(moduleObj, moduleType); in GetFaModuleType()
559 bool ModuleJson::GetFaModuleTypeByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleType) in GetFaModuleTypeByModuleObj() argument
565 moduleType = ""; in GetFaModuleTypeByModuleObj()
573 if (distroObj->GetString(MODULE_TYPE.c_str(), &moduleType) != Result::SUCCESS) { in GetFaModuleTypeByModuleObj()
777 std::string moduleType; in SetFaHapVerifyInfoByModuleObj() local
[all...]
H A Dhap_verify_info.cpp132 void HapVerifyInfo::SetModuleType(const std::string& moduleType) in SetModuleType() argument
134 moduleType_ = moduleType; in SetModuleType()
H A Dmodule_json.cpp45 const std::string MODULE_TYPE = "moduleType";
828 bool ModuleJson::CheckStageBundleType(const std::string& moduleName, const std::string& moduleType, in CheckStageBundleType() argument
845 if (moduleType.compare(SHARED) != 0) { in CheckStageBundleType()
846 LOGE("moduleType must be shared bundleType is shared[bundleType=%s][moduleType=%s]", in CheckStageBundleType()
847 bundleType.c_str(), moduleType.c_str()); in CheckStageBundleType()
1100 std::string moduleType; in CheckEntryInAtomicService() local
1102 if (!GetStageModuleType(moduleType) || !GetAbilityNames(abilityNames)) { in CheckEntryInAtomicService()
1106 if (moduleType.compare(ENTRY) == 0 && abilityNames.empty()) { in CheckEntryInAtomicService()
H A Dhap_verify_utils.cpp118 verifyCollection.moduleType = hapVerifyInfo.GetModuleType(); in CheckAppFieldsIsSame()
170 if (IsEntryOrFeature(verifyCollection.moduleType) && IsEntryOrFeature(hapVerifyInfo.GetModuleType())) { in AppFieldsIsSame()
179 bool HapVerifyUtils::IsEntryOrFeature(const std::string& moduleType) in IsEntryOrFeature() argument
181 return ((moduleType == ENTRY) || (moduleType == FEATURE)); in IsEntryOrFeature()
1178 LOGE("moduleType is not %s", TYPE_SHARED.c_str()); in CheckSharedAppIsValid()
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_stage_test/
H A Dmodule_json_stage_test.cpp270 "\"moduleType\": \"entry\","
410 "\"moduleType\": \"entry\","
540 "\"moduleType\": \"entry\","
725 "\"moduleType\": \"entry\","
867 "\"moduleType\": \"entry\","
1010 "\"moduleType\": \"entry\","
1530 std::string moduleType = ""; in HWTEST_F() local
1532 EXPECT_FALSE(moduleJson.GetStageModuleType(moduleType)); in HWTEST_F()
1533 EXPECT_EQ(moduleType.size(), 0); in HWTEST_F()
1546 std::string moduleType in HWTEST_F() local
1560 std::string moduleType = ""; HWTEST_F() local
1577 std::string moduleType = ""; HWTEST_F() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dmodule_json.h78 bool GetStageModuleType(std::string& moduleType);
79 bool GetStageModuleTypeByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleType);
136 bool GetFaModuleType(std::string& moduleType);
137 bool GetFaModuleTypeByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleType);
198 bool CheckStageBundleType(const std::string& moduleName, const std::string& moduleType,
H A Dhap_verify_utils.h49 std::string moduleType = ""; member
75 static bool IsEntryOrFeature(const std::string& moduleType);
H A Dhap_verify_info.h59 void SetModuleType(const std::string& moduleType);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_test/
H A Dmodule_json_test.cpp129 "\"moduleType\": \"entry\","
910 "\"moduleType\": \"entry\","
927 "\"moduleType\": \"entry\","
974 "\"moduleType\": \"entry\","
1057 "\"moduleType\": \"entry\","
1069 "\"moduleType\": \"entry\","
1083 "\"moduleType\": \"entry\","
1101 "\"moduleType\": {"
1122 "\"moduleType\": \"entry\","
1142 "\"moduleType\"
2015 std::string moduleType = ""; HWTEST_F() local
2603 std::string moduleType = ""; HWTEST_F() local
2618 std::string moduleType = ""; HWTEST_F() local
3934 std::string moduleType = ""; HWTEST_F() local
4698 std::string moduleType = ""; HWTEST_F() local
5233 std::string moduleType = ""; HWTEST_F() local
5249 std::string moduleType = ""; HWTEST_F() local
5265 std::string moduleType = ""; HWTEST_F() local
5281 std::string moduleType = ""; HWTEST_F() local
5297 std::string moduleType = "shared"; HWTEST_F() local
5313 std::string moduleType = ""; HWTEST_F() local
5329 std::string moduleType = ""; HWTEST_F() local
7184 std::string moduleType = ""; HWTEST_F() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dhsp_packager.cpp226 std::string moduleType; in CompressHsp() local
227 if (!moduleJson_.GetStageModuleType(moduleType)) { in CompressHsp()
230 if (moduleType != Constants::TYPE_SHARED) { in CompressHsp()
H A Dhap_packager.cpp315 std::string moduleType; in CompressHap() local
316 if (!moduleJson_.GetStageModuleType(moduleType)) { in CompressHap()
319 if (Constants::TYPE_SHARED == moduleType) { in CompressHap()
/developtools/ace_ets2bundle/compiler/
H A Dmain.js951 function isPartialUpdate(metadata, moduleType) {
988 if (item.name === 'UseTsHar' && item.value === 'true' && moduleType === 'har') {
1019 function partialUpdateController(minAPIVersion, metadata = null, moduleType = '') {
1029 isPartialUpdate(metadata, moduleType);
/developtools/ace_js2bundle/ace-loader/src/
H A DgenAbc-plugin.js631 const moduleType = 'script';
634 filesInfo += `${cacheOutputPath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;

Completed in 31 milliseconds

12