/ohos5.0/foundation/distributeddatamgr/preferences/test/ndk/mock/ |
H A D | application_context.cpp | 36 std::string &preferencesDir) in GetSystemPreferencesDir() argument 38 preferencesDir = "/data/test"; in GetSystemPreferencesDir()
|
H A D | application_context.h | 31 std::string &preferencesDir) = 0; 40 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/src/ |
H A D | js_ability.cpp | 40 contextInfo.preferencesDir = baseDir + "\\HuaweiDevEcoStudioPreferences"; in GetContextInfo() 48 contextInfo.preferencesDir = baseDir + "/HuaweiDevEcoStudioPreferences"; in GetContextInfo()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | js_ability.cpp | 41 …nt errcode = stageContext->GetSystemPreferencesDir(dataGroupId, false, contextInfo.preferencesDir); in GetContextInfo() 70 abilityContext->GetSystemPreferencesDir("", false, contextInfo.preferencesDir); in GetContextInfo()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/context/ |
H A D | context.js | 141 get preferencesDir() { 142 return this.__context_impl__.preferencesDir;
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | application-context-stage.md | 93 | preferencesDir | <路径前缀>/<加密等级>/base/preferences | 130 let preferencesDir = applicationContext.preferencesDir; 158 | preferencesDir | <路径前缀>/<加密等级>/base/**haps/\<module-name>**/preferences | 194 let preferencesDir = this.context.preferencesDir;
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 206 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() argument 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 …::GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) in GetSystemPreferencesDir() argument 229 ret = GetPreferencesDirWithCheck(checkExist, preferencesDir); in GetSystemPreferencesDir() 231 ret = GetGroupPreferencesDirWithCheck(groupId, checkExist, preferencesDir); in GetSystemPreferencesDir() [all …]
|
H A D | ability_stage_context.cpp | 285 std::string &preferencesDir) in GetSystemPreferencesDir() argument 292 return contextImpl_->GetSystemPreferencesDir(groupId, checkExist, preferencesDir); in GetSystemPreferencesDir()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/application_context/ |
H A D | application_context.js | 252 get preferencesDir() { 253 return this.__context_impl__.preferencesDir;
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/ |
H A D | js_ability.h | 35 std::string preferencesDir; member
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/include/ |
H A D | js_ability.h | 35 std::string preferencesDir; member
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/include/ |
H A D | js_ability.h | 33 std::string preferencesDir; member
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/src/ |
H A D | js_ability.cpp | 39 contextInfo.preferencesDir = stageContext->GetPreferencesDir(); in GetContextInfo()
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/ |
H A D | context_impl.h | 128 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override; 452 int32_t GetPreferencesDirWithCheck(bool checkExist, std::string &preferencesDir); 453 …pPreferencesDirWithCheck(const std::string &groupId, bool checkExist, std::string &preferencesDir);
|
H A D | ability_stage_context.h | 65 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
|
H A D | context.h | 169 std::string &preferencesDir) = 0;
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | application-context-stage.md | 95 | preferencesDir | \<Path prefix>/\<Encryption level>/base/preferences| 132 let preferencesDir = applicationContext.preferencesDir; 160 | preferencesDir | \<Path prefix>/\<Encryption level>/base/**haps/\<module-name>**/preferences| 196 let preferencesDir = this.context.preferencesDir;
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_impl.cpp | 49 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()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/application_context_test/ |
H A D | mock_context_impl.h | 51 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
|
H A D | mock_context_impl.cpp | 93 std::string &preferencesDir) in GetSystemPreferencesDir() argument
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | mock_ability_runtime_context.cpp | 181 std::string &preferencesDir) in GetSystemPreferencesDir() argument
|
H A D | mock_ability_runtime_context.h | 67 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | mock_context.h | 58 …mPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) override;
|
H A D | mock_context.cpp | 195 …::GetSystemPreferencesDir(const std::string &groupId, bool checkExist, std::string &preferencesDir) in GetSystemPreferencesDir() argument
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | feature_ability_common.h | 131 std::string preferencesDir; member
|