Lines Matching refs:container

59     // To check if use ohos or container fonts.
141 auto container = AceEngine::Get().GetContainer(instanceId_);
142 CHECK_NULL_VOID(container);
143 auto pipelineContext = container->GetPipelineContext();
144 auto taskExecutor = container->GetTaskExecutor();
147 [&pipelineContext, container, ignoreSafeArea = ignoreViewSafeArea]() {
170 auto container = Platform::AceContainer::GetContainerInstance(instanceId_);
171 CHECK_NULL_VOID(container);
172 auto pipeline = container->GetPipelineContext();
174 auto taskExecutor = container->GetTaskExecutor();
242 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
243 CHECK_NULL_VOID(container);
244 container->SetContainerSdkPath(runArgs.containerSdkPath);
245 container->SetInstallationFree(installationFree_);
246 container->SetLabelId(labelId_);
247 auto config = container->GetResourceConfiguration();
253 container->SetResourceConfiguration(config);
254 container->SetBundleName(bundleName_);
255 container->SetModuleName(moduleName_);
256 container->SetApiTargetVersion(AceApplicationInfo::GetInstance().GetApiTargetVersion());
269 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
270 CHECK_NULL_VOID(container);
271 container->SetMockModuleList(mockJsonInfo);
312 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
313 CHECK_NULL_VOID(container);
318 container->SetPkgContextInfo(pkgcontextinfo);
320 container->SetStageCardConfig(runArgs_.pageProfile, runArgs_.url);
322 container->SetPageProfile((runArgs_.pageProfile.empty() ? "" : runArgs_.pageProfile + ".json"));
340 auto container = AceContainer::GetContainerInstance(id);
341 CHECK_NULL_VOID(container);
342 auto func = [taskExecutor = container->GetTaskExecutor(), id](
364 container->RunNativeEngineLoop();
365 auto pipelineContext = container->GetPipelineContext();
372 container->InitializeAppConfig(runArgs_.assetPath, bundleName_, moduleName_, compileMode_);
500 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
501 if (!container) {
502 LOGW("container is null, change configuration failed.");
505 container->UpdateDeviceConfig(newConfig);
507 if (container->GetType() == FrontendType::DECLARATIVE_JS) {
508 container->NativeOnConfigurationUpdated(ACE_INSTANCE_ID);
516 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
517 CHECK_NULL_VOID(container);
518 auto viewPtr = AceType::DynamicCast<AceViewPreview>(container->GetAceView());
522 auto context = container->GetPipelineContext();
530 container->UpdateDeviceConfig(deviceConfig);
536 container->NativeOnConfigurationUpdated(ACE_INSTANCE_ID);
539 container->NotifyConfigurationChange(false, ConfigurationChange({ false, false, true }));
549 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
550 CHECK_NULL_VOID(container);
551 container->GetFrontend()->ReplacePage(url, params);
567 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
568 CHECK_NULL_VOID(container);
569 container->LoadDocument(url, componentName);
577 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
578 CHECK_NULL_RETURN(container, "");
579 auto taskExecutor = container->GetTaskExecutor();
591 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
592 CHECK_NULL_RETURN(container, "");
593 auto taskExecutor = container->GetTaskExecutor();
612 auto container = AceContainer::GetContainerInstance(ACE_INSTANCE_ID);
613 if (!container) {
614 LOGE("Fast Preview failed: container is null");
617 auto taskExecutor = container->GetTaskExecutor();