Home
last modified time | relevance | path

Searched refs:DirType (Results 1 - 11 of 11) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h28 enum class DirType : uint8_t { class
192 static std::string CreateInstallTempDir(uint32_t installerId, const DirType &type);
205 static std::string CopyFileToSecurityDir(const std::string &filePath, const DirType &dirType,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp85 enum class DirType : uint8_t { class
275 static void GetBackupExtDirByType(std::string &bundleBackupDir, const std::string &bundleName, const DirType dirType) in GetBackupExtDirByType()
278 case DirType::DIR_EL1: in GetBackupExtDirByType()
281 case DirType::DIR_EL2: in GetBackupExtDirByType()
290 const std::string &bundleName, const DirType dirType) in GetNewBackupExtDirByType()
293 case DirType::DIR_EL1: in GetNewBackupExtDirByType()
296 case DirType::DIR_EL2: in GetNewBackupExtDirByType()
305 std::string &bundleBackupDir, const DirType dirType) in CreateBackupExtHomeDir()
328 std::string &bundleBackupDir, const DirType dirType) in CreateNewBackupExtHomeDir()
532 DirType in CreateBundleDataDir()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_stream_installer_host_impl.cpp44 std::string tempDir = BundleUtil::CreateInstallTempDir(installerId_, DirType::STREAM_INSTALL_DIR); in Init()
64 tempSignatureFileDir_ = BundleUtil::CreateInstallTempDir(installerId_, DirType::SIG_FILE_DIR); in Init()
70 tempPgoFileDir_ = BundleUtil::CreateInstallTempDir(installerId_, DirType::PGO_FILE_DIR); in Init()
H A Dbundle_util.cpp406 std::string BundleUtil::CreateInstallTempDir(uint32_t installerId, const DirType &type) in CreateInstallTempDir()
411 if (type == DirType::STREAM_INSTALL_DIR) { in CreateInstallTempDir()
413 } else if (type == DirType::QUICK_FIX_DIR) { in CreateInstallTempDir()
415 } else if (type == DirType::SIG_FILE_DIR) { in CreateInstallTempDir()
417 } else if (type == DirType::PGO_FILE_DIR) { in CreateInstallTempDir()
419 } else if (type == DirType::ABC_FILE_DIR) { in CreateInstallTempDir()
421 } else if (type == DirType::EXT_RESOURCE_FILE_DIR) { in CreateInstallTempDir()
813 std::string BundleUtil::CopyFileToSecurityDir(const std::string &filePath, const DirType &dirType, in CopyFileToSecurityDir()
820 if (dirType == DirType::STREAM_INSTALL_DIR) { in CopyFileToSecurityDir()
829 if (dirType == DirType in CopyFileToSecurityDir()
[all...]
H A Dbase_bundle_installer.cpp5399 auto destination = BundleUtil::CopyFileToSecurityDir(bundlePaths[index], DirType::STREAM_INSTALL_DIR, in CopyHapsToSecurityDir()
5461 BundleUtil::CopyFileToSecurityDir(signatureFileDir, DirType::SIG_FILE_DIR, toDeleteTempHapPath_); in FindSignatureFileDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_manager_host_impl.cpp134 std::string tmpDir = BundleUtil::CreateInstallTempDir(++id_, DirType::QUICK_FIX_DIR); in CreateFd()
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedialibrary_type_const.h53 enum DirType { enum
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp659 ++id_, DirType::EXT_RESOURCE_FILE_DIR); in CreateFd()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp1250 std::string res = bundleUtil.CreateInstallTempDir(installId, DirType::STREAM_INSTALL_DIR); in HWTEST_F()
1263 std::string res = bundleUtil.CreateInstallTempDir(installId, DirType::QUICK_FIX_DIR); in HWTEST_F()
1278 std::string res = bundleUtil.CreateInstallTempDir(installId, DirType::UNKNOWN); in HWTEST_F()
5003 * @tc.desc: 1.test type == DirType::SIG_FILE_DIR
5009 std::string res = bundleUtil.CreateInstallTempDir(installId, DirType::SIG_FILE_DIR); in HWTEST_F()
5097 auto ret = bundleUtil.CopyFileToSecurityDir("", DirType::STREAM_INSTALL_DIR, toDeletePaths); in HWTEST_F()
5115 bundleUtil.CopyFileToSecurityDir(TEST_CREATE_FILE_PATH, DirType::SIG_FILE_DIR, toDeletePaths); in HWTEST_F()
5133 auto ret = bundleUtil.CopyFileToSecurityDir(sourcePath, DirType::SIG_FILE_DIR, toDeletePaths); in HWTEST_F()
5149 auto ret = bundleUtil.CopyFileToSecurityDir(sourcePath, DirType::SIG_FILE_DIR, toDeletePaths); in HWTEST_F()
5166 auto ret1 = bundleUtil.CopyFileToSecurityDir(sourcePath, DirType in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp536 auto destination = BundleUtil::CopyFileToSecurityDir(bundlePaths[index], DirType::STREAM_INSTALL_DIR, in CopyHspToSecurityDir()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp936 if (context->dirType == DirType::DIR_DOCUMENTS) { in GetPublicDirectoryExecute()
938 } else if (context->dirType == DirType::DIR_DOWNLOAD) { in GetPublicDirectoryExecute()

Completed in 42 milliseconds