Lines Matching defs:frontend
141 RefPtr<Frontend> frontend;
142 frontend_.Swap(frontend);
143 if (frontend && taskExecutor_) {
145 [frontend]() {
146 frontend->UpdateState(Frontend::State::ON_DESTROY);
147 frontend->Destroy();
224 taskExecutor_->PostTask([frontend = frontend_]() { frontend->RunNativeEngineLoop(); }, TaskExecutor::TaskType::JS,
226 // After the JS thread executes frontend ->RunNativeEngineLoop(),
253 auto frontend = AceType::DynamicCast<DeclarativeFrontend>(frontend_);
254 CHECK_NULL_VOID(frontend);
255 auto weak = WeakPtr(frontend->GetJsEngine());
272 auto frontend = AceType::DynamicCast<DeclarativeFrontend>(frontend_);
273 CHECK_NULL_VOID(frontend);
274 auto weak = WeakPtr(frontend->GetJsEngine());
847 // For DECLARATIVE_JS frontend display UI in JS thread temporarily.
940 // For DECLARATIVE_JS frontend display UI in JS thread temporarily.
1086 auto frontend = AceType::DynamicCast<OHOS::Ace::DeclarativeFrontend>(frontend_);
1087 if (!frontend) {
1088 LOGE("Component Preview failed: the frontend is nullptr");
1091 auto jsEngine = frontend->GetJsEngine();
1097 [front = frontend, componentName, url, jsEngine]() {