Searched refs:parseMode (Results 1 - 4 of 4) sorted by relevance
/developtools/packing_tool/adapter/ohos/ |
H A D | UncompressVerify.java | 52 LOG.error("UncompressVerify::isVerifyVaild parseMode is invalid!"); in commandVerify() 229 * @param parseMode indicates the parse mode of parse app. 233 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()
|
H A D | UncompressEntrance.java | 98 * Indicates the parseMode for parseApp interface. 218 * @param parseMode Indicates the parse mode, which can be {@link #PARSE_MODE_HAPLIST}, {@link #PARSE_MODE_HAPINFO}, 221 * when {@code #parseMode} is {@link #PARSE_MODE_HAPLIST}. 222 * @param hapName Indicates the hap name, This parameter is required when {@code #parseMode} 228 public static UncompressResult parseApp(String appPath, String parseMode, String deviceType, String hapName, in parseApp() argument 234 utility.setParseMode(parseMode); in parseApp() 259 * @param parseMode Indicates the parse mode, which can be {@link #PARSE_MODE_HAPLIST}, {@link #PARSE_MODE_HAPINFO}, 262 * when {@code #parseMode} is {@link #PARSE_MODE_HAPLIST}. 263 * @param hapName Indicates the hap name, This parameter is required when {@code #parseMode} 269 public static UncompressResult parseApp(InputStream input, String parseMode, Strin argument [all...] |
H A D | Utility.java | 78 private String parseMode = ""; field in Utility 465 return parseMode; in getParseMode() 468 public void setParseMode(String parseMode) { in setParseMode() argument 469 if (!parseMode.startsWith(CMD_PREFIX)) { in setParseMode() 470 this.parseMode = parseMode; in setParseMode()
|
H A D | Uncompress.java | 177 String parseMode = utility.getParseMode(); in uncompressAppByPath() 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() 187 LOG.error("Uncompress::uncompressApp parseMode is invalid!"); in uncompressAppByPath() 189 compressResult.setMessage("ParseApp parseMode is invalid"); in uncompressAppByPath() 293 String parseMode = utility.getParseMode(); in uncompressAppByInput() 295 if (!parseMode.isEmpty() && UncompressEntrance.PARSE_MODE_HAPLIST.equals(parseMode)) { in uncompressAppByInput() 297 } else if (!parseMode in uncompressAppByInput() [all...] |
Completed in 5 milliseconds