Home
last modified time | relevance | path

Searched refs:installationFree (Results 1 - 12 of 12) sorted by relevance

/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dmodule_json_stage.cpp63 const std::string INSTALLATION_FREE = "installationFree";
166 bool ModuleJson::GetStageInstallationFree(bool& installationFree) in GetStageInstallationFree() argument
173 return GetStageInstallationFreeByModuleObj(moduleObj, installationFree); in GetStageInstallationFree()
176 bool ModuleJson::GetStageInstallationFreeByModuleObj(std::unique_ptr<PtJson>& moduleObj, bool& installationFree) in GetStageInstallationFreeByModuleObj() argument
182 installationFree = false; in GetStageInstallationFreeByModuleObj()
184 if (moduleObj->GetBool(INSTALLATION_FREE.c_str(), &installationFree) != Result::SUCCESS) { in GetStageInstallationFreeByModuleObj()
463 bool installationFree = false; in GetStageBundleType() local
464 GetStageInstallationFreeByModuleObj(moduleObj, installationFree); in GetStageBundleType()
466 if (installationFree) { in GetStageBundleType()
467 LOGE("The app.json5 file configuration does not match the installationFree in GetStageBundleType()
699 bool installationFree = false; SetStageHapVerifyInfoByModuleObj() local
[all...]
H A Dmodule_json_fa.cpp63 const std::string INSTALLATION_FREE = "installationFree";
184 bool ModuleJson::GetFaInstallationFree(bool& installationFree) in GetFaInstallationFree() argument
191 return GetFaInstallationFreeByDistroObj(distroObj, installationFree); in GetFaInstallationFree()
194 bool ModuleJson::GetFaInstallationFreeByModuleObj(std::unique_ptr<PtJson>& moduleObj, bool& installationFree) in GetFaInstallationFreeByModuleObj() argument
205 return GetFaInstallationFreeByDistroObj(distroObj, installationFree); in GetFaInstallationFreeByModuleObj()
208 bool ModuleJson::GetFaInstallationFreeByDistroObj(std::unique_ptr<PtJson>& distroObj, bool& installationFree) in GetFaInstallationFreeByDistroObj() argument
214 installationFree = false; in GetFaInstallationFreeByDistroObj()
216 if (distroObj->GetBool(INSTALLATION_FREE.c_str(), &installationFree) != Result::SUCCESS) { in GetFaInstallationFreeByDistroObj()
226 bool installationFree = false; in GetFaBundleType() local
227 if (!GetFaInstallationFree(installationFree)) { in GetFaBundleType()
779 bool installationFree = false; SetFaHapVerifyInfoByModuleObj() local
[all...]
H A Dmodule_json.cpp63 const std::string INSTALLATION_FREE = "installationFree";
829 const std::string& bundleType, const bool& installationFree) in CheckStageBundleType()
832 if (installationFree) { in CheckStageBundleType()
833 LOGE("installationFree must be false in module %s when bundleType is app", moduleName.c_str()); in CheckStageBundleType()
838 if (!installationFree) { in CheckStageBundleType()
1121 bool installationFree = false; in CheckAtomicServiceInstallationFree() local
1122 GetStageInstallationFreeByModuleObj(moduleObj, installationFree); in CheckAtomicServiceInstallationFree()
1124 if (installationFree) { in CheckAtomicServiceInstallationFree()
1125 LOGE("installationFree must be false when app node has no %s", BUNDLE_TYPE.c_str()); in CheckAtomicServiceInstallationFree()
1143 if (installationFree) { in CheckAtomicServiceInstallationFree()
828 CheckStageBundleType(const std::string& moduleName, const std::string& moduleType, const std::string& bundleType, const bool& installationFree) CheckStageBundleType() argument
[all...]
/developtools/packing_tool/adapter/ohos/
H A DDistro.java39 * Indicates the installationFree of Distro.
41 public int installationFree = 2; field in Distro
H A DModuleInfo.java91 * Indicates the installationFree of ModuleInfo.
93 public int installationFree = INSTALL_FREE_UNDEFINED; field in ModuleInfo
H A DModuleJsonUtil.java78 private static final String INSTALLATION_FREE = "installationFree";
183 boolean installationFree = parseFAInstallationFree(jsonString); in parseFaBundleType()
184 if (installationFree) { in parseFaBundleType()
1255 boolean installationFree = getJsonBooleanValue(moduleObj, INSTALLATION_FREE, false); in parseStageBundleType()
1258 if (installationFree) { in parseStageBundleType()
1259 String errMessage = "The app.json5 file configuration does not match the installationFree:" + in parseStageBundleType()
1268 if (installationFree) { in parseStageBundleType()
1269 String errMsg = "installationFree must be false in module(" + in parseStageBundleType()
1276 if (!installationFree) { in parseStageBundleType()
1277 String errMsg = "installationFree mus in parseStageBundleType()
[all...]
H A DModuleAdaption.java139 hapInfo.distro.installationFree = moduleInfo.installationFree; in convertToHapInfo()
H A DJsonUtil.java106 private static final String INSTALLATION_FREE = "installationFree";
751 if (distroObj.containsKey("installationFree")) { in getDistro()
752 boolean isFreeInstall = distroObj.getBoolean("installationFree"); in getDistro()
754 distro.installationFree = 1; in getDistro()
756 distro.installationFree = 0; in getDistro()
759 distro.installationFree = 2; in getDistro()
1168 moduleInfo.installationFree = 1; in parseInstallationFree()
1170 moduleInfo.installationFree = 0; in parseInstallationFree()
1173 moduleInfo.installationFree = 2; in parseInstallationFree()
H A DUncompress.java804 if (profileInfo.hapInfo.distro.installationFree == 1) { in getFABundleType()
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dmodule_json.h71 bool GetStageInstallationFree(bool& installationFree);
72 bool GetStageInstallationFreeByModuleObj(std::unique_ptr<PtJson>& moduleObj, bool& installationFree);
113 bool GetFaInstallationFree(bool& installationFree);
114 bool GetFaInstallationFreeByModuleObj(std::unique_ptr<PtJson>& moduleObj, bool& installationFree);
115 bool GetFaInstallationFreeByDistroObj(std::unique_ptr<PtJson>& distroObj, bool& installationFree);
199 const std::string& bundleType, const bool& installationFree);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_test/
H A Dmodule_json_test.cpp87 "\"installationFree\": true,"
128 "\"installationFree\": false,"
241 "\"installationFree\": true,"
431 "\"installationFree\": true,"
464 "\"installationFree\": true,"
479 "\"installationFree\": true,"
492 "\"installationFree\": true,"
505 "\"installationFree\": true"
542 "\"installationFree\": true,"
557 "\"installationFree\"
1787 bool installationFree = true; HWTEST_F() local
1802 bool installationFree = true; HWTEST_F() local
1970 bool installationFree = false; HWTEST_F() local
3589 bool installationFree = true; HWTEST_F() local
3605 bool installationFree = true; HWTEST_F() local
3622 bool installationFree = true; HWTEST_F() local
3638 bool installationFree = true; HWTEST_F() local
4656 bool installationFree = true; HWTEST_F() local
5235 bool installationFree = false; HWTEST_F() local
5251 bool installationFree = true; HWTEST_F() local
5267 bool installationFree = false; HWTEST_F() local
5283 bool installationFree = false; HWTEST_F() local
5299 bool installationFree = false; HWTEST_F() local
5315 bool installationFree = false; HWTEST_F() local
5331 bool installationFree = false; HWTEST_F() local
6925 bool installationFree = true; HWTEST_F() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_stage_test/
H A Dmodule_json_stage_test.cpp94 "\"installationFree\": true,"
228 "\"installationFree\": true,"
269 "\"installationFree\": false,"
368 "\"installationFree\": true,"
409 "\"installationFree\": false,"
507 "\"installationFree\": \"test_version_name\","
539 "\"installationFree\": false,"
683 "\"installationFree\": true,"
724 "\"installationFree\": false,"
825 "\"installationFree\"
1185 bool installationFree = true; HWTEST_F() local
1200 bool installationFree = true; HWTEST_F() local
[all...]

Completed in 20 milliseconds