Home
last modified time | relevance | path

Searched refs:tempDir (Results 1 – 2 of 2) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DCompressor.java545 String tempDir = TEMP_DIR + File.separator + UUID.randomUUID(); in copyFileToTempDir() local
546 mkdir(new File(oldFileParent + File.separator + tempDir)); in copyFileToTempDir()
553 String tempPath = oldFileParent + File.separator + tempDir + File.separator + fileName; in copyFileToTempDir()
1015 File tempDir = new File(tempPath); in compressAppMode() local
1016 if (!tempDir.exists()) { in compressAppMode()
1017 tempDir.mkdirs(); in compressAppMode()
1022 String hapTempPath = tempDir + File.separator + hapFile.getName(); in compressAppMode()
1339 String tempDir) throws BundleException { in disposeApp() argument
1348 finalAppPackInfo = selectHapInApp(appPath, seletedHaps, tempDir, finalAppPackInfo); in disposeApp()
1365 private static String selectHapInApp(String appPath, List<String> selectedHaps, String tempDir, in selectHapInApp() argument
[all …]
DUncompress.java548 String tempDir = destDirPath.replace(File.separator, LINUX_FILE_SEPARATOR); in unzipFromFile() local
550 tempDir = tempDir + LINUX_FILE_SEPARATOR + entryName.replace(suffix, ""); in unzipFromFile()
551 File destFileDir = new File(tempDir); in unzipFromFile()
561 String tempPath = tempDir + LINUX_FILE_SEPARATOR + entryName; in unzipFromFile()
570 unzip(utility, tempPath, tempDir, APK_SUFFIX); in unzipFromFile()
571 repackHap(tempPath, tempDir, entryName, utility.getUnpackApk()); in unzipFromFile()
949 …String tempDir = destDirPath.replace(File.separator, LINUX_FILE_SEPARATOR) + LINUX_FILE_SEPARATOR + in repackHap() local
951 dataTransferAllFiles(srcPath, tempDir); in repackHap()
952 packFilesByPath(tempDir, destDirPath, fileName, unpackApk); in repackHap()
953 File deleteFile = new File(tempDir); in repackHap()