Home
last modified time | relevance | path

Searched refs:tempDir (Results 1 - 7 of 7) sorted by relevance

/developtools/packing_tool/packing_tool/frameworks/test/unittest/multiapp_packager_test/
H A Dmultiapp_packager_test.cpp747 std::string tempDir = "/data/test/resource/packingtool/test_file/temp_test_dir"; in HWTEST_F() local
748 fs::path parentDir = fs::path(tempDir).parent_path(); in HWTEST_F()
752 fs::create_directory(tempDir); in HWTEST_F()
753 std::string outPath = tempDir + "/output.app"; in HWTEST_F()
779 std::string tempDir = "temp_test_dir"; in HWTEST_F() local
780 fs::create_directory(tempDir); in HWTEST_F()
781 std::string outPath = tempDir + "/output.app"; in HWTEST_F()
807 std::string tempDir = "/data/test/resource/packingtool/test_file/temp_test_dir"; in HWTEST_F() local
808 fs::path parentDir = fs::path(tempDir).parent_path(); in HWTEST_F()
812 fs::create_directory(tempDir); in HWTEST_F()
839 std::string tempDir = "temp_test_dir"; HWTEST_F() local
870 std::string tempDir = "temp_test_dir"; HWTEST_F() local
884 std::string tempDir = "temp_test_dir"; HWTEST_F() local
909 std::string tempDir = "temp_test_dir"; HWTEST_F() local
939 std::string tempDir = "temp_test_dir"; HWTEST_F() local
971 std::string tempDir = "temp_test_dir"; HWTEST_F() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dmultiapp_packager.cpp166 std::list<std::string> &selectedHaps, const std::string &tempDir) in CopyHapAndHspFromApp()
169 if (fs::exists(fs::path(tempDir).parent_path().parent_path()) && in CopyHapAndHspFromApp()
170 fs::path(tempDir).parent_path().parent_path() != fs::path("/")) { in CopyHapAndHspFromApp()
171 tempPath = fs::path(tempDir).parent_path().parent_path() / ((Constants::COMPRESSOR_MULTIAPP_TEMP_DIR) + in CopyHapAndHspFromApp()
174 tempPath = fs::path(tempDir).parent_path() / ((Constants::COMPRESSOR_MULTIAPP_TEMP_DIR) + in CopyHapAndHspFromApp()
191 filePath = fs::path(tempDir) / entry.path().filename(); in CopyHapAndHspFromApp()
241 const std::string &tempDir, std::string &finalAppPackInfo) in SelectHapInApp()
244 CopyHapAndHspFromApp(appPath, selectedHapsInApp, selectedHaps, tempDir); in SelectHapInApp()
256 packagePair[hapName] = ReadModuleNameFromHap(tempDir + "/" + hapName); in SelectHapInApp()
265 std::string MultiAppPackager::DisposeApp(std::list<std::string> &selectedHaps, const std::string &tempDir) in DisposeApp() argument
165 CopyHapAndHspFromApp(const std::string &appPath, std::list<std::string> &selectedHapsInApp, std::list<std::string> &selectedHaps, const std::string &tempDir) CopyHapAndHspFromApp() argument
240 SelectHapInApp(const std::string &appPath, std::list<std::string> &selectedHaps, const std::string &tempDir, std::string &finalAppPackInfo) SelectHapInApp() argument
277 DisposeHapAndHsp(std::list<std::string> &selectedHaps, const std::string &tempDir, std::string finalPackInfoStr) DisposeHapAndHsp() argument
[all...]
H A Dpackager.cpp314 std::string tempDir = Constants::COMPRESSOR_TEMP_DIR + fs::path::preferred_separator + Utils::GenerateUUID(); in CopyFileToTempDir() local
315 fs::path tempDirFs(tempDir); in CopyFileToTempDir()
316 tempDir = oldFileParent.string() + fs::path::preferred_separator + tempDirFs.string(); in CopyFileToTempDir()
317 fs::create_directories(tempDir); in CopyFileToTempDir()
319 std::string tempPath = tempDir + fs::path::preferred_separator + fileName.string(); in CopyFileToTempDir()
/developtools/packing_tool/packing_tool/frameworks/include/
H A Dmultiapp_packager.h39 const std::string &tempDir, std::string &finalAppPackInfo);
40 std::string DisposeApp(std::list<std::string> &selectedHaps, const std::string &tempDir);
42 const std::string &tempDir, std::string finalPackInfoStr);
44 std::list<std::string> &selectedHaps, const std::string &tempDir);
H A Dversion_normalize.h49 bool CompressDirToHap(const std::string &tempDir, const std::string &modifiedHapPath);
/developtools/packing_tool/adapter/ohos/
H A DCompressor.java591 String tempDir = TEMP_DIR + File.separator + UUID.randomUUID(); in copyFileToTempDir()
592 mkdir(new File(oldFileParent + File.separator + tempDir)); in copyFileToTempDir()
599 String tempPath = oldFileParent + File.separator + tempDir + File.separator + fileName; in copyFileToTempDir()
1182 File tempDir = new File(tempPath); in compressAppMode()
1183 if (!tempDir.exists()) { in compressAppMode()
1184 tempDir.mkdirs(); in compressAppMode()
1189 String hapTempPath = tempDir + File.separator + hapFile.getName(); in compressAppMode()
1583 String tempDir) throws BundleException { in disposeApp()
1592 finalAppPackInfo = selectHapInApp(appPath, seletedHaps, tempDir, finalAppPackInfo); in disposeApp()
1609 private static String selectHapInApp(String appPath, List<String> selectedHaps, String tempDir, in selectHapInApp() argument
1582 disposeApp(Utility utility, List<String> seletedHaps, String tempDir) disposeApp() argument
1641 copyHapAndHspFromApp(String appPath, List<String> selectedHapsInApp, List<String> selectedHaps, String tempDir) copyHapAndHspFromApp() argument
1717 disposeHap(Utility utility, List<String> seletedHaps, String tempDir, String finalPackInfoStr) disposeHap() argument
[all...]
H A DUncompress.java560 String tempDir = destDirPath.replace(File.separator, LINUX_FILE_SEPARATOR); in unzipFromFile()
562 tempDir = tempDir + LINUX_FILE_SEPARATOR + entryName.replace(suffix, ""); in unzipFromFile()
563 File destFileDir = new File(tempDir); in unzipFromFile()
573 String tempPath = tempDir + LINUX_FILE_SEPARATOR + entryName; in unzipFromFile()
583 unzip(utility, tempPath, tempDir, APK_SUFFIX); in unzipFromFile()
584 repackHap(tempPath, tempDir, entryName, utility.getUnpackApk()); in unzipFromFile()
962 String tempDir = destDirPath.replace(File.separator, LINUX_FILE_SEPARATOR) + LINUX_FILE_SEPARATOR + in repackHap()
964 dataTransferAllFiles(srcPath, tempDir); in repackHap()
965 packFilesByPath(tempDir, destDirPat in repackHap()
[all...]

Completed in 9 milliseconds