Searched refs:CommandParser (Results 1 – 13 of 13) sorted by relevance
/ide/tools/previewer/util/ |
D | CommandParser.cpp | 26 CommandParser* CommandParser::example = nullptr; 27 CommandParser::CommandParser() in CommandParser() function in CommandParser 41 screenMode(CommandParser::ScreenMode::DYNAMIC), in CommandParser() 83 CommandParser& CommandParser::GetInstance() in GetInstance() 85 static CommandParser instance; in GetInstance() 92 bool CommandParser::ProcessCommand(std::vector<std::string> strs) in ProcessCommand() 110 bool CommandParser::IsCommandValid() in IsCommandValid() 128 bool CommandParser::IsSet(string key) in IsSet() 136 string CommandParser::Value(string key) in Value() 145 vector<string> CommandParser::Values(string key) in Values() [all …]
|
D | CommandParser.h | 23 class CommandParser { 25 CommandParser(const CommandParser&) = delete; 26 CommandParser& operator=(const CommandParser&) = delete; 27 static CommandParser& GetInstance(); 48 CommandParser::ScreenMode GetScreenMode() const; 61 CommandParser(); 62 ~CommandParser() {} in ~CommandParser() 67 static CommandParser* example; 100 CommandParser::ScreenMode screenMode;
|
D | TraceTool.cpp | 88 val["detail"]["ProjectId"] = CommandParser::GetInstance().GetProjectID(); in GetBaseInfo() 89 val["detail"]["device"] = CommandParser::GetInstance().GetDeviceType(); in GetBaseInfo() 96 return CommandParser::GetInstance().Value("ts"); in GetTracePipeName()
|
D | BUILD.gn | 18 "CommandParser.cpp", 68 "CommandParser.cpp",
|
/ide/tools/previewer/ |
D | RichPreviewer.cpp | 39 CommandParser& parser = CommandParser::GetInstance(); in InitDeviceOrientation() 51 CommandParser& parser = CommandParser::GetInstance(); in InitJsApp() 127 CommandParser& parser = CommandParser::GetInstance(); in InitSharedData() 150 CommandParser& parser = CommandParser::GetInstance(); in main()
|
D | ThinPreviewer.cpp | 44 CommandParser& parser = CommandParser::GetInstance(); in InitSettings() 58 CommandParser& parser = CommandParser::GetInstance(); in InitJsApp() 149 CommandParser& parser = CommandParser::GetInstance(); in main()
|
/ide/tools/previewer/mock/lite/ |
D | VirtualScreenImpl.cpp | 38 if (CommandParser::GetInstance().GetDeviceType() == "liteWearable") { in InitAll() 43 if ((!CommandParser::GetInstance().IsResolutionValid(orignalResolutionWidth)) || in InitAll() 44 (!CommandParser::GetInstance().IsResolutionValid(orignalResolutionHeight))) { in InitAll() 120 if (CommandParser::GetInstance().IsRegionRefresh()) { in ScheduleBufferSend() 148 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC in Send()
|
/ide/tools/previewer/mock/ |
D | VirtualScreen.cpp | 125 int32_t orignalWidth = CommandParser::GetInstance().GetOrignalResolutionWidth(); in InitVirtualScreen() 126 int32_t orignalHeight = CommandParser::GetInstance().GetOrignalResolutionHeight(); in InitVirtualScreen() 127 int32_t compressionWidth = CommandParser::GetInstance().GetCompressionResolutionWidth(); in InitVirtualScreen() 128 int32_t compressionHeight = CommandParser::GetInstance().GetCompressionResolutionHeight(); in InitVirtualScreen() 246 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in JudgeStaticImage()
|
/ide/tools/previewer/jsapp/rich/ |
D | JsAppImpl.cpp | 83 AdaptDeviceType(aceRunArgs, CommandParser::GetInstance().GetDeviceType(), in OrientationChanged() 127 SetPageProfile(args, CommandParser::GetInstance().GetPages()); in SetJsAppArgs() 137 CommandParser::GetInstance().GetDeviceType()); in SetJsAppArgs() 142 SetAppResourcesPath(args, CommandParser::GetInstance().GetAppResourcePath()); in SetJsAppArgs() 143 SetFormsEnabled(args, CommandParser::GetInstance().IsCardDisplay()); in SetJsAppArgs() 144 SetContainerSdkPath(args, CommandParser::GetInstance().GetContainerSdkPath()); in SetJsAppArgs() 145 AdaptDeviceType(args, CommandParser::GetInstance().GetDeviceType(), in SetJsAppArgs() 150 SetComponentModeEnabled(args, CommandParser::GetInstance().IsComponentMode()); in SetJsAppArgs() 225 int idxVal = CommandParser::GetInstance().GetProjectModelEnumValue(); in SetProjectModel() 226 ILOG("ProjectModel: %s", CommandParser::GetInstance().GetProjectModelEnumName(idxVal).c_str()); in SetProjectModel() [all …]
|
/ide/tools/previewer/cli/ |
D | CommandLineFactory.cpp | 31 CommandParser& cmdParser = CommandParser::GetInstance(); in InitCommandMap()
|
D | CommandLine.cpp | 188 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in RunAction() 214 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in RunAction() 229 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in RunAction() 264 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in RunAction() 571 bool isLiteDevice = JsApp::IsLiteDevice(CommandParser::GetInstance().GetDeviceType()); in IsStrValVailid() 663 CommandParser& cmdParser = CommandParser::GetInstance(); in IsSetArgValid() 710 string deviceType = CommandParser::GetInstance().GetDeviceType(); in RunGet() 1296 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC) { in RunAction()
|
/ide/tools/previewer/mock/rich/ |
D | VirtualScreenImpl.cpp | 185 if (CommandParser::GetInstance().GetScreenMode() == CommandParser::ScreenMode::STATIC in Send() 252 if (!CommandParser::GetInstance().IsRegionRefresh()) { in SendPixmap()
|
/ide/tools/previewer/jsapp/lite/ |
D | JsAppImpl.cpp | 110 std::string deviceType = CommandParser::GetInstance().GetDeviceType(); in InitFontEngine()
|