Home
last modified time | relevance | path

Searched refs:Utility (Results 1 – 19 of 19) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DUncompressEntrance.java151 Utility utility = new Utility(); in unpack()
152 utility.setMode(Utility.MODE_APP); in unpack()
192 Utility utility = new Utility(); in unpackHap()
193 utility.setMode(Utility.MODE_HAP); in unpackHap()
232 Utility utility = new Utility(); in parseApp()
280 Utility utility = new Utility(); in parseApp()
281 utility.setMode(Utility.MODE_APP); in parseApp()
308 Utility utility = new Utility(); in parseApp()
346 Utility utility = new Utility(); in parseApp()
368 Utility utility = new Utility(); in parseHap()
[all …]
DUncompressVerify.java42 public static boolean commandVerify(Utility utility) { in commandVerify()
56 if (Utility.MODE_HAP.equals(utility.getMode())) { in commandVerify()
58 } else if (Utility.MODE_HAR.equals(utility.getMode())) { in commandVerify()
60 } else if (Utility.MODE_APP.equals(utility.getMode())) { in commandVerify()
62 } else if (Utility.MODE_APPQF.equals(utility.getMode())) { in commandVerify()
64 } else if (Utility.MODE_HSP.equals(utility.getMode())) { in commandVerify()
78 private static boolean hapCommandVerify(Utility utility) { in hapCommandVerify()
97 private static boolean hspCommandVerify(Utility utility) { in hspCommandVerify()
113 private static boolean rpcidCommandVerify(Utility utility) { in rpcidCommandVerify()
128 private static boolean harCommandVerify(Utility utility) { in harCommandVerify()
[all …]
DCompressVerify.java87 public static boolean commandVerify(Utility utility) { in commandVerify()
107 private static boolean commandPathVerify(Utility utility) { in commandPathVerify()
109 case Utility.MODE_HAP: in commandPathVerify()
115 case Utility.MODE_HAR: in commandPathVerify()
117 case Utility.MODE_APP: in commandPathVerify()
119 case Utility.MODE_RES: in commandPathVerify()
121 case Utility.MODE_MULTI_APP: in commandPathVerify()
123 case Utility.MODE_HQF: in commandPathVerify()
125 case Utility.MODE_APPQF: in commandPathVerify()
127 case Utility.MODE_HSP: in commandPathVerify()
[all …]
DUncompress.java85 static boolean unpackageProcess(Utility utility) { in unpackageProcess()
100 if (!Utility.MODE_HAP.equals(utility.getMode()) || !TRUE.equals(utility.getRpcid())) { in unpackageProcess()
108 case Utility.MODE_HAP: in unpackageProcess()
111 case Utility.MODE_HAR: in unpackageProcess()
114 case Utility.MODE_APP: in unpackageProcess()
117 case Utility.MODE_APPQF: in unpackageProcess()
120 case Utility.MODE_HSP: in unpackageProcess()
143 static void unpackageHapMode(Utility utility) throws BundleException { in unpackageHapMode()
144 if (!Utility.MODE_HAP.equals(utility.getMode())) { in unpackageHapMode()
173 static UncompressResult uncompressAppByPath(Utility utility) { in uncompressAppByPath()
[all …]
DCompressEntrance.java56 Utility utility = new Utility(); in pack()
57 utility.setMode(Utility.MODE_APP); in pack()
97 Utility utility = new Utility(); in main()
DCompressor.java248 public void parseFileSizeLimit(Utility utility) throws BundleException { in parseFileSizeLimit()
320 public boolean compressProcess(Utility utility) { in compressProcess()
322 case Utility.VERSION_NORMALIZE: in compressProcess()
325 case Utility.MODE_HAPADDITION: in compressProcess()
328 case Utility.PACKAGE_NORMALIZE: in compressProcess()
335 private boolean defaultProcess(Utility utility) { in defaultProcess()
362 Utility.closeStream(zipOut); in defaultProcess()
363 Utility.closeStream(checkedOut); in defaultProcess()
364 Utility.closeStream(fileOut); in defaultProcess()
376 private void compressExcute(Utility utility) throws BundleException { in compressExcute()
[all …]
DFileUtils.java360 Utility.closeStream(inputStream); in copyFile()
361 Utility.closeStream(outputStream); in copyFile()
418 Utility.closeStream(zipFile); in getJsonInZips()
419 Utility.closeStream(zipInput); in getJsonInZips()
420 Utility.closeStream(zin); in getJsonInZips()
421 Utility.closeStream(inputStream); in getJsonInZips()
422 Utility.closeStream(reader); in getJsonInZips()
423 Utility.closeStream(br); in getJsonInZips()
479 Utility.closeStream(bufferedReader); in getFileStringFromZip()
480 Utility.closeStream(fileInputStream); in getFileStringFromZip()
[all …]
DScanEntrance.java38 Utility utility = new Utility(); in main()
DScanVerify.java45 public static boolean commandVerify(Utility utility) { in commandVerify()
DScan.java74 public boolean scanProcess(Utility utility) { in scanProcess()
103 …private void scanExecute(Utility utility) throws BundleException, IOException, NoSuchAlgorithmExce… in scanExecute()
141 …private List<String> getAllInputFileList(Utility utility, String path) throws BundleException, IOE… in getAllInputFileList()
DCommandParser.java102 …private static final Map<String, Function<Map.Entry<Utility, String>, Boolean>> commandFuncs = new…
374 public static boolean commandParser(Utility utility, String[] args) { in commandParser()
382 Map.Entry<Utility, String> entry = new AbstractMap.SimpleEntry<>(utility, value); in commandParser()
DUtility.java29 public class Utility { class
45 private static final Log LOG = new Log(Utility.class.toString());
DScanStatFileSize.java147 public String statFileSize(Utility utility, List<String> jsonList, List<String> fileList) { in statFileSize()
DPackageNormalize.java67 public static boolean normalize(Utility utility) { in normalize()
DScanStatDuplicate.java169 public String statDuplicate(Utility utility, List<String> jsonList, List<String> fileList) in statDuplicate()
DScanStatSuffix.java218 public String statSuffix(Utility utility, List<String> jsonList, List<String> fileList) in statSuffix()
/developtools/hdc/src/host/
Dext_client.h51 void Utility(const std::string &str);
Dext_client.cpp103 Utility(command); in ExecuteCommand()
260 void ExtClient::Utility(const std::string &str) in Utility() function in Hdc::ExtClient
/developtools/hiperf/
DREADME.md95 │   ├── hiperf_utils.py # Utility class of hiperf