Home
last modified time | relevance | path

Searched refs:parseMode (Results 1 – 5 of 5) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DUncompressVerify.java233 public static boolean isParseAppModeValid(String parseMode, String hapName) { in isParseAppModeValid() argument
234 if (!UncompressEntrance.PARSE_MODE_HAPLIST.equals(parseMode) && in isParseAppModeValid()
235 !UncompressEntrance.PARSE_MODE_HAPINFO.equals(parseMode) && in isParseAppModeValid()
236 !UncompressEntrance.PARSE_MODE_ALL.equals(parseMode)) { in isParseAppModeValid()
237 LOG.error("uncompressVerify parse mode " + parseMode + " is invalid!"); in isParseAppModeValid()
240 if (UncompressEntrance.PARSE_MODE_HAPINFO.equals(parseMode) && hapName.isEmpty()) { in isParseAppModeValid()
DUncompressEntrance.java228 …public static UncompressResult parseApp(String appPath, String parseMode, String deviceType, Strin… in parseApp() argument
234 utility.setParseMode(parseMode); in parseApp()
269 …public static UncompressResult parseApp(InputStream input, String parseMode, String deviceType, St… in parseApp() argument
282 utility.setParseMode(parseMode); in parseApp()
DUtility.java75 private String parseMode = ""; field in Utility
451 return parseMode; in getParseMode()
454 public void setParseMode(String parseMode) { in setParseMode() argument
455 if (!parseMode.startsWith(CMD_PREFIX)) { in setParseMode()
456 this.parseMode = parseMode; in setParseMode()
DUncompress.java177 String parseMode = utility.getParseMode(); in uncompressAppByPath() local
180 if (UncompressEntrance.PARSE_MODE_HAPLIST.equals(parseMode)) { in uncompressAppByPath()
182 } else if (UncompressEntrance.PARSE_MODE_HAPINFO.equals(parseMode)) { in uncompressAppByPath()
184 } else if (UncompressEntrance.PARSE_MODE_ALL.equals(parseMode)) { in uncompressAppByPath()
287 String parseMode = utility.getParseMode(); in uncompressAppByInput() local
289 if (!parseMode.isEmpty() && UncompressEntrance.PARSE_MODE_HAPLIST.equals(parseMode)) { in uncompressAppByInput()
291 … } else if (!parseMode.isEmpty() && UncompressEntrance.PARSE_MODE_HAPINFO.equals(parseMode)) { in uncompressAppByInput()
293 … } else if (!parseMode.isEmpty() && UncompressEntrance.PARSE_MODE_ALL.equals(parseMode)) { in uncompressAppByInput()
/developtools/packing_tool/
DREADME_zh.md342 | UncompressEntrance | UncomperssResult parseApp(String appPath,String parseMode,String deviceType,…
343 | UncompressEntrance | UncomperssResult parseApp(InputStream input,String parseMode,String deviceTy…