/foundation/distributeddatamgr/preferences/test/ndk/mock/ |
H A D | application_context.h | 29 virtual std::string GetPreferencesDir() = 0; 39 std::string GetPreferencesDir() override;
|
H A D | application_context.cpp | 30 std::string ApplicationContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::ApplicationContext
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/src/ |
H A D | js_ability.cpp | 39 contextInfo.preferencesDir = stageContext->GetPreferencesDir(); in GetContextInfo()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_context_utils.cpp | 48 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 D | js_application_context_utils.cpp | 60 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 D | ability_context.cpp | 124 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 D | context.h | 50 virtual std::string GetPreferencesDir() = 0;
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/ |
H A D | ability_context.h | 48 std::string GetPreferencesDir() override;
|
H A D | ability_stage_context.h | 47 std::string GetPreferencesDir() override;
|
H A D | js_application_context_utils.h | 49 static napi_value GetPreferencesDir(napi_env env, napi_callback_info info);
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_deal_interface1_test.cpp | 155 * @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 D | mock_ability_runtime_context.cpp | 100 std::string MockAbilityRuntimeContext::GetPreferencesDir() in GetPreferencesDir() function in OHOS::AbilityRuntime::MockAbilityRuntimeContext
|
H A D | mock_ability_runtime_context.h | 50 std::string GetPreferencesDir() override;
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/ |
H A D | cj_ability_context.h | 32 std::string GetPreferencesDir();
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | mock_context.h | 50 std::string GetPreferencesDir() override;
|
/foundation/ability/ability_runtime/test/unittest/application_context_second_test/ |
H A D | mock_context_impl.h | 47 std::string GetPreferencesDir() override;
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/ |
H A D | context.h | 161 virtual std::string GetPreferencesDir() = 0;
|
H A D | ability_stage_context.h | 59 std::string GetPreferencesDir() override;
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | context_container.h | 312 std::string GetPreferencesDir() override;
|
H A D | fa_context.h | 467 virtual std::string GetPreferencesDir() = 0;
|
/foundation/ability/ability_runtime/test/unittest/application_context_test/ |
H A D | mock_context_impl.h | 47 std::string GetPreferencesDir() override;
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | ability_stage_context.cpp | 254 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 D | cj_ability_context.cpp | 39 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 D | ability_stage_context_test.cpp | 142 EXPECT_EQ(abilityStageContext->GetPreferencesDir(), "/data/storage/el2/base/haps//preferences"); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/moduletest/mock/include/ |
H A D | mock_context.h | 77 virtual std::string GetPreferencesDir() = 0;
|