Home
last modified time | relevance | path

Searched refs:preferencesDir (Results 1 - 25 of 34) sorted by relevance

12

/foundation/distributeddatamgr/preferences/test/ndk/mock/
H A Dapplication_context.cpp36 std::string &preferencesDir) in GetSystemPreferencesDir()
38 preferencesDir = "/data/test"; in GetSystemPreferencesDir()
35 GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetSystemPreferencesDir() argument
H A Dapplication_context.h31 std::string &preferencesDir) = 0;
40 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/src/
H A Djs_ability.cpp40 contextInfo.preferencesDir = baseDir + "\\HuaweiDevEcoStudioPreferences"; in GetContextInfo()
48 contextInfo.preferencesDir = baseDir + "/HuaweiDevEcoStudioPreferences"; in GetContextInfo()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_ability.cpp41 int errcode = stageContext->GetSystemPreferencesDir(dataGroupId, false, contextInfo.preferencesDir); in GetContextInfo()
70 abilityContext->GetSystemPreferencesDir("", false, contextInfo.preferencesDir); in GetContextInfo()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Djs_ability.h35 std::string preferencesDir; member
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/src/
H A Djs_ability.cpp39 contextInfo.preferencesDir = stageContext->GetPreferencesDir(); in GetContextInfo()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/include/
H A Djs_ability.h35 std::string preferencesDir; member
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/include/
H A Djs_ability.h33 std::string preferencesDir; member
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp206 int32_t ContextImpl::GetPreferencesDirWithCheck(bool checkExist, std::string &preferencesDir) in GetPreferencesDirWithCheck() argument
208 preferencesDir = GetBaseDir() + CONTEXT_FILE_SEPARATOR + CONTEXT_PREFERENCES; in GetPreferencesDirWithCheck()
209 CreateDirIfNotExistWithCheck(preferencesDir, MODE, checkExist); in GetPreferencesDirWithCheck()
214 std::string &preferencesDir) in GetGroupPreferencesDirWithCheck()
216 int32_t ret = GetGroupDirWithCheck(groupId, checkExist, preferencesDir); in GetGroupPreferencesDirWithCheck()
220 preferencesDir = preferencesDir + CONTEXT_FILE_SEPARATOR + CONTEXT_PREFERENCES; in GetGroupPreferencesDirWithCheck()
221 CreateDirIfNotExistWithCheck(preferencesDir, GROUP_MODE, checkExist); in GetGroupPreferencesDirWithCheck()
225 int32_t ContextImpl::GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) in GetSystemPreferencesDir() argument
229 ret = GetPreferencesDirWithCheck(checkExist, preferencesDir); in GetSystemPreferencesDir()
213 GetGroupPreferencesDirWithCheck(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetGroupPreferencesDirWithCheck() argument
[all...]
H A Dability_stage_context.cpp285 std::string &preferencesDir) in GetSystemPreferencesDir()
292 return contextImpl_->GetSystemPreferencesDir(groupId, checkExist, preferencesDir); in GetSystemPreferencesDir()
284 GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetSystemPreferencesDir() argument
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext_impl.h128 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
452 int32_t GetPreferencesDirWithCheck(bool checkExist, std::string &preferencesDir);
453 int32_t GetGroupPreferencesDirWithCheck(const std::string &groupId, bool checkExist, std::string &preferencesDir);
H A Dcontext.h169 std::string &preferencesDir) = 0;
H A Dability_stage_context.h65 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dmock_ability_runtime_context.cpp181 std::string &preferencesDir) in GetSystemPreferencesDir()
180 GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetSystemPreferencesDir() argument
H A Dmock_ability_runtime_context.h67 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/
H A Dmock_context.h58 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
H A Dmock_context.cpp195 int32_t MockContext::GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) in GetSystemPreferencesDir() argument
/foundation/ability/ability_runtime/test/unittest/application_context_second_test/
H A Dmock_context_impl.h51 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
H A Dmock_context_impl.cpp93 std::string &preferencesDir) in GetSystemPreferencesDir()
92 GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetSystemPreferencesDir() argument
/foundation/ability/ability_runtime/test/unittest/application_context_test/
H A Dmock_context_impl.h51 int32_t GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
H A Dmock_context_impl.cpp93 std::string &preferencesDir) in GetSystemPreferencesDir()
92 GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) GetSystemPreferencesDir() argument
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dfeature_ability_common.h131 std::string preferencesDir; member
/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_impl.cpp49 std::string preferencesDir; in GetInstancePath() local
50 errcode = context->GetSystemPreferencesDir(dataGroupId, false, preferencesDir); in GetInstancePath()
54 tempContext->path = preferencesDir.append("/").append(tempContext->name); in GetInstancePath()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences_helper.cpp73 context->path = contextInfo.preferencesDir.append("/").append(context->name); in ParseParameters()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
H A Dnapi_preferences_helper.cpp72 context->path = contextInfo.preferencesDir.append("/").append(context->name); in ParseParameters()

Completed in 10 milliseconds

12