• Home
  • Raw
  • Download

Lines Matching full:app

30     private static final String APP = "app";  field in ModuleJsonUtil
105 if (jsonObject.containsKey(APP)) { in parseStageVersion()
106 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageVersion()
121 String errMsg = "ModuleJsonUtil:parseStageVersion json file do not contain app."; in parseStageVersion()
146 JSONObject appObj = jsonObject.getJSONObject(APP); in parseFaVersion()
148 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseFaVersion()
149 … throw new BundleException("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseFaVersion()
184 return APP; in parseFaBundleType()
203 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageModuleApiVersion()
205 LOG.error("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseStageModuleApiVersion()
206 … throw new BundleException("ModuleJsonUtil:parseFaVersion failed : json file do not contain app."); in parseStageModuleApiVersion()
237 JSONObject appObj = jsonObject.getJSONObject(APP); in parseFAModuleApiVersion()
239 … throw new BundleException("ModuleJsonUtil::parseFAAPIVersion json file do not contain app."); in parseFAModuleApiVersion()
368 JSONObject appObject = jsonObject.getJSONObject(APP); in parseBundleName()
370 LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseBundleName()
371 … throw new BundleException("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseBundleName()
399 JSONObject appObject = jsonObject.getJSONObject(APP); in parseVendor()
401 LOG.error("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseVendor()
402 … throw new BundleException("ModuleJsonUtil::parseStageBundleName json object do not contain app."); in parseVendor()
457 // check app info in verifyPackInfo()
458 JSONObject finalAppObj = finalSummaryObj.getJSONObject(APP); in verifyPackInfo()
459 JSONObject srcAppObj = srcSummaryObj.getJSONObject(APP); in verifyPackInfo()
461 LOG.error("ModuleJsonUtil:verifyPackInfo pack.info do not contain app."); in verifyPackInfo()
465 LOG.error("ModuleJsonUtil:verifyPackInfo verify app failed."); in verifyPackInfo()
473 * verify app in pack.info file.
475 * @param finalAppObj is the final pack.info app object
476 * @param srcAppObj is the src pack.info app object
521 * @param finalAppObj is the final pack.info app objects
522 * @param srcAppObj is the src pack.info app objects
530 String finalBundleType = "app"; in checkBundleTypeInPackInfo()
531 String srcBundleType = "app"; in checkBundleTypeInPackInfo()
710 // verify app in pack.info in mergeTwoPackInfoByPackagePair()
712 JSONObject finalAppObj = finalSummaryObj.getJSONObject(APP); in mergeTwoPackInfoByPackagePair()
714 JSONObject srcAppObj = srcSummaryObj.getJSONObject(APP); in mergeTwoPackInfoByPackagePair()
915 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
917 JSONObject appObj = jsonObject.getJSONObject(APP); in checkEntryInAtomicService()
919 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
920 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkEntryInAtomicService()
1320 JSONObject appObj = jsonObject.getJSONObject(APP); in parseStageBundleType()
1322 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in parseStageBundleType()
1323 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in parseStageBundleType()
1333 … String errMessage = "The app.json5 file configuration does not match the installationFree:" + in parseStageBundleType()
1334 … " true settings. Add the bundleType field to the app.json5 file and set it atomicService."; in parseStageBundleType()
1338 return APP; in parseStageBundleType()
1341 if (bundleType.equals(APP)) { in parseStageBundleType()
1343 LOG.error("installationFree must be false when bundleType is app."); in parseStageBundleType()
1344 … throw new BundleException("installationFree must be false when bundleType is app."); in parseStageBundleType()
1346 return APP; in parseStageBundleType()
1354 LOG.error("bundleType is invalid in app.json."); in parseStageBundleType()
1355 throw new BundleException("bundleType is invalid in app.json."); in parseStageBundleType()
1463 JSONObject appObj = jsonObject.getJSONObject(APP); in parsePatch()
1465 … LOG.error("Error: parsePatch failed, input patch.json is invalid, patch.json has no app."); in parsePatch()
1518 JSONObject appObj = jsonObject.getJSONObject(APP); in getStageAsanEnabled()
1520 LOG.error("Error: parse failed, input module.json is invalid, module.json has no app."); in getStageAsanEnabled()
1521 … new BundleException("Error: parse failed, input module.json is invalid, module.json has no app."); in getStageAsanEnabled()
1543 JSONObject appObj = jsonObject.getJSONObject(APP); in getStageApiReleaseType()
1545 LOG.error("Error: parse failed, input module.json is invalid, module.json has no app."); in getStageApiReleaseType()
1546 … new BundleException("Error: parse failed, input module.json is invalid, module.json has no app."); in getStageApiReleaseType()
1565 JSONObject appObj = jsonObject.getJSONObject(APP); in getDebug()
1567 LOG.error("parse failed, input module.json is invalid, module.json has no app."); in getDebug()
1568 … throw new BundleException("parse failed, input module.json is invalid, module.json has no app."); in getDebug()
1614 JSONObject appObj = jsonObject.getJSONObject(APP); in getFAAsanEnabled()
1616 LOG.error("Error: parse failed, input module.json is invalid, module.json has no app."); in getFAAsanEnabled()
1617 … new BundleException("Error: parse failed, input module.json is invalid, module.json has no app."); in getFAAsanEnabled()
1639 JSONObject appObj = jsonObject.getJSONObject(APP); in getFAReleaseType()
1641 LOG.error("Error: parse failed, input config.json is invalid, config.json has no app."); in getFAReleaseType()
1642 … new BundleException("Error: parse failed, input config.json is invalid, config.json has no app."); in getFAReleaseType()
1667 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
1672 JSONObject appObj = jsonObject.getJSONObject(APP); in isModuleAtomicServiceValid()
1674 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
1675 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in isModuleAtomicServiceValid()
1701 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
1703 JSONObject appObj = jsonObject.getJSONObject(APP); in checkAtomicServiceInstallationFree()
1705 LOG.error("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
1706 … throw new BundleException("parse failed, input config.json is invalid, module.json has no app."); in checkAtomicServiceInstallationFree()
1711 … String errMessage = "The app.json5 file configuration does not match the installationFree:" + in checkAtomicServiceInstallationFree()
1712 … " true settings. Add the bundleType field to the app.json5 file and set it atomicService."; in checkAtomicServiceInstallationFree()
1719 if (bundleType.equals(APP)) { in checkAtomicServiceInstallationFree()
1721 LOG.error("installationFree must be false when bundleType is app."); in checkAtomicServiceInstallationFree()
1730 LOG.error("bundleType is invalid in app.json."); in checkAtomicServiceInstallationFree()