/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
command_utils.cpp | 30 /* static */ CommandType CommandUtils::getCommandType(const std::string &commandName) { 32 return CommandType::Info; 34 return CommandType::Diff; 36 return CommandType::Makedict; 38 return CommandType::Header; 40 return CommandType::Help; 42 return CommandType::Unknown; 53 const CommandType commandType) { 54 switch (commandType) { [all...] |
command_utils.h | 29 enum class CommandType : int { 40 static CommandType getCommandType(const std::string &commandName); 43 static std::function<int(int, char **)> getCommandExecutor(const CommandType commandType);
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
command_utils_test.cpp | 26 EXPECT_EQ(CommandUtils::getCommandType(""), CommandType::Unknown); 27 EXPECT_EQ(CommandUtils::getCommandType("abc"), CommandType::Unknown); 28 EXPECT_EQ(CommandUtils::getCommandType("info"), CommandType::Info); 29 EXPECT_EQ(CommandUtils::getCommandType("diff"), CommandType::Diff); 30 EXPECT_EQ(CommandUtils::getCommandType("makedict"), CommandType::Makedict); 31 EXPECT_EQ(CommandUtils::getCommandType("header"), CommandType::Header); 32 EXPECT_EQ(CommandUtils::getCommandType("help"), CommandType::Help);
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
dict_toolkit_main.cpp | 32 const CommandType commandType = CommandUtils::getCommandType(argv[1]); 33 if (commandType == CommandType::Unknown) { 37 const auto executor = CommandUtils::getCommandExecutor(commandType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
AppInterface.java | 63 public static enum CommandType { 88 CommandType(int value) { 97 * Create a CommandType object. 99 * @param value Integer value to be converted to a CommandType object. 100 * @return CommandType object whose "Type of Command" value is {@code 101 * value}. If no CommandType object has that value, null is 104 public static CommandType fromInt(int value) { 105 for (CommandType e : CommandType.values()) {
|
CatService.java | 389 cmdParams.mCmdDet.typeOfCommand = CommandType.SET_UP_IDLE_MODE_TEXT.value(); 470 } else if (cmdParams.getCommandType() == CommandType.OPEN_CHANNEL) { 492 ((cmdParams.getCommandType() == CommandType.CLOSE_CHANNEL) || 493 (cmdParams.getCommandType() == CommandType.RECEIVE_DATA) || 494 (cmdParams.getCommandType() == CommandType.SEND_DATA))) { 600 CommandType cmdType = AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); [all...] |
CatCmdMessage.java | 205 public AppInterface.CommandType getCmdType() { 206 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand);
|
CommandParams.java | 32 AppInterface.CommandType getCommandType() { 33 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand);
|
ResponseData.java | 26 import com.android.internal.telephony.cat.AppInterface.CommandType; 215 int tag = 0x80 | CommandType.PROVIDE_LOCAL_INFORMATION.value();
|
CommandParamsFactory.java | 142 AppInterface.CommandType cmdType = AppInterface.CommandType [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveCommandLine.h | 39 NCommandType::EEnum CommandType;
42 bool IsTestMode() const { return CommandType == NCommandType::kTest; }
|
ArchiveCommandLine.cpp | 206 switch(CommandType)
219 switch(CommandType)
231 return (CommandType == NCommandType::kAdd ||
232 CommandType == NCommandType::kUpdate ||
233 CommandType == NCommandType::kDelete);
258 command.CommandType = (NCommandType::EEnum)commandIndex;
618 NCommandType::EEnum commandType,
623 switch(commandType)
853 options.Command.CommandType != NCommandType::kBenchmark &&
854 options.Command.CommandType != NCommandType::kInfo; [all...] |
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
CommunicationKDP.h | 73 } CommandType; 264 MakeRequestPacketHeader (CommandType request_type, 313 CommandType 317 return (CommandType)(first_packet_byte & eCommandTypeMask); 327 SendRequestAndGetReply (const CommandType command,
|
CommunicationKDP.cpp | 79 uint8_t request; // Either: CommandType | ePacketTypeRequest, or CommandType | ePacketTypeReply 87 CommunicationKDP::MakeRequestPacketHeader (CommandType request_type, 99 CommunicationKDP::SendRequestAndGetReply (const CommandType command, 406 const CommandType command = KDP_CONNECT; 435 const CommandType command = KDP_REATTACH; 475 const CommandType command = KDP_VERSION; 502 const CommandType command = KDP_IMAGEPATH; 612 const CommandType command = KDP_HOSTINFO; 647 const CommandType command = KDP_KERNELVERSION [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
Main.cpp | 239 options.Command.CommandType == NCommandType::kList ||
247 if (options.Command.CommandType == NCommandType::kInfo)
339 else if (options.Command.CommandType == NCommandType::kBenchmark)
379 else if (isExtractGroupCommand || options.Command.CommandType == NCommandType::kList)
|
/packages/apps/Stk/src/com/android/stk/ |
StkAppService.java | [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSynchronizationTests.cpp | 973 enum CommandType 986 CommandType type; [all...] |