Home
last modified time | relevance | path

Searched refs:destFile (Results 1 - 12 of 12) sorted by relevance

/developtools/packing_tool/adapter/ohos/
H A DUncompress.java91 File destFile = new File(utility.getOutPath()); in unpackageProcess()
93 if (!destFile.exists()) { in unpackageProcess()
94 if (!destFile.mkdirs()) { in unpackageProcess()
578 File destFile = new File(tempPath); in unzipFromFile()
579 dataTransfer(zipFile, entry, destFile); in unzipFromFile()
600 * @param destFile output file path
603 private static void dataTransfer(ZipFile zipFile, ZipEntry entry, File destFile) throws BundleException { in dataTransfer() argument
607 if (!FileUtils.matchPattern(destFile.getCanonicalPath())) { in dataTransfer()
608 LOG.error("Input invalid file " + destFile.getCanonicalPath()); in dataTransfer()
609 throw new BundleException("Input invalid file" + destFile in dataTransfer()
[all...]
H A DScan.java75 File destFile = new File(utility.getOutPath()); in scanProcess()
76 File outParentFile = destFile.getParentFile(); in scanProcess()
95 if (!destFile.delete()) { in scanProcess()
H A DFileUtils.java340 * @param destFile is the destination file
343 public static void copyFile(File sourceFile, File destFile) throws IOException, BundleException { in copyFile() argument
344 if (sourceFile == null || destFile == null) { in copyFile()
353 outputStream = new FileOutputStream(destFile); in copyFile()
H A DCompressor.java346 File destFile = new File(utility.getOutPath()); in defaultProcess()
348 File outParentFile = destFile.getParentFile(); in defaultProcess()
359 fileOut = new FileOutputStream(destFile); in defaultProcess()
385 if (!destFile.delete()) { in defaultProcess()
712 File destFile = new File(utility.getOutPath()); in checkAppAtomicServiceCompressedSizeValid()
714 try (ZipFile zipApp = new ZipFile(destFile)) { in checkAppAtomicServiceCompressedSizeValid()
1401 File destFile = new File(utility.getOutPath() + LINUX_FILE_SEPARATOR + hapFileName); in hapAddition()
1402 File outParentFile = destFile.getParentFile(); in hapAddition()
1416 fileOut = new FileOutputStream(destFile); in hapAddition()
1447 File destFile in copyFileSafely()
[all...]
H A DCompressVerify.java1050 File destFile = new File(destPath); in isVerifyValidInHapAdditionMode()
1051 if ("false".equals(utility.getForceRewrite()) && destFile.exists()) { in isVerifyValidInHapAdditionMode()
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dpackager.cpp412 std::ofstream destFile(realDestFilePath, std::ios::binary | std::ios::trunc); in CompressPackinfoIntoHap()
413 destFile << packInfoFile.rdbuf(); in CompressPackinfoIntoHap()
414 destFile.close(); in CompressPackinfoIntoHap()
/developtools/profiler/device/plugins/native_daemon/src/
H A Dutilities.cpp322 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument
331 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile()
333 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
H A DVerifyHap.java178 private void writeCertificate(String destFile, List<X509Certificate> certificates) throws IOException { in writeCertificate() argument
179 try (JcaPEMWriter writer = new JcaPEMWriter(new FileWriter(destFile))) { in writeCertificate()
H A DVerifyElf.java154 private void writeCertificate(String destFile, List<X509Certificate> certificates) throws IOException { in writeCertificate() argument
155 try (JcaPEMWriter writer = new JcaPEMWriter(new FileWriter(destFile))) { in writeCertificate()
/developtools/hiperf/src/
H A Dutilities.cpp368 bool CompressFile(const std::string &dataFile, const std::string &destFile) in CompressFile() argument
378 std::unique_ptr<gzFile_s, decltype(&gzclose)> fgz(gzopen(destFile.c_str(), "wb"), gzclose); in CompressFile()
380 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile()
/developtools/profiler/device/plugins/native_daemon/include/
H A Dutilities.h187 bool CompressFile(const std::string &dataFile, const std::string &destFile);
/developtools/hiperf/include/
H A Dutilities.h187 bool CompressFile(const std::string &dataFile, const std::string &destFile);

Completed in 13 milliseconds