Lines Matching refs:CommandLineInterface
23 #include "CommandLineInterface.h"
120 EXPECT_TRUE(std::is_copy_constructible<CommandLineInterface>::value == false);
126 EXPECT_TRUE(std::is_copy_assignable<CommandLineInterface>::value == false);
131 CommandLineInterface& instance1 = CommandLineInterface::GetInstance();
132 CommandLineInterface& instance2 = CommandLineInterface::GetInstance();
138 CommandLineInterface::GetInstance().InitPipe("phone");
139 EXPECT_TRUE(CommandLineInterface::isPipeConnected);
146 CommandLineInterface::GetInstance().ProcessCommand();
150 std::unique_ptr<LocalSocket> temp = std::move(CommandLineInterface::GetInstance().socket);
151 CommandLineInterface::GetInstance().socket = nullptr;
152 CommandLineInterface::GetInstance().ProcessCommand();
154 CommandLineInterface::GetInstance().socket = std::move(temp);
157 CommandLineInterface::GetInstance().isPipeConnected = true;
159 CommandLineInterface::GetInstance().isFirstWsSend = true;
160 CommandLineInterface::GetInstance().ProcessCommand();
161 EXPECT_FALSE(CommandLineInterface::GetInstance().isFirstWsSend);
170 CommandLineInterface::GetInstance().ProcessCommandMessage(msg);
175 CommandLineInterface::GetInstance().ProcessCommandMessage("");
180 CommandLineInterface::GetInstance().ProcessCommandMessage(msg1);
185 CommandLineInterface::GetInstance().ProcessCommandMessage(msg2);
190 CommandLineInterface::GetInstance().ProcessCommandMessage(msg);
197 CommandLineInterface& instance = CommandLineInterface::GetInstance();
217 CommandLineInterface& instance = CommandLineInterface::GetInstance();
226 CommandLineInterface& instance = CommandLineInterface::GetInstance();
229 EXPECT_TRUE(CommandLineInterface::isPipeConnected);
234 CommandLineInterface& instance = CommandLineInterface::GetInstance();
278 CommandLineInterface& instance = CommandLineInterface::GetInstance();
312 CommandLineInterface::GetInstance().ApplyConfigCommands("MousePress", nullptr);
320 CommandLineInterface::GetInstance().CreatCommandToSendData("aaaa", val, "set");
329 CommandLineInterface::SendJsonData(jsonData);
336 CommandLineInterface::GetInstance().SendJSHeapMemory(1, 1, 1);
343 CommandLineInterface::GetInstance().SendWebsocketStartupSignal();
351 CommandLineInterface::GetInstance().Init(deviceType);
355 CommandLineInterface::GetInstance().CreatCommandToSendData("LoadContent", val, "get");
363 CommandLineInterface::GetInstance().Init(deviceType);
370 CommandLineInterface::GetInstance().ApplyConfigMembers(commands, members);
380 CommandLineInterface::GetInstance().ApplyConfig(json1);
385 CommandLineInterface::GetInstance().ApplyConfig(json2);
392 std::unique_ptr<LocalSocket> temp = std::move(CommandLineInterface::GetInstance().socket);
393 CommandLineInterface::GetInstance().socket = nullptr;
394 CommandLineInterface::GetInstance().SendJSHeapMemory(0, 0, 0);
396 CommandLineInterface::GetInstance().socket = std::move(temp);