Home
last modified time | relevance | path

Searched refs:bundleDataDir (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp459 if (access(bundleDataDir.c_str(), F_OK) != 0) { in CreateBundleDataDir()
461 bundleDataDir.c_str(), createDirParam.bundleName.c_str()); in CreateBundleDataDir()
470 bundleDataDir += createDirParam.bundleName; in CreateBundleDataDir()
475 AclSetDir(createDirParam.debug, bundleDataDir, true, true); in CreateBundleDataDir()
478 if (!InstalldOperator::MkOwnerDir(bundleDataDir + dir, mode, in CreateBundleDataDir()
761 std::string subDir = bundleDataDir + dir; in CleanBundleDataForEl2()
888 if (!InstalldOperator::DeleteFiles(bundleDataDir)) { in CleanBundleDataDirByName()
1636 const std::string bundleDataDir = GetBundleDataDir(el, userId); in RemoveExtensionDir() local
1670 const std::string bundleDataDir = GetBundleDataDir(el, userId); in IsExistExtensionDir() local
1718 if (access(bundleDataDir.c_str(), F_OK) != 0) { in CreateExtensionDataDir()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp73 int RemoveBundleDataDir(const std::string &bundleDataDir) const;
74 int CleanBundleDataDir(const std::string &bundleDataDir) const;
130 int BmsInstallDaemonTest::CreateBundleDataDir(const std::string &bundleDataDir, in CreateBundleDataDir() argument
137 createDirParam.bundleName = bundleDataDir; in CreateBundleDataDir()
154 int BmsInstallDaemonTest::RemoveBundleDataDir(const std::string &bundleDataDir) const in RemoveBundleDataDir()
159 return InstalldClient::GetInstance()->RemoveDir(bundleDataDir); in RemoveBundleDataDir()
162 int BmsInstallDaemonTest::CleanBundleDataDir(const std::string &bundleDataDir) const in CleanBundleDataDir()
167 return InstalldClient::GetInstance()->CleanBundleDataDir(bundleDataDir); in CleanBundleDataDir()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_extension_system_test.cpp254 std::string bundleDataDir = GetBundleDataDir(el) + BASE; in CheckFileNotExist() local
255 std::string baseDir = bundleDataDir + extensionDir; in CheckFileNotExist()
280 std::string bundleDataDir = GetBundleDataDir(el) + BASE; in CheckFileExist() local
281 std::string baseDir = bundleDataDir + extensionDir; in CheckFileExist()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp1368 …std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_… in RollBack() local
1371 … PrepareBundleDirQuota(newInfos.begin()->second.GetBundleName(), uid, bundleDataDir, 0); in RollBack()
1984 …std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_… in RemoveBundle() local
1987 PrepareBundleDirQuota(info.GetBundleName(), uid, bundleDataDir, 0); in RemoveBundle()
2871 …std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_… in CreateBundleDataDir() local
2874 PrepareBundleDirQuota(info.GetBundleName(), newInnerBundleUserInfo.uid, bundleDataDir, in CreateBundleDataDir()
2877 PrepareBundleDirQuota(info.GetBundleName(), newInnerBundleUserInfo.uid, bundleDataDir, 0); in CreateBundleDataDir()
4432 …std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_… in RemoveBundleUserData() local
4435 PrepareBundleDirQuota(innerBundleInfo.GetBundleName(), uid, bundleDataDir, 0); in RemoveBundleUserData()
H A Dbundle_mgr_service_event_handler.cpp1575 …std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_… in RefreshQuotaForAllUid() local
1580 bundleDataDir, 0); in RefreshQuotaForAllUid()
1583 bundleDataDir, ATOMIC_SERVICE_DATASIZE_THRESHOLD_MB_PRESET); in RefreshQuotaForAllUid()