Lines Matching defs:options

38 #include "options.h"
271 OHOS::AbilityRuntime::Options options;
272 SetSimulatorParams(options);
273 simulator = OHOS::AbilityRuntime::Simulator::Create(options);
313 window->CreateSurfaceNode(options.moduleName, std::move(VirtualScreenImpl::Callback));
317 void JsAppImpl::SetSimulatorParams(OHOS::AbilityRuntime::Options& options)
326 options.moduleJsonBuffer = ctx.value();
330 SetSimulatorCommonParams(options);
331 ILOG("setted bundleName:%s moduleName:%s", options.modulePath.c_str(), options.resourcePath.c_str());
334 void JsAppImpl::SetSimulatorCommonParams(OHOS::AbilityRuntime::Options& options)
336 options.modulePath = aceRunArgs.assetPath + FileSystem::GetSeparator() + "modules.abc";
337 options.resourcePath = commandInfo.appResourcePath + FileSystem::GetSeparator() + "resources.index";
339 options.debugPort = debugServerPort;
341 options.assetPath = aceRunArgs.assetPath;
342 options.systemResourcePath = aceRunArgs.systemResourcesPath;
343 options.appResourcePath = aceRunArgs.appResourcesPath;
344 options.containerSdkPath = aceRunArgs.containerSdkPath;
345 options.url = aceRunArgs.url;
346 options.language = aceRunArgs.language;
347 options.region = aceRunArgs.region;
348 options.script = aceRunArgs.script;
349 options.themeId = aceRunArgs.themeId;
350 options.deviceWidth = aceRunArgs.deviceWidth;
351 options.deviceHeight = aceRunArgs.deviceHeight;
352 options.isRound = aceRunArgs.isRound;
353 options.onRouterChange = aceRunArgs.onRouterChange;
354 options.pkgContextInfoJsonStringMap = aceRunArgs.pkgContextInfoJsonStringMap;
355 options.packageNameList = aceRunArgs.packageNameList;
362 options.deviceConfig = deviceCfg;
364 options.configuration = UpdateConfiguration(aceRunArgs);
369 options.previewPath = fPath.substr(0, pos) + ".idea" + FileSystem::GetSeparator() + "previewer";
370 ILOG("previewPath info:%s", options.previewPath.c_str());
372 options.postTask = AppExecFwk::EventHandler::PostTask;