Home
last modified time | relevance | path

Searched refs:CreateDirIfNotExist (Results 1 - 8 of 8) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dunified_data_helper_test.cpp60 * @tc.desc: Normal testcase of CreateDirIfNotExist
69 unifiedDataHelper.CreateDirIfNotExist(dirPath, mode); in HWTEST_F()
76 * @tc.desc: Abnormal testcase of CreateDirIfNotExist, the storage/el2/base/temp/udata path does not exist
85 unifiedDataHelper.CreateDirIfNotExist(dirPath, mode); in HWTEST_F()
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_data_helper.h34 static void CreateDirIfNotExist(const std::string& dirPath, const mode_t& mode);
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_deal.cpp152 CreateDirIfNotExist(dir); in GetDatabaseDir()
160 CreateDirIfNotExist(dir); in GetDataDir()
183 CreateDirIfNotExist(dir); in GetFilesDir()
243 void ContextDeal::CreateDirIfNotExist(const std::string &dirPath) const in CreateDirIfNotExist() function in OHOS::AppExecFwk::ContextDeal
246 TAG_LOGD(AAFwkTag::APPKIT, "CreateDirIfNotExist File is not exits"); in CreateDirIfNotExist()
249 TAG_LOGI(AAFwkTag::APPKIT, "CreateDirIfNotExist: create dir %{public}s failed.", dirPath.c_str()); in CreateDirIfNotExist()
420 CreateDirIfNotExist(dir); in GetPreferencesDir()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_data_helper.cpp82 void UnifiedDataHelper::CreateDirIfNotExist(const std::string& dirPath, const mode_t& mode) in CreateDirIfNotExist() function in OHOS::UDMF::UnifiedDataHelper
122 CreateDirIfNotExist(GetRootPath(), MODE); in Pack()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp121 CreateDirIfNotExist(dir, MODE); in GetBundleCodeDir()
129 CreateDirIfNotExist(dir, MODE); in GetCacheDir()
147 CreateDirIfNotExist(dirPath, mode); in CreateDirIfNotExistWithCheck()
156 CreateDirIfNotExist(dirPath, mode); in CreateDirIfNotExistWithCheck()
279 CreateDirIfNotExist(dir, MODE); in GetTempDir()
332 CreateDirIfNotExist(dir, MODE); in GetFilesDir()
354 CreateDirIfNotExist(dir, 0); in GetDistributedFilesDir()
362 CreateDirIfNotExist(dir, MODE); in GetCloudFileDir()
1190 void ContextImpl::CreateDirIfNotExist(const std::string& dirPath, const mode_t& mode) const in CreateDirIfNotExist() function in OHOS::AbilityRuntime::ContextImpl
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dcontext_deal.h333 void CreateDirIfNotExist(const std::string& dirPath) const;
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext_impl.h431 void CreateDirIfNotExist(const std::string& dirPath, const mode_t& mode) const;
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_deal_test.cpp612 * @tc.name: CreateDirIfNotExist
613 * @tc.desc: Verify that the CreateDirIfNotExist execute normally.
619 context_->CreateDirIfNotExist(dir); in HWTEST_F()

Completed in 10 milliseconds