| /developtools/packing_tool/adapter/ohos/ |
| H A D | PreloadItem.java | 26 private String moduleName;
field in PreloadItem 29 return moduleName;
in getModuleName() 32 public void setModuleName(String moduleName) {
in setModuleName() argument 33 this.moduleName = moduleName;
in setModuleName()
|
| H A D | DependencyItem.java | 31 private String moduleName = null;
field in DependencyItem 47 return moduleName;
in getModuleName() 50 public void setModuleName(String moduleName) {
in setModuleName() argument 51 this.moduleName = moduleName;
in setModuleName()
|
| H A D | ModuleJsonInfo.java | 25 private String moduleName = ""; field in ModuleJsonInfo 38 return moduleName; in getModuleName() 41 public void setModuleName(String moduleName) { in setModuleName() argument 42 this.moduleName = moduleName; in setModuleName()
|
| H A D | HQFInfo.java | 34 private String moduleName = "";
field in HQFInfo 83 return moduleName;
in getModuleName() 86 public void setModuleName(String moduleName) {
in setModuleName() argument 87 this.moduleName = moduleName;
in setModuleName()
|
| H A D | VerifyCollection.java | 111 private String moduleName;
field in VerifyCollection 150 return moduleName;
in getModuleName() 153 public void setModuleName(String moduleName) {
in setModuleName() argument 154 this.moduleName = moduleName;
in setModuleName()
|
| H A D | HapVerifyInfo.java | 49 * Indicates the moduleName of module.
51 private String moduleName = "";
field in HapVerifyInfo 204 return moduleName;
in getModuleName() 210 public void setModuleName(String moduleName) {
in setModuleName() argument 211 this.moduleName = moduleName;
in setModuleName()
|
| H A D | ModuleJsonUtil.java | 54 private static final String MODULE_NAME = "moduleName";
248 String moduleName;
in parseStageModuleName() 250 moduleName = moduleObj.getString(NAME);
in parseStageModuleName() 255 return moduleName;
in parseStageModuleName() 259 * get the moduleName from json file for stage module.
266 String moduleName;
in parseFaModuleName() 274 LOG.error("ModuleJsonUtil:parseFaModuleName failed: json file do not contain moduleName.");
in parseFaModuleName() 276 "ModuleJsonUtil:parseFaModuleName failed: json file do not contain moduleName.");
in parseFaModuleName() 278 moduleName = distroObj.getString(MODULE_NAME);
in parseFaModuleName() 279 return moduleName;
in parseFaModuleName() 715 mergeTwoPackInfoObjByPackagePair(JSONObject finalPackObj, JSONObject srcPackObj, String packageName, String moduleName) mergeTwoPackInfoObjByPackagePair() argument 1943 parsePackInfoExtensionAbility(String moduleName, JSONObject moduleJson, List<String> formNameList, List<String> fullFormNameList) parsePackInfoExtensionAbility() argument 1963 parsePackInfoForms(String moduleName, JSONObject extensionAbilityJson, List<String> formNameList, List<String> fullFormNameList) parsePackInfoForms() argument [all...] |
| H A D | Distro.java | 24 * Indicates the moduleName of Distro. 26 public String moduleName = ""; field in Distro
|
| H A D | PackInfo.java | 32 * Indicates the moduleName of PackInfo. 34 public String moduleName = ""; field in PackInfo
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/hqf_verify_test/ |
| H A D | hqf_verify_test.cpp | 67 std::string moduleName("moduleName"); in CreateHqfInfo() 68 hqfInfo.SetModuleName(moduleName); in CreateHqfInfo() 146 std::string moduleName("test"); in HWTEST_F() 147 hqfInfo.SetModuleName(moduleName); in HWTEST_F() 153 moduleName = "moduleName"; in HWTEST_F() 154 hqfInfo.SetModuleName(moduleName); in HWTEST_F()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/json/normalize_version_utils_test/ |
| H A D | normalize_version_utils_test.cpp | 64 normalizeVersion.moduleName = "nameTest"; in HWTEST_F() 67 EXPECT_EQ(utils.ToString(normalizeVersion), "{\"moduleName\":\"nameTest\",\"originVersionCode\":100," in HWTEST_F() 82 normalizeVersion1.moduleName = "nameTest"; in HWTEST_F() 87 normalizeVersion2.moduleName = "nameTest2"; in HWTEST_F() 94 EXPECT_EQ(utils.ArrayToString(normalizeVersions), "[{\"moduleName\":\"nameTest\",\"originVersionCode\":100," in HWTEST_F() 95 "\"originVersionName\":\"versionNameTest\"},{\"moduleName\":\"nameTest2\",\"originVersionCode\":200," in HWTEST_F()
|
| /developtools/packing_tool/packing_tool/frameworks/src/json/ |
| H A D | pack_info_utils.cpp | 118 std::string moduleName = iter->second; in MergeTwoPackInfosByPackagePair() local 120 if (!MergeTwoPackInfosByPackagePair(srcPackInfo1, srcPackInfo2, tmpStr, moduleName)) { in MergeTwoPackInfosByPackagePair() 131 const std::string& moduleName) in FindAndMergeModulesByPackagePair() 155 if (moduleNameInDistroObj.compare(moduleName) == 0) { in FindAndMergeModulesByPackagePair() 165 LOGE("Cannot find same moduleName in module node!"); in FindAndMergeModulesByPackagePair() 209 const std::string& packageName, const std::string& moduleName) in MergeTwoPackInfosByPackagePair() 211 if (!FindAndMergeModulesByPackagePair(srcPackInfo1, srcPackInfo2, moduleName)) { in MergeTwoPackInfosByPackagePair() 130 FindAndMergeModulesByPackagePair(PackInfo& srcPackInfo1, PackInfo& srcPackInfo2, const std::string& moduleName) FindAndMergeModulesByPackagePair() argument 208 MergeTwoPackInfosByPackagePair(PackInfo& srcPackInfo1, PackInfo& srcPackInfo2, const std::string& packageName, const std::string& moduleName) MergeTwoPackInfosByPackagePair() argument
|
| H A D | module_json.cpp | 44 const std::string MODULE_NAME = "moduleName"; 253 bool ModuleJson::GetModuleName(std::string& moduleName) in GetModuleName() argument 260 return GetModuleNameByModuleObj(moduleObj, moduleName); in GetModuleName() 263 bool ModuleJson::GetModuleNameByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleName) in GetModuleNameByModuleObj() argument 273 if (moduleObj->GetString(NAME.c_str(), &moduleName) != Result::SUCCESS) { in GetModuleNameByModuleObj() 780 std::string& moduleName) in GetDependencyModuleNameByDependencyItemObj() 786 moduleName = ""; in GetDependencyModuleNameByDependencyItemObj() 788 if (dependencyItemObj->GetString(MODULE_NAME.c_str(), &moduleName) != Result::SUCCESS) { in GetDependencyModuleNameByDependencyItemObj() 817 if (!GetDependencyModuleNameByDependencyItemObj(dependencyItemObj, dependencyItem.moduleName)) { in GetDependencyItemsByModuleObj() 828 bool ModuleJson::CheckStageBundleType(const std::string& moduleName, cons argument 779 GetDependencyModuleNameByDependencyItemObj(std::unique_ptr<PtJson>& dependencyItemObj, std::string& moduleName) GetDependencyModuleNameByDependencyItemObj() argument 895 std::string moduleName; GetAtomicServicePreloadsByModuleObj() local 1135 std::string moduleName; CheckAtomicServiceInstallationFree() local 1205 std::string moduleName; CheckStageOverlayCfg() local 1321 std::string moduleName; GetNormalizeVersion() local [all...] |
| H A D | normalize_version_utils.cpp | 26 const std::string MODULE_NAME = "moduleName"; 32 if (!ptJson->Add(MODULE_NAME.c_str(), normalizeVersion.moduleName.c_str())) { in ToString() 49 if (!versionJson->Add(MODULE_NAME.c_str(), normalizeVersion.moduleName.c_str())) { in ArrayToString()
|
| H A D | pack_info.cpp | 37 const std::string MODULE_NAME = "moduleName"; 444 bool PackInfo::GetModuleNameByDistroObj(const std::unique_ptr<PtJson>& distroObj, std::string& moduleName) in GetModuleNameByDistroObj() argument 451 if (distroObj->GetString(MODULE_NAME.c_str(), &moduleName) != Result::SUCCESS) { in GetModuleNameByDistroObj() 456 moduleName = ""; in GetModuleNameByDistroObj() 556 std::string moduleName; in GetFormNames() local 557 if (!GetModuleNameByDistroObj(distroObj, moduleName) || moduleName.empty()) { in GetFormNames() 558 LOGE("GetModuleNameByDistroObj failed or moduleName is empty!"); in GetFormNames() 566 if (!GetFormNamesByExtensionAbilitiesObj(extensionAbilitiesObj, moduleName, formNames, formFullNames)) { in GetFormNames() 575 std::string moduleName, st in GetFormNamesByExtensionAbilitiesObj() 574 GetFormNamesByExtensionAbilitiesObj(const std::unique_ptr<PtJson>& extensionAbilitiesObj, std::string moduleName, std::list<std::string>& formNames, std::list<std::string>& formFullNames) GetFormNamesByExtensionAbilitiesObj() argument 596 GetFormNamesByFormsObj(const std::unique_ptr<PtJson>& formsObj, std::string moduleName, std::list<std::string>& formNames, std::list<std::string>& formFullNames) GetFormNamesByFormsObj() argument [all...] |
| H A D | hap_verify_utils.cpp | 35 const std::string MODULE_NAME = "moduleName"; 117 verifyCollection.moduleName = hapVerifyInfo.GetModuleName(); in CheckAppFieldsIsSame() 123 verifyCollection.moduleName.c_str(), hapVerifyInfo.GetModuleName().c_str()); in CheckAppFieldsIsSame() 664 GetLayerHapVerifyInfos(dependency.moduleName, hapVerifyInfo, hapVerifyInfos, layerHapVerifyInfos); in DfsTraverseDependency() 722 if (dependencyItem.moduleName == hapVerifyInfo.GetModuleName() && in CheckDependencyInFileList() 730 void HapVerifyUtils::GetLayerHapVerifyInfos(const std::string& moduleName, const HapVerifyInfo& hapVerifyInfo, in GetLayerHapVerifyInfos() argument 734 if (hapVerifyInfo.GetModuleName() == moduleName && CheckModuleJoint(hapVerifyInfo, hapVerifyInfo)) { in GetLayerHapVerifyInfos() 808 if (Utils::CheckListContain(preloadModuleNames, preloadItem.moduleName)) { in CheckAtomicServicePreloadsIsValid() 810 preloadItem.moduleName.c_str(), hapVerifyInfo.GetModuleName().c_str()); in CheckAtomicServicePreloadsIsValid() 813 preloadModuleNames.push_back(preloadItem.moduleName); in CheckAtomicServicePreloadsIsValid() 951 FindAtomicServiceHapVerifyInfo(const std::string& moduleName, const std::list<HapVerifyInfo>& hapVerifyInfos) FindAtomicServiceHapVerifyInfo() argument 1167 std::string moduleName = hapVerifyInfos.begin()->GetModuleName(); CheckSharedAppIsValid() local [all...] |
| /developtools/global_resource_tool/include/ |
| H A D | file_manager.h | 34 void SetModuleName(const std::string &moduleName) in SetModuleName() argument 36 moduleName_ = moduleName; in SetModuleName()
|
| /developtools/packing_tool/packing_tool/frameworks/include/json/ |
| H A D | pack_info_utils.h | 45 const std::string& packageName, const std::string& moduleName); 47 const std::string& moduleName);
|
| H A D | hqf_info.h | 85 void SetModuleName(const std::string& moduleName) in SetModuleName() argument 87 moduleName_ = moduleName; in SetModuleName()
|
| H A D | pack_info.h | 74 bool GetModuleNameByDistroObj(const std::unique_ptr<PtJson>& distroObj, std::string& moduleName); 82 std::string moduleName, std::list<std::string>& formNames, std::list<std::string>& formFullNames); 84 std::string moduleName, std::list<std::string>& formNames, std::list<std::string>& formFullNames);
|
| H A D | dependency_item.h | 25 std::string moduleName = ""; member
|
| H A D | normalize_version.h | 26 std::string moduleName = ""; member
|
| H A D | preload_item.h | 24 std::string moduleName = ""; member
|
| H A D | module_json.h | 61 bool GetStageModuleName(std::string& moduleName); 62 bool GetStageModuleNameByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleName); 149 bool GetModuleName(std::string& moduleName); 150 bool GetModuleNameByModuleObj(std::unique_ptr<PtJson>& moduleObj, std::string& moduleName); 198 bool CheckStageBundleType(const std::string& moduleName, const std::string& moduleType, 205 std::string& moduleName);
|
| H A D | hap_verify_utils.h | 48 std::string moduleName = ""; member 118 static void GetLayerHapVerifyInfos(const std::string& moduleName, const HapVerifyInfo& hapVerifyInfo, 128 static const HapVerifyInfo* FindAtomicServiceHapVerifyInfo(const std::string& moduleName,
|