Searched refs:deviceType (Results 1 – 12 of 12) sorted by relevance
36 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()
24 std::string deviceType;
57 if (config.deviceType == device) { in GetConfig()
34 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()
97 std::string deviceType; variable
64 bool JsApp::IsLiteDevice(std::string deviceType) in IsLiteDevice() argument66 auto iter = find(liteDevice.begin(), liteDevice.end(), deviceType); in IsLiteDevice()
52 static bool IsLiteDevice(std::string deviceType);
363 …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() local804 SetDeviceScreenDensity(atoi(screenDensity.c_str()), deviceType); in ParseSystemParams()[all …]
148 T SetDevice(const OHOS::Ace::DeviceType& deviceType) const in SetDevice() argument151 switch (deviceType) { in SetDevice()
32 string deviceType = cmdParser.GetDeviceType(); in InitCommandMap() local33 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in InitCommandMap()
719 string deviceType = cmdParser.GetDeviceType(); in IsSetArgValid() local720 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in IsSetArgValid()765 string deviceType = CommandParser::GetInstance().GetDeviceType(); in RunGet() local766 bool isLiteDevice = JsApp::IsLiteDevice(deviceType); in RunGet()767 if (!deviceType.empty() && !isLiteDevice) { in RunGet()
80 std::string deviceType = CommandParser::GetInstance().GetDeviceType(); in InitFontEngine() local