Home
last modified time | relevance | path

Searched refs:ForceCreateDirectory (Results 1 – 25 of 36) sorted by relevance

12

/base/hiviewdfx/hidumper/services/native/src/
Ddump_log_manager.cpp38 ForceCreateDirectory(TMP_FOLDER); in Init()
39 ForceCreateDirectory(ZIP_FOLDER); in Init()
99 bool res = ForceCreateDirectory(ret); in CreateTmpFolder()
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Dfile_util.h31 bool ForceCreateDirectory(const std::string& dir);
/base/hiviewdfx/hiview/base/utility/
Dfile_util.cpp117 bool ForceCreateDirectory(const std::string& path) in ForceCreateDirectory() function
119 return OHOS::ForceCreateDirectory(path); in ForceCreateDirectory()
122 bool ForceCreateDirectory(const string& path, mode_t mode) in ForceCreateDirectory() function
195 FileUtil::ForceCreateDirectory(path); in CreateDirWithDefaultPerm()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/include/
Dfile_util.h30 bool ForceCreateDirectory(const std::string& dir);
/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
Dlog_store_unit_test.cpp41 FileUtil::ForceCreateDirectory(logDestDir, FileUtil::FILE_PERM_770); in GetLogDir()
85 FileUtil::ForceCreateDirectory(testLogDir);
/base/hiviewdfx/hiview/base/utility/include/
Dfile_util.h78 bool ForceCreateDirectory(const std::string& path);
79 bool ForceCreateDirectory(const std::string& path, mode_t mode);
/base/hiviewdfx/hiview/core/test/unittest/common/
Dplugin_bundle_test.cpp38 FileUtil::ForceCreateDirectory("/data/test/faultlog"); in SetUp()
Dplugin_platform_test.cpp36 FileUtil::ForceCreateDirectory("/data/test/faultlog"); in SetUp()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_write.cpp101 if (!FileUtil::IsFileExists(dirPath) && !FileUtil::ForceCreateDirectory(dirPath)) { in WriteEvent()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dfile_util.cpp57 bool ForceCreateDirectory(const std::string& dir) in ForceCreateDirectory() function
Dhisysevent_delegate.cpp235 if (!FileUtil::ForceCreateDirectory(EVENT_DIR)) { in CreateHiviewDir()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_store.cpp91 if (!FileUtil::FileExists(dirPath_) && !FileUtil::ForceCreateDirectory(dirPath_)) { in CreateDbStore()
/base/hiviewdfx/hiview/base/logstore/
Dlog_store_ex.cpp48 FileUtil::ForceCreateDirectory(path_); in Init()
/base/account/os_account/frameworks/common/file_operator/src/
Daccount_file_operator.cpp43 if (!OHOS::ForceCreateDirectory(path)) { in CreateDir()
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_agent.cpp143 if (!FileUtil::FileExists(dirPath) && !FileUtil::ForceCreateDirectory(dirPath)) { in CreateAndGrantAclPermission()
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp81 if (FileUtil::ForceCreateDirectory(logDestDir, FileUtil::FILE_PERM_770)) { in GetLogDir()
/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/
Drunning_status_logger_test.cpp55 FileUtil::ForceCreateDirectory(logDestDir, FileUtil::FILE_PERM_770); in GetLogDir()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp57 bool ForceCreateDirectory(const std::string& dir) in ForceCreateDirectory() function
/base/hiviewdfx/hiview/test/unittest/common/
Dholistic_platform_test.cpp44 FileUtil::ForceCreateDirectory("/data/test/faultlog/"); in SetUpTestCase()
45 FileUtil::ForceCreateDirectory("/data/test/faultlog2/"); in SetUpTestCase()
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_doc.cpp138 if (!FileUtil::IsDirectory(dir) && !FileUtil::ForceCreateDirectory(dir)) { in GetDir()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_store.cpp152 if (!FileUtil::IsFileExists(dirPath_) && !FileUtil::ForceCreateDirectory(dirPath_)) { in CreateDbStore()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dinstall_plugin.cpp89 if (!OHOS::ForceCreateDirectory(HAP_DIRECTORY)) { in CreateDirectory()
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_action_test.cpp69 FileUtil::ForceCreateDirectory(path_); in SetUp()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Ddata_share_test.cpp50 FileUtil::ForceCreateDirectory(testDir, FileUtil::FILE_PERM_770); in GetTestDir()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_daemon.cpp206 if (!OHOS::ForceCreateDirectory(faultLoggerConfig_->GetLogFilePath())) { in InitEnvironment()
211 if (!OHOS::ForceCreateDirectory(faultLoggerConfig_->GetDebugLogFilePath())) { in InitEnvironment()

12