Home
last modified time | relevance | path

Searched refs:appContext_ (Results 1 – 10 of 10) sorted by relevance

/foundation/ace/ace_engine_lite/frameworks/src/core/context/
Djs_ability_impl.cpp45 appContext_ = JsAppContext::GetInstance(); in InitEnvironment()
49 appContext_->SetCurrentAbilityInfo(abilityPath, bundleName, token); in InitEnvironment()
50 appContext_->SetTopJSAbilityImpl(this); in InitEnvironment()
52 appContext_->LoadApiVersion(); in InitEnvironment()
69 …abilityModel_ = appContext_->Eval(fileFullPath, strlen(fileFullPath), true); // generate global.$a… in InitEnvironment()
98 if (appContext_) { in CleanUp()
99 appContext_->ClearContext(); in CleanUp()
114 if (rendered_ || (appContext_ == nullptr)) { in DeliverCreate()
155 if (appContext_ == nullptr) { in NotifyBackPressed()
161 appContext_->TerminateAbility(); in NotifyBackPressed()
Djs_ability_impl.h39 : appContext_(nullptr), in JSAbilityImpl()
125 JsAppContext *appContext_; variable
/foundation/ace/ace_engine_lite/frameworks/src/core/router/
Djs_page_state_machine.cpp42 appContext_ = nullptr; in StateMachine()
157 appContext_ = JsAppContext::GetInstance(); in Init()
158 appRootPath_ = const_cast<char *>(appContext_->GetCurrentAbilityPath()); in Init()
216 appContext_->SetCurrentJsPath(jsPagePath_); in BindUri()
299 jerry_value_t evalResult = appContext_->Eval(pageFilePath, strlen(pageFilePath), false); in EvalPage()
343 LazyLoadManager *lazy = const_cast<LazyLoadManager *>(appContext_->GetLazyLoadManager()); in RenderPage()
348 jerry_value_t element = appContext_->Render(viewModel_); in RenderPage()
440 if (appContext_ != nullptr) { in ReleaseHistoryPageResource()
441 appContext_->ReleaseStyles(); in ReleaseHistoryPageResource()
442 appContext_->ReleaseLazyLoadManager(); in ReleaseHistoryPageResource()
Djs_page_state_machine.h98 JsAppContext *appContext_; variable
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/src/
Dcontext_deal.cpp121 return appContext_; in GetApplicationContext()
136 appContext_ = context; in SetApplicationContext()
1255 if (appContext_ == nullptr) { in CreateParallelTaskDispatcher()
1260 … std::shared_ptr<TaskDispatcher> task = appContext_->CreateParallelTaskDispatcher(name, priority); in CreateParallelTaskDispatcher()
1277 if (appContext_ == nullptr) { in CreateSerialTaskDispatcher()
1282 std::shared_ptr<TaskDispatcher> task = appContext_->CreateSerialTaskDispatcher(name, priority); in CreateSerialTaskDispatcher()
1297 if (appContext_ == nullptr) { in GetGlobalTaskDispatcher()
1302 std::shared_ptr<TaskDispatcher> task = appContext_->GetGlobalTaskDispatcher(priority); in GetGlobalTaskDispatcher()
/foundation/aafwk/standard/frameworks/kits/appkit/native/ability_runtime/context/
Dcontext.h223 static std::shared_ptr<Context> appContext_; variable
Dcontext_impl.cpp405 std::shared_ptr<Context> Context::appContext_ = nullptr; member in OHOS::AbilityRuntime::Context
411 return appContext_; in GetApplicationContext()
417 Context::appContext_ = shared_from_this(); in InitAppContext()
/foundation/aafwk/standard/frameworks/kits/appkit/native/ability_delegator/include/
Dability_delegator.h97 std::shared_ptr<AbilityRuntime::Context> appContext_;
/foundation/aafwk/standard/frameworks/kits/appkit/native/ability_delegator/src/
Dability_delegator.cpp28 : appContext_(context), testRunner_(std::move(runner)), observer_(observer) in AbilityDelegator()
116 return appContext_; in GetAppContext()
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/include/
Dcontext_deal.h748 std::shared_ptr<Context> appContext_ = nullptr; variable