| /ide/tools/previewer/cli/ |
| H A D | CommandLineInterface.h | 25 class CommandLineInterface { class 27 CommandLineInterface(const CommandLineInterface&) = delete; 28 CommandLineInterface& operator=(const CommandLineInterface&) = delete; 30 static CommandLineInterface& GetInstance(); 46 explicit CommandLineInterface(); 47 virtual ~CommandLineInterface();
|
| H A D | CommandLineInterface.cpp | 17 #include "CommandLineInterface.h" 29 const std::string CommandLineInterface::COMMAND_VERSION = "1.0.1"; 30 bool CommandLineInterface::isFirstWsSend = true; 31 bool CommandLineInterface::isPipeConnected = false; 32 CommandLineInterface::CommandLineInterface() : socket(nullptr) {} in CommandLineInterface() function in CommandLineInterface 34 CommandLineInterface::~CommandLineInterface() {} in ~CommandLineInterface() 36 void CommandLineInterface::InitPipe(const std::string name) in InitPipe() 40 ELOG("CommandLineInterface in InitPipe() [all...] |
| H A D | CommandLineFactory.cpp | 18 #include "CommandLineInterface.h" 82 commandResult.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in CreateCommandLine()
|
| H A D | CommandLine.cpp | 22 #include "CommandLineInterface.h" 115 this->commandResult.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in SetCommandResult()
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineInterfaceTest.cpp | 23 #include "CommandLineInterface.h" 120 EXPECT_TRUE(std::is_copy_constructible<CommandLineInterface>::value == false); in TEST() 126 EXPECT_TRUE(std::is_copy_assignable<CommandLineInterface>::value == false); in TEST() 131 CommandLineInterface& instance1 = CommandLineInterface::GetInstance(); in TEST() 132 CommandLineInterface& instance2 = CommandLineInterface::GetInstance(); in TEST() 138 CommandLineInterface::GetInstance().InitPipe("phone"); in TEST() 139 EXPECT_TRUE(CommandLineInterface::isPipeConnected); in TEST() 146 CommandLineInterface in TEST() [all...] |
| /ide/tools/previewer/test/fuzztest/jsonparse_fuzzer/ |
| H A D | DeviceConfigParseFuzzer.cpp | 22 #include "CommandLineInterface.h" 60 CommandLineInterface::GetInstance().Init("pipeName"); in TEST() 71 CommandLineInterface::GetInstance().ReadAndApplyConfig(filePath); in TEST() 72 CommandLineInterface::GetInstance().ReadAndApplyConfig(""); in TEST()
|
| /ide/tools/previewer/ |
| H A D | RichPreviewer.cpp | 20 #include "CommandLineInterface.h" 40 CommandLineInterface::GetInstance().ReadAndApplyConfig(richConfigArgs); in ApplyConfig() 58 commandResult.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in NotifyInspectorChanged() 61 CommandLineInterface::GetInstance().SendJsonData(commandResult); in NotifyInspectorChanged() 75 CommandLineInterface::GetInstance().ProcessCommand(); in ProcessCommand() 116 CommandLineInterface::GetInstance().Init(parser.Value("s")); in main()
|
| H A D | ThinPreviewer.cpp | 23 #include "CommandLineInterface.h" 53 CommandLineInterface::GetInstance().ReadAndApplyConfig(liteConfigArgs); in ApplyConfig() 97 CommandLineInterface::GetInstance().SendJSHeapMemory(status.totalBytes, status.allocBytes, status.peakAllocBytes); in SendJsHeapData() 118 CommandLineInterface::GetInstance().Init(parser.Value("s")); in main() 136 CommandLineInterface::GetInstance().ProcessCommand(); in main()
|
| /ide/tools/previewer/jsapp/lite/ |
| H A D | TimerTaskHandler.cpp | 28 #include "CommandLineInterface.h" 100 result.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in CheckBrightnessValueChanged() 106 CommandLineInterface::SendJsonData(result); in CheckBrightnessValueChanged()
|
| /ide/tools/previewer/test/fuzztest/commandparse_fuzzer/ |
| H A D | CommandParse.cpp | 21 #include "CommandLineInterface.h" 49 CommandLineInterface::GetInstance().ProcessCommandMessage(dataString); in Execute() 55 CommandLineInterface::GetInstance().Init("pipeName"); in CreateAndExecuteCommand()
|
| /ide/tools/previewer/test/unittest/jsapp_lite/ |
| H A D | TimerTaskHandlerTest.cpp | 21 #include "CommandLineInterface.h" 52 CommandLineInterface::GetInstance().Init("pipeName"); in TEST()
|
| H A D | JsAppImplTest.cpp | 22 #include "CommandLineInterface.h" 51 CommandLineInterface::GetInstance().Init("pipeName"); in SetUpTestCase()
|
| /ide/tools/previewer/mock/rich/ |
| H A D | VirtualScreenImpl.cpp | 23 #include "CommandLineInterface.h" 243 CommandLineInterface::GetInstance().CreatCommandToSendData("CurrentRouter", val, "get"); in PageCallback() 252 CommandLineInterface::GetInstance().CreatCommandToSendData("LoadContent", val, "get"); in LoadContentCallback() 260 CommandLineInterface::GetInstance().CreatCommandToSendData("FastPreviewMsg", val, "get"); in FastPreviewCallback()
|
| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | JsAppImplTest.cpp | 23 #include "CommandLineInterface.h" 51 CommandLineInterface::GetInstance().Init("pipeName"); in SetUpTestCase()
|
| /ide/tools/previewer/test/unittest/mock/ |
| H A D | VirtualScreenImplTest.cpp | 25 #include "CommandLineInterface.h" 51 CommandLineInterface::GetInstance().InitPipe("phone"); in SetUpTestCase()
|
| /ide/tools/previewer/jsapp/rich/ |
| H A D | JsAppImpl.cpp | 36 #include "CommandLineInterface.h" 1001 CommandLineInterface::GetInstance().CreatCommandToSendData("AvoidAreaChanged", val, "get"); in UpdateAvoidArea2Ide()
|