Home
last modified time | relevance | path

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

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundle_file_utils.h32 static bool MkOwnerDir(const char *dir);
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp332 if (!InstalldOperator::MkOwnerDir( in CreateBackupExtHomeDir()
354 if (!InstalldOperator::MkOwnerDir( in CreateNewBackupExtHomeDir()
368 if (!InstalldOperator::MkOwnerDir(bundleShareDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateShareDir()
380 if (!InstalldOperator::MkOwnerDir(bundleCloudDir, S_IRWXU | S_IRWXG | S_ISGID, uid, gid)) { in CreateCloudDir()
478 if (!InstalldOperator::MkOwnerDir(bundleDataDir + dir, mode, in CreateBundleDataDir()
486 if (!InstalldOperator::MkOwnerDir( in CreateBundleDataDir()
505 if (!InstalldOperator::MkOwnerDir( in CreateBundleDataDir()
525 if (!InstalldOperator::MkOwnerDir(distributedfile + createDirParam.bundleName, in CreateBundleDataDir()
532 if (!InstalldOperator::MkOwnerDir(distributedfile + createDirParam.bundleName, in CreateBundleDataDir()
586 if (!InstalldOperator::MkOwnerDir( in CreateExtensionDir()
[all …]
H A Dinstalld_service.cpp110 …if (!InstalldOperator::MkOwnerDir(path, true, Constants::FOUNDATION_UID, ServiceConstants::BMS_GID… in InitDir()
H A Dinstalld_operator.cpp939 bool InstalldOperator::MkOwnerDir(const std::string &path, bool isReadByOthers, const int uid, cons… in MkOwnerDir() function in OHOS::AppExecFwk::InstalldOperator
967 bool InstalldOperator::MkOwnerDir(const std::string &path, int mode, const int uid, const int gid) in MkOwnerDir() function in OHOS::AppExecFwk::InstalldOperator
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h192 …static bool MkOwnerDir(const std::string &path, bool isReadByOthers, const int uid, const int gid);
201 static bool MkOwnerDir(const std::string &path, int mode, const int uid, const int gid);
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp535 auto ret = InstalldOperator::MkOwnerDir(TEST_STRING, 0, 0, 0);
547 auto ret = InstalldOperator::MkOwnerDir("", 0, 0, 0);
785 auto ret = InstalldOperator::MkOwnerDir("", false, 0, 0);