Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 12 of 12) sorted by relevance

/ide/tools/previewer/mock/lite/
DHalSysParam.cpp36 ILOG("Get productType, result: %s", ModelManager::GetConfig().deviceType.c_str()); in HalGetDeviceType()
37 if (ModelManager::GetConfig().deviceType.empty()) { in HalGetDeviceType()
41 return ModelManager::GetConfig().deviceType.c_str(); in HalGetDeviceType()
/ide/tools/previewer/util/
DModelConfig.h24 std::string deviceType;
DModelManager.cpp57 if (config.deviceType == device) { in GetConfig()
DCommandParser.cpp34 deviceType("liteWearable"), in CommandParser()
175 return deviceType; in GetDeviceType()
417 deviceType = Value("device"); in IsDeviceValid()
418 ILOG("CommandParser device: %s", deviceType.c_str()); in IsDeviceValid()
819 if (deviceType == "liteWearable" || deviceType == "smartVision") { in IsAbilityPathValid()
DCommandParser.h97 std::string deviceType; variable
/ide/tools/previewer/jsapp/
DJsApp.cpp64 bool JsApp::IsLiteDevice(std::string deviceType) in IsLiteDevice() argument
66 auto iter = find(liteDevice.begin(), liteDevice.end(), deviceType); in IsLiteDevice()
DJsApp.h52 static bool IsLiteDevice(std::string deviceType);
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.cpp363 …deviceCfg.deviceType = SetDevice<OHOS::AbilityRuntime::DeviceType>(aceRunArgs.deviceConfig.deviceT… in SetSimulatorCommonParams()
433 …windowModel->deviceType = SetDevice<OHOS::Previewer::DeviceType>(aceRunArgs.deviceConfig.deviceTyp… in SetWindowParams()
449 args.deviceConfig.deviceType = DeviceType::WATCH; in AdaptDeviceType()
456 args.deviceConfig.deviceType = DeviceType::TV; in AdaptDeviceType()
463 args.deviceConfig.deviceType = DeviceType::PHONE; in AdaptDeviceType()
470 args.deviceConfig.deviceType = DeviceType::TABLET; in AdaptDeviceType()
477 args.deviceConfig.deviceType = DeviceType::TABLET; in AdaptDeviceType()
484 args.deviceConfig.deviceType = DeviceType::CAR; in AdaptDeviceType()
803 string deviceType = paramObj["deviceType"].asString(); in ParseSystemParams() local
804 SetDeviceScreenDensity(atoi(screenDensity.c_str()), deviceType); in ParseSystemParams()
[all …]
DJsAppImpl.h148 T SetDevice(const OHOS::Ace::DeviceType& deviceType) const in SetDevice() argument
151 switch (deviceType) { in SetDevice()
/ide/tools/previewer/cli/
DCommandLineFactory.cpp32 string deviceType = cmdParser.GetDeviceType(); in InitCommandMap() local
33 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in InitCommandMap()
DCommandLine.cpp719 string deviceType = cmdParser.GetDeviceType(); in IsSetArgValid() local
720 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in IsSetArgValid()
765 string deviceType = CommandParser::GetInstance().GetDeviceType(); in RunGet() local
766 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in RunGet()
767 if (!deviceType.empty() && !isLiteDevice) { in RunGet()
/ide/tools/previewer/jsapp/lite/
DJsAppImpl.cpp80 std::string deviceType = CommandParser::GetInstance().GetDeviceType(); in InitFontEngine() local