Home
last modified time | relevance | path

Searched refs:MkOwnerDir (Results 1 - 9 of 9) sorted by relevance

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundle_file_utils.h32 static bool MkOwnerDir(const char *dir);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_service.cpp98 if (!InstalldOperator::MkOwnerDir(path, true, Constants::FOUNDATION_UID, ServiceConstants::BMS_GID)) { in InitDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_service.cpp110 if (!InstalldOperator::MkOwnerDir(path, true, Constants::FOUNDATION_UID, ServiceConstants::BMS_GID)) { in InitDir()
H A Dinstalld_host_impl.cpp317 if (!InstalldOperator::MkOwnerDir( in CreateBackupExtHomeDir()
321 LOG_W(BMS_TAG_INSTALLD, "CreateBackupExtHomeDir MkOwnerDir(backup's home dir) failed errno:%{public}d", in CreateBackupExtHomeDir()
340 if (!InstalldOperator::MkOwnerDir( in CreateNewBackupExtHomeDir()
344 LOG_W(BMS_TAG_INSTALLD, "CreateNewBackupExtHomeDir MkOwnerDir(backup's home dir) failed errno:%{public}d", in CreateNewBackupExtHomeDir()
354 if (!InstalldOperator::MkOwnerDir(bundleShareDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateShareDir()
357 LOG_W(BMS_TAG_INSTALLD, "CreateShareDir MkOwnerDir(share's home dir) failed errno:%{public}d", errno); in CreateShareDir()
366 if (!InstalldOperator::MkOwnerDir(bundleCloudDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateCloudDir()
369 LOG_W(BMS_TAG_INSTALLD, "CreateCloudDir MkOwnerDir(cloud's home dir) failed errno:%{public}d", errno); in CreateCloudDir()
454 if (!InstalldOperator::MkOwnerDir(bundleDataDir, mode, createDirParam.uid, createDirParam.gid)) { in CreateBundleDataDir()
455 LOG_E(BMS_TAG_INSTALLD, "CreateBundledatadir MkOwnerDir faile in CreateBundleDataDir()
[all...]
H A Dinstalld_operator.cpp818 bool InstalldOperator::MkOwnerDir(const std::string &path, bool isReadByOthers, const int uid, const int gid) in MkOwnerDir() function in OHOS::AppExecFwk::InstalldOperator
846 bool InstalldOperator::MkOwnerDir(const std::string &path, int mode, const int uid, const int gid) in MkOwnerDir() function in OHOS::AppExecFwk::InstalldOperator
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h180 static bool MkOwnerDir(const std::string &path, bool isReadByOthers, const int uid, const int gid);
189 static bool MkOwnerDir(const std::string &path, int mode, const int uid, const int gid);
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_file_utils.cpp81 bool BundleFileUtils::MkOwnerDir(const char *dir) in MkOwnerDir() function in OHOS::BundleFileUtils
H A Dbundle_daemon_handler.cpp143 if (!BundleFileUtils::MkOwnerDir(dataDir.c_str())) { in CreateDataDirectory()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp565 * @tc.desc: 1. calling MkOwnerDir of InstalldOperator
570 auto ret = InstalldOperator::MkOwnerDir(TEST_STRING, 0, 0, 0); in HWTEST_F()
577 * @tc.desc: 1. calling MkOwnerDir of InstalldOperator
582 auto ret = InstalldOperator::MkOwnerDir("", 0, 0, 0); in HWTEST_F()
818 * @tc.desc: 1. calling MkOwnerDir of InstalldOperator
822 auto ret = InstalldOperator::MkOwnerDir("", false, 0, 0); in HWTEST_F()
824 ret = InstalldOperator::MkOwnerDir("/data/app/el2", false, 0, 0); in HWTEST_F()

Completed in 10 milliseconds