• Home
  • Raw
  • Download

Lines Matching full:app

29     private static final String APP = "app";  field in ModuleJsonUtil
116 if (jsonObject.containsKey(APP)) { in parseStageVersion()
117 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageVersion()
132 String errMsg = "ModuleJsonUtil:parseStageVersion json file do not contain app."; in parseStageVersion()
157 JSONObject appObj = jsonObject.getJSONObject(APP); in parseFaVersion()
159 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseFaVersion()
160 … throw new BundleException("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseFaVersion()
195 return APP; in parseFaBundleType()
214 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageModuleApiVersion()
216 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseStageModuleApiVersion()
217 … throw new BundleException("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseStageModuleApiVersion()
248 JSONObject appObj = jsonObject.getJSONObject(APP); in parseFAModuleApiVersion()
250 … throw new BundleException("ModuleJsonUtil::parseFAAPIVersion json file do not contain app."); in parseFAModuleApiVersion()
411 JSONObject appObject = jsonObject.getJSONObject(APP); in parseBundleName()
413 LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseBundleName()
414 … throw new BundleException("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseBundleName()
442 JSONObject appObject = jsonObject.getJSONObject(APP); in parseVendor()
444 LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseVendor()
445 … throw new BundleException("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseVendor()
500 // check app info in verifyPackInfo()
501 JSONObject finalAppObj = finalSummaryObj.getJSONObject(APP); in verifyPackInfo()
502 JSONObject srcAppObj = srcSummaryObj.getJSONObject(APP); in verifyPackInfo()
504 LOG.error("ModuleJsonUtil:verifyPackInfo pack.info do not contain app."); in verifyPackInfo()
508 LOG.error("ModuleJsonUtil:verifyPackInfo verify app failed."); in verifyPackInfo()
516 * verify app in pack.info file.
518 * @param finalAppObj is the final pack.info app object
519 * @param srcAppObj is the src pack.info app object
564 * @param finalAppObj is the final pack.info app objects
565 * @param srcAppObj is the src pack.info app objects
573 String finalBundleType = "app"; in checkBundleTypeInPackInfo()
574 String srcBundleType = "app"; in checkBundleTypeInPackInfo()
753 // verify app in pack.info in mergeTwoPackInfoByPackagePair()
755 JSONObject finalAppObj = finalSummaryObj.getJSONObject(APP); in mergeTwoPackInfoByPackagePair()
757 JSONObject srcAppObj = srcSummaryObj.getJSONObject(APP); in mergeTwoPackInfoByPackagePair()
1327 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageBundleType()
1329 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in parseStageBundleType()
1330 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in parseStageBundleType()
1349 … String errMessage = "The app.json5 file configuration does not match the installationFree:" + in parseStageBundleType()
1350 … " true settings. Add the bundleType field to the app.json5 file and set it atomicService."; in parseStageBundleType()
1354 return APP; in parseStageBundleType()
1357 if (bundleType.equals(APP)) { in parseStageBundleType()
1359 LOG.error("installationFree must be false when bundleType is app."); in parseStageBundleType()
1360 … throw new BundleException("installationFree must be false when bundleType is app."); in parseStageBundleType()
1362 return APP; in parseStageBundleType()
1376 LOG.error("bundleType is invalid in app.json."); in parseStageBundleType()
1377 throw new BundleException("bundleType is invalid in app.json."); in parseStageBundleType()
1459 JSONObject appObj = jsonObject.getJSONObject(APP); in getAppObj()
1461 LOG.error("ModuleJsonUtil::parseStageInstallation json do not contain app."); in getAppObj()
1462 … throw new BundleException("ModuleJsonUtil::parseStageInstallation json do not contain app."); in getAppObj()
1476 JSONObject appObject = jsonObject.getJSONObject(APP); in parseTargetBundleName()
1478 LOG.error("ModuleJsonUtil::parseTargetBundleName json object do not contain app."); in parseTargetBundleName()
1479 …throw new BundleException("ModuleJsonUtil::parseTargetBundleName json object do not contain app."); in parseTargetBundleName()
1497 JSONObject appObject = jsonObject.getJSONObject(APP); in parseTargetPriority()
1499 LOG.error("ModuleJsonUtil::parseTargetPriority json object do not contain app."); in parseTargetPriority()
1500 … throw new BundleException("ModuleJsonUtil::parseTargetPriority json object do not contain app."); in parseTargetPriority()
1520 LOG.error("ModuleJsonUtil::parseTargetBundleName json object do not contain app."); in parseTargetModuleName()
1521 …throw new BundleException("ModuleJsonUtil::parseTargetBundleName json object do not contain app."); in parseTargetModuleName()
1541 LOG.error("ModuleJsonUtil::parseTargetPriority json object do not contain app."); in parseTargetModulePriority()
1542 … throw new BundleException("ModuleJsonUtil::parseTargetPriority json object do not contain app."); in parseTargetModulePriority()
1603 JSONObject appObj = jsonObject.getJSONObject(APP); in parsePatch()
1605 LOG.error("parsePatch failed, input patch.json is invalid, patch.json has no app."); in parsePatch()
1685 JSONObject appObj = jsonObject.getJSONObject(APP); in getStageAsanEnabled()
1687 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getStageAsanEnabled()
1688 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getStageAsanEnabled()
1710 JSONObject appObj = jsonObject.getJSONObject(APP); in getStageApiReleaseType()
1712 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getStageApiReleaseType()
1713 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getStageApiReleaseType()
1732 JSONObject appObj = jsonObject.getJSONObject(APP); in getDebug()
1734 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getDebug()
1735 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getDebug()
1781 JSONObject appObj = jsonObject.getJSONObject(APP); in getFACompileSdkVersion()
1783 … throw new BundleException("ModuleJsonUtil::parseFAAPIVersion json file do not contain app."); in getFACompileSdkVersion()
1811 JSONObject appObj = jsonObject.getJSONObject(APP); in getFACompileSdkType()
1813 … throw new BundleException("ModuleJsonUtil::parseFAAPIVersion json file do not contain app."); in getFACompileSdkType()
1837 JSONObject appObj = jsonObject.getJSONObject(APP); in getCompileSdkVersion()
1839 … LOG.error("ModuleJsonUtil:parseStageModuleName failed: json file do not contain app."); in getCompileSdkVersion()
1840 …w new BundleException("ModuleJsonUtil:parseStageModuleName failed: json file do not contain app."); in getCompileSdkVersion()
1866 JSONObject appObj = jsonObject.getJSONObject(APP); in getCompileSdkType()
1868 … LOG.error("ModuleJsonUtil:parseStageModuleName failed: json file do not contain app."); in getCompileSdkType()
1869 …w new BundleException("ModuleJsonUtil:parseStageModuleName failed: json file do not contain app."); in getCompileSdkType()
1900 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getStageTargetModuleName()
1901 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getStageTargetModuleName()
1920 JSONObject appObj = jsonObject.getJSONObject(APP); in getStageTargetBundleName()
1922 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getStageTargetBundleName()
1923 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getStageTargetBundleName()
1949 * is existed targetPriority in app.json
1955 return isExistedProperty(jsonString, APP, TARGET_PRIORITY); in isExistedStageAppTargetPriority()
1990 JSONObject appObj = jsonObject.getJSONObject(APP); in getFAAsanEnabled()
1992 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getFAAsanEnabled()
1993 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getFAAsanEnabled()
2015 JSONObject appObj = jsonObject.getJSONObject(APP); in getFAReleaseType()
2017 LOG.error("parse failed, input config.json is invalid, config.json has no app."); in getFAReleaseType()
2018 … throw new BundleException("parse failed, input config.json is invalid, config.json has no app."); in getFAReleaseType()
2045 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
2050 JSONObject appObj = jsonObject.getJSONObject(APP); in isModuleAtomicServiceValid()
2052 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
2053 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
2080 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
2082 JSONObject appObj = jsonObject.getJSONObject(APP); in checkEntryInAtomicService()
2084 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
2085 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
2115 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
2117 JSONObject appObj = jsonObject.getJSONObject(APP); in checkAtomicServiceInstallationFree()
2119 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
2120 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
2125 … String errMessage = "The app.json5 file configuration does not match the installationFree:" + in checkAtomicServiceInstallationFree()
2126 … " true settings. Add the bundleType field to the app.json5 file and set it atomicService."; in checkAtomicServiceInstallationFree()
2133 if (bundleType.equals(APP)) { in checkAtomicServiceInstallationFree()
2135 LOG.error("installationFree must be false when bundleType is app."); in checkAtomicServiceInstallationFree()
2149 LOG.error("bundleType is invalid in app.json."); in checkAtomicServiceInstallationFree()