Home
last modified time | relevance | path

Searched refs:CommandLineInterface (Results 1 - 16 of 16) sorted by relevance

/ide/tools/previewer/cli/
H A DCommandLineInterface.h25 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 DCommandLineInterface.cpp17 #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 DCommandLineFactory.cpp18 #include "CommandLineInterface.h"
82 commandResult.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in CreateCommandLine()
H A DCommandLine.cpp22 #include "CommandLineInterface.h"
115 this->commandResult.Add("version", CommandLineInterface::COMMAND_VERSION.c_str()); in SetCommandResult()
/ide/tools/previewer/test/unittest/cli/
H A DCommandLineInterfaceTest.cpp23 #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 DDeviceConfigParseFuzzer.cpp22 #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 DRichPreviewer.cpp20 #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 DThinPreviewer.cpp23 #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 DTimerTaskHandler.cpp28 #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 DCommandParse.cpp21 #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 DTimerTaskHandlerTest.cpp21 #include "CommandLineInterface.h"
52 CommandLineInterface::GetInstance().Init("pipeName"); in TEST()
H A DJsAppImplTest.cpp22 #include "CommandLineInterface.h"
51 CommandLineInterface::GetInstance().Init("pipeName"); in SetUpTestCase()
/ide/tools/previewer/mock/rich/
H A DVirtualScreenImpl.cpp23 #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 DJsAppImplTest.cpp23 #include "CommandLineInterface.h"
51 CommandLineInterface::GetInstance().Init("pipeName"); in SetUpTestCase()
/ide/tools/previewer/test/unittest/mock/
H A DVirtualScreenImplTest.cpp25 #include "CommandLineInterface.h"
51 CommandLineInterface::GetInstance().InitPipe("phone"); in SetUpTestCase()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp36 #include "CommandLineInterface.h"
1001 CommandLineInterface::GetInstance().CreatCommandToSendData("AvoidAreaChanged", val, "get"); in UpdateAvoidArea2Ide()

Completed in 11 milliseconds