Searched refs:CommandType (Results 1 - 9 of 9) sorted by relevance
| /ide/tools/previewer/cli/ |
| H A D | CommandLine.h | 26 enum class CommandType { SET = 0, GET, ACTION, INVALID }; class in CommandLine 28 CommandLine(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 46 CommandType type; 109 TouchPressCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 119 TouchMoveCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 129 TouchReleaseCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 139 MouseWheelCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 149 BackClickedCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 158 RestartCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 167 PowerCommand(CommandType commandTyp [all...] |
| H A D | CommandLineFactory.h | 29 CommandLine::CommandType type, 36 CreateObject(CommandLine::CommandType, const Json2::Value&, const LocalSocket& socket); 39 std::unique_ptr<CommandLine> (*)(CommandLine::CommandType, const Json2::Value&, const LocalSocket& socket)>;
|
| H A D | CommandLineInterface.cpp | 125 CommandLine::CommandType type = GetCommandType(jsonData["type"].AsString()); in ProcessCommandMessage() 126 if (type == CommandLine::CommandType::INVALID) { in ProcessCommandMessage() 171 CommandLine::CommandType CommandLineInterface::GetCommandType(std::string name) const in GetCommandType() 173 CommandLine::CommandType type = CommandLine::CommandType::INVALID; in GetCommandType() 175 type = CommandLine::CommandType::SET; in GetCommandType() 177 type = CommandLine::CommandType::GET; in GetCommandType() 179 type = CommandLine::CommandType::ACTION; in GetCommandType() 221 CommandLineFactory::CreateCommandLine(key, CommandLine::CommandType::SET, val, *socket); in ApplyConfigMembers() 259 CommandLine::CommandType commandTyp in CreatCommandToSendData() [all...] |
| H A D | CommandLine.cpp | 39 CommandLine::CommandLine(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket) in CommandLine() 87 if (type == CommandType::GET) { in IsArgValid() 90 if (type == CommandType::SET) { in IsArgValid() 93 if (type == CommandType::ACTION) { in IsArgValid() 130 if (type == CommandType::GET) { in Run() 132 } else if (type == CommandType::SET) { in Run() 134 } else if (type == CommandType::ACTION) { in Run() 209 TouchPressCommand::TouchPressCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket) in TouchPressCommand() 238 MouseWheelCommand::MouseWheelCommand(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket) in MouseWheelCommand() 272 TouchReleaseCommand::TouchReleaseCommand(CommandType commandTyp [all...] |
| H A D | CommandLineInterface.h | 49 CommandLine::CommandType GetCommandType(std::string name) const;
|
| H A D | CommandLineFactory.cpp | 78 CommandLine::CommandType type, const Json2::Value& val, const LocalSocket& socket) in CreateCommandLine() 103 std::unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type, in CreateObject()
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineTest.cpp | 72 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 83 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 93 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 104 CommandLine::CommandType type = CommandLine::CommandType::SET; in TEST_F() 142 CommandLine::CommandType type = CommandLine::CommandType in TEST_F() [all...] |
| H A D | CommandLineFactoryTest.cpp | 44 CommandLine::CommandType commandType = CommandLine::CommandType::SET; in TEST()
|
| H A D | CommandLineInterfaceTest.cpp | 218 EXPECT_EQ(instance.GetCommandType(""), CommandLine::CommandType::INVALID); in TEST() 219 EXPECT_EQ(instance.GetCommandType("set"), CommandLine::CommandType::SET); in TEST() 220 EXPECT_EQ(instance.GetCommandType("get"), CommandLine::CommandType::GET); in TEST() 221 EXPECT_EQ(instance.GetCommandType("action"), CommandLine::CommandType::ACTION); in TEST()
|
Completed in 7 milliseconds