/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 28 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 D | installd_host_impl.cpp | 85 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 D | bundle_stream_installer_host_impl.cpp | 44 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 D | bundle_util.cpp | 406 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 D | base_bundle_installer.cpp | 5399 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 D | quick_fix_manager_host_impl.cpp | 134 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 D | medialibrary_type_const.h | 53 enum DirType { enum
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 659 ++id_, DirType::EXT_RESOURCE_FILE_DIR); in CreateFd()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_test.cpp | 1250 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 D | inner_shared_bundle_installer.cpp | 536 auto destination = BundleUtil::CopyFileToSecurityDir(bundlePaths[index], DirType::STREAM_INSTALL_DIR, in CopyHspToSecurityDir()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_library_napi.cpp | 936 if (context->dirType == DirType::DIR_DOCUMENTS) { in GetPublicDirectoryExecute() 938 } else if (context->dirType == DirType::DIR_DOWNLOAD) { in GetPublicDirectoryExecute()
|