Searched refs:bundleDataDir (Results 1 - 5 of 5) sorted by relevance
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_host_impl.cpp | 402 std::string bundleDataDir = GetBundleDataDir(el, userId) + ServiceConstants::BASE; in AddUserDirDeleteDfx() local 403 if (access(bundleDataDir.c_str(), F_OK) != 0) { in AddUserDirDeleteDfx() 405 bundleDataDir.c_str(), userId); in AddUserDirDeleteDfx() 408 InstalldOperator::AddDeleteDfx(bundleDataDir); in AddUserDirDeleteDfx() 442 std::string bundleDataDir = GetBundleDataDir(el, createDirParam.userId) + ServiceConstants::BASE; in CreateBundleDataDir() local 443 if (access(bundleDataDir.c_str(), F_OK) != 0) { in CreateBundleDataDir() 445 bundleDataDir.c_str(), createDirParam.bundleName.c_str()); in CreateBundleDataDir() 449 if (CreateExtensionDir(createDirParam, bundleDataDir, S_IRWXU, createDirParam.gid) != ERR_OK) { in CreateBundleDataDir() 450 LOG_W(BMS_TAG_INSTALLD, "create extension dir failed, parent dir %{public}s", bundleDataDir.c_str()); in CreateBundleDataDir() 452 bundleDataDir in CreateBundleDataDir() 757 std::string bundleDataDir = dataDir + ServiceConstants::BASE + suffixName; CleanBundleDataForEl2() local 885 std::string bundleDataDir = GetBundleDataDir(el, userid) + ServiceConstants::BASE + suffixName; CleanBundleDataDirByName() local 1584 const std::string bundleDataDir = GetBundleDataDir(el, userId); RemoveExtensionDir() local 1618 const std::string bundleDataDir = GetBundleDataDir(el, userId); IsExistExtensionDir() local 1665 std::string bundleDataDir = GetBundleDataDir(el, createDirParam.userId) + ServiceConstants::BASE; CreateExtensionDataDir() local 1822 std::string bundleDataDir = GetBundleDataDir(el, userId) + ServiceConstants::BASE + bundleName; InnerRemoveBundleDataDir() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 66 int RemoveBundleDataDir(const std::string &bundleDataDir) const; 67 int CleanBundleDataDir(const std::string &bundleDataDir) const; 120 int BmsInstallDaemonTest::CreateBundleDataDir(const std::string &bundleDataDir, in CreateBundleDataDir() argument 127 createDirParam.bundleName = bundleDataDir; in CreateBundleDataDir() 144 int BmsInstallDaemonTest::RemoveBundleDataDir(const std::string &bundleDataDir) const in RemoveBundleDataDir() 149 return InstalldClient::GetInstance()->RemoveDir(bundleDataDir); in RemoveBundleDataDir() 152 int BmsInstallDaemonTest::CleanBundleDataDir(const std::string &bundleDataDir) const in CleanBundleDataDir() 157 return InstalldClient::GetInstance()->CleanBundleDataDir(bundleDataDir); in CleanBundleDataDir()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/ |
H A D | bms_install_extension_system_test.cpp | 254 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()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_bundle_installer.cpp | 1366 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[1] in RollBack() local 1369 PrepareBundleDirQuota(newInfos.begin()->second.GetBundleName(), uid, bundleDataDir, 0); in RollBack() 2001 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[1] + in RemoveBundle() local 2004 PrepareBundleDirQuota(info.GetBundleName(), uid, bundleDataDir, 0); in RemoveBundle() 2876 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[1] + in CreateBundleDataDir() local 2879 PrepareBundleDirQuota(info.GetBundleName(), newInnerBundleUserInfo.uid, bundleDataDir, in CreateBundleDataDir() 2882 PrepareBundleDirQuota(info.GetBundleName(), newInnerBundleUserInfo.uid, bundleDataDir, 0); in CreateBundleDataDir() 4725 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[1] + in RemoveBundleUserData() local 4728 PrepareBundleDirQuota(innerBundleInfo.GetBundleName(), uid, bundleDataDir, 0); in RemoveBundleUserData() 6076 std::string bundleDataDir in RollbackHmpUserInfo() local [all...] |
H A D | bundle_mgr_service_event_handler.cpp | 1593 std::string bundleDataDir = ServiceConstants::BUNDLE_APP_DATA_BASE_DIR + ServiceConstants::BUNDLE_EL[0] + in RefreshQuotaForAllUid() local 1598 bundleDataDir, 0); in RefreshQuotaForAllUid() 1601 bundleDataDir, ATOMIC_SERVICE_DATASIZE_THRESHOLD_MB_PRESET); in RefreshQuotaForAllUid()
|
Completed in 21 milliseconds