Home
last modified time | relevance | path

Searched refs:GetFilesDir (Results 1 - 25 of 49) sorted by relevance

12

/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ability_ffi.cpp58 auto filesDir = context->GetFilesDir(); in FFIAbilityContextGetFilesDir()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_context_utils.cpp45 static napi_value GetFilesDir(napi_env env, napi_callback_info info);
119 BindNativeProperty(env, object, "filesDir", GetFilesDir); in OnSwitchArea()
202 napi_value JsBaseContext::GetFilesDir(napi_env env, napi_callback_info info) in GetFilesDir() function in OHOS::AbilityRuntime::__anon271::JsBaseContext
214 std::string path = context->GetFilesDir(); in OnGetFilesDir()
335 BindNativeProperty(env, object, "filesDir", JsBaseContext::GetFilesDir); in CreateJsBaseContext()
H A Djs_application_context_utils.cpp57 BindNativeProperty(env, object, "filesDir", GetFilesDir); in OnSwitchArea()
141 napi_value JsApplicationContextUtils::GetFilesDir(napi_env env, napi_callback_info info) in GetFilesDir() function in OHOS::AbilityRuntime::JsApplicationContextUtils
153 std::string path = context->GetFilesDir(); in OnGetFilesDir()
334 BindNativeProperty(env, object, "filesDir", JsApplicationContextUtils::GetFilesDir); in BindNativeApplicationContext()
H A Dability_context.cpp114 std::string AbilityContext::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::AbilityContext
116 return stageContext_ ? stageContext_->GetFilesDir() : ""; in GetFilesDir()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dcontext.h46 virtual std::string GetFilesDir() = 0;
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/
H A Dability_context.h46 std::string GetFilesDir() override;
H A Dability_stage_context.h45 std::string GetFilesDir() override;
H A Djs_application_context_utils.h46 static napi_value GetFilesDir(napi_env env, napi_callback_info info);
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dmock_ability_runtime_context.cpp80 std::string MockAbilityRuntimeContext::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::MockAbilityRuntimeContext
H A Dmock_ability_runtime_context.h46 std::string GetFilesDir() override;
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/
H A Dmock_context.h46 std::string GetFilesDir() override;
H A Dmock_context.cpp69 std::string MockContext::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::MockContext
/foundation/ability/ability_runtime/test/unittest/application_context_second_test/
H A Dmock_context_impl.h43 std::string GetFilesDir() override;
H A Dmock_context_impl.cpp67 std::string MockContextImpl::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::MockContextImpl
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext.h122 virtual std::string GetFilesDir() = 0;
H A Dability_stage_context.h56 std::string GetFilesDir() override;
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dcontext_container.h144 std::string GetFilesDir() override;
H A Dfa_context.h198 virtual std::string GetFilesDir() = 0;
H A Dcontext_deal.h152 std::string GetFilesDir();
/foundation/ability/ability_runtime/test/unittest/application_context_test/
H A Dmock_context_impl.h43 std::string GetFilesDir() override;
H A Dmock_context_impl.cpp67 std::string MockContextImpl::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::MockContextImpl
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dability_stage_context.cpp224 std::string AbilityStageContext::GetFilesDir() in GetFilesDir() function in OHOS::AbilityRuntime::AbilityStageContext
231 return contextImpl_->GetFilesDir(); in GetFilesDir()
H A Djs_context_utils.cpp70 static napi_value GetFilesDir(napi_env env, napi_callback_info info);
145 BindNativeProperty(env, object, "filesDir", GetFilesDir); in OnSwitchArea()
378 napi_value JsBaseContext::GetFilesDir(napi_env env, napi_callback_info info) in GetFilesDir() function in OHOS::AbilityRuntime::__anon234::JsBaseContext
390 std::string path = context->GetFilesDir(); in OnGetFilesDir()
729 BindNativeProperty(env, object, "filesDir", JsBaseContext::GetFilesDir); in BindPropertyAndFunction()
/foundation/ability/ability_runtime/test/unittest/ability_stage_context_test/
H A Dability_stage_context_test.cpp140 EXPECT_EQ(abilityStageContext->GetFilesDir(), "/data/storage/el2/base/haps//files"); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_context.h43 virtual std::string GetFilesDir() = 0;

Completed in 12 milliseconds

12