Home
last modified time | relevance | path

Searched refs:GetPreferencesDir (Results 1 - 25 of 51) sorted by relevance

123

/foundation/distributeddatamgr/preferences/test/ndk/mock/
H A Dapplication_context.h29 virtual std::string GetPreferencesDir() = 0;
39 std::string GetPreferencesDir() override;
H A Dapplication_context.cpp30 std::string ApplicationContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::ApplicationContext
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/src/
H A Djs_ability.cpp39 contextInfo.preferencesDir = stageContext->GetPreferencesDir(); in GetContextInfo()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_context_utils.cpp48 static napi_value GetPreferencesDir(napi_env env, napi_callback_info info);
122 BindNativeProperty(env, object, "preferencesDir", GetPreferencesDir); in OnSwitchArea()
250 napi_value JsBaseContext::GetPreferencesDir(napi_env env, napi_callback_info info) in GetPreferencesDir() function in OHOS::AbilityRuntime::__anon271::JsBaseContext
262 std::string path = context->GetPreferencesDir(); in OnGetPreferencesDir()
338 BindNativeProperty(env, object, "preferencesDir", JsBaseContext::GetPreferencesDir); in CreateJsBaseContext()
H A Djs_application_context_utils.cpp60 BindNativeProperty(env, object, "preferencesDir", GetPreferencesDir); in OnSwitchArea()
190 napi_value JsApplicationContextUtils::GetPreferencesDir(napi_env env, napi_callback_info info) in GetPreferencesDir() function in OHOS::AbilityRuntime::JsApplicationContextUtils
203 std::string path = context->GetPreferencesDir(); in OnGetPreferencesDir()
337 BindNativeProperty(env, object, "preferencesDir", JsApplicationContextUtils::GetPreferencesDir); in BindNativeApplicationContext()
H A Dability_context.cpp124 std::string AbilityContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::AbilityContext
126 return stageContext_ ? stageContext_->GetPreferencesDir() : ""; in GetPreferencesDir()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dcontext.h50 virtual std::string GetPreferencesDir() = 0;
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/
H A Dability_context.h48 std::string GetPreferencesDir() override;
H A Dability_stage_context.h47 std::string GetPreferencesDir() override;
H A Djs_application_context_utils.h49 static napi_value GetPreferencesDir(napi_env env, napi_callback_info info);
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_deal_interface1_test.cpp155 * @tc.name: GetPreferencesDir
156 * @tc.desc: Test the attachbasecontext call to verify that the return value of GetPreferencesDir is correct.
169 EXPECT_STREQ(testValue.c_str(), contextDeal->GetPreferencesDir().c_str()); in HWTEST_F()
175 * @tc.name: GetPreferencesDir
176 * @tc.desc: Test the attachbasecontext call to verify that the return value of GetPreferencesDir is correct.
190 EXPECT_STREQ(testValue.c_str(), contextDeal->GetPreferencesDir().c_str()); in HWTEST_F()
196 * @tc.name: GetPreferencesDir
197 * @tc.desc: Test the attachbasecontext call to verify that the return value of GetPreferencesDir is correct.
211 EXPECT_STREQ(testValue.c_str(), contextDeal->GetPreferencesDir().c_str()); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dmock_ability_runtime_context.cpp100 std::string MockAbilityRuntimeContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::MockAbilityRuntimeContext
H A Dmock_ability_runtime_context.h50 std::string GetPreferencesDir() override;
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/
H A Dcj_ability_context.h32 std::string GetPreferencesDir();
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/
H A Dmock_context.h50 std::string GetPreferencesDir() override;
/foundation/ability/ability_runtime/test/unittest/application_context_second_test/
H A Dmock_context_impl.h47 std::string GetPreferencesDir() override;
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext.h161 virtual std::string GetPreferencesDir() = 0;
H A Dability_stage_context.h59 std::string GetPreferencesDir() override;
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dcontext_container.h312 std::string GetPreferencesDir() override;
H A Dfa_context.h467 virtual std::string GetPreferencesDir() = 0;
/foundation/ability/ability_runtime/test/unittest/application_context_test/
H A Dmock_context_impl.h47 std::string GetPreferencesDir() override;
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dability_stage_context.cpp254 std::string AbilityStageContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::AbilityStageContext
261 return contextImpl_->GetPreferencesDir(); in GetPreferencesDir()
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ability_context.cpp39 std::string CJAbilityContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::CJAbilityContext
45 return context_->GetPreferencesDir(); in GetPreferencesDir()
/foundation/ability/ability_runtime/test/unittest/ability_stage_context_test/
H A Dability_stage_context_test.cpp142 EXPECT_EQ(abilityStageContext->GetPreferencesDir(), "/data/storage/el2/base/haps//preferences"); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_context.h77 virtual std::string GetPreferencesDir() = 0;

Completed in 10 milliseconds

123