Searched refs:appContext_ (Results 1 – 10 of 10) sorted by relevance
/foundation/ace/ace_engine_lite/frameworks/src/core/context/ |
D | js_ability_impl.cpp | 45 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()
|
D | js_ability_impl.h | 39 : appContext_(nullptr), in JSAbilityImpl() 125 JsAppContext *appContext_; variable
|
/foundation/ace/ace_engine_lite/frameworks/src/core/router/ |
D | js_page_state_machine.cpp | 42 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()
|
D | js_page_state_machine.h | 98 JsAppContext *appContext_; variable
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/src/ |
D | context_deal.cpp | 121 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/ |
D | context.h | 223 static std::shared_ptr<Context> appContext_; variable
|
D | context_impl.cpp | 405 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/ |
D | ability_delegator.h | 97 std::shared_ptr<AbilityRuntime::Context> appContext_;
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/ability_delegator/src/ |
D | ability_delegator.cpp | 28 : appContext_(context), testRunner_(std::move(runner)), observer_(observer) in AbilityDelegator() 116 return appContext_; in GetAppContext()
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/include/ |
D | context_deal.h | 748 std::shared_ptr<Context> appContext_ = nullptr; variable
|