Searched refs:CommandType (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | command_utils.cpp | 30 /* static */ CommandType CommandUtils::getCommandType(const std::string &commandName) { in getCommandType() 32 return CommandType::Info; in getCommandType() 34 return CommandType::Diff; in getCommandType() 36 return CommandType::Makedict; in getCommandType() 38 return CommandType::Header; in getCommandType() 40 return CommandType::Help; in getCommandType() 42 return CommandType::Unknown; in getCommandType() 53 const CommandType commandType) { in getCommandExecutor() 55 case CommandType::Info: in getCommandExecutor() 57 case CommandType::Diff: in getCommandExecutor() [all …]
|
D | command_utils.h | 29 enum class CommandType : int { enum 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/ |
D | command_utils_test.cpp | 26 EXPECT_EQ(CommandUtils::getCommandType(""), CommandType::Unknown); in TEST() 27 EXPECT_EQ(CommandUtils::getCommandType("abc"), CommandType::Unknown); in TEST() 28 EXPECT_EQ(CommandUtils::getCommandType("info"), CommandType::Info); in TEST() 29 EXPECT_EQ(CommandUtils::getCommandType("diff"), CommandType::Diff); in TEST() 30 EXPECT_EQ(CommandUtils::getCommandType("makedict"), CommandType::Makedict); in TEST() 31 EXPECT_EQ(CommandUtils::getCommandType("header"), CommandType::Header); in TEST() 32 EXPECT_EQ(CommandUtils::getCommandType("help"), CommandType::Help); in TEST()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_address_manager.cc | 366 Command command = {CommandType::ROTATE_RANDOM_ADDRESS, RotateRandomAddressCommand{}}; in prepare_to_rotate() 407 Command command = {CommandType::UPDATE_IRK, update_irk_command}; in prepare_to_update_irk() 530 Command command = {CommandType::ADD_DEVICE_TO_ACCEPT_LIST, HCICommand{std::move(packet_builder)}}; in AddDeviceToFilterAcceptList() 545 …Command disable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(disable_builde… in AddDeviceToResolvingList() 550 …Command command = {CommandType::ADD_DEVICE_TO_RESOLVING_LIST, HCICommand{std::move(packet_builder)… in AddDeviceToResolvingList() 556 Command command = {CommandType::LE_SET_PRIVACY_MODE, HCICommand{std::move(packet_builder)}}; in AddDeviceToResolvingList() 562 …Command enable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(enable_builder)… in AddDeviceToResolvingList() 575 …Command command = {CommandType::REMOVE_DEVICE_FROM_ACCEPT_LIST, HCICommand{std::move(packet_builde… in RemoveDeviceFromFilterAcceptList() 587 …Command disable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(disable_builde… in RemoveDeviceFromResolvingList() 592 …Command command = {CommandType::REMOVE_DEVICE_FROM_RESOLVING_LIST, HCICommand{std::move(packet_bui… in RemoveDeviceFromResolvingList() [all …]
|
D | le_address_manager.h | 116 enum CommandType { enum 142 … CommandType command_type; // Note that this field is only intended for logging, not control flow
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | dict_toolkit_main.cpp | 32 const CommandType commandType = CommandUtils::getCommandType(argv[1]); in main() 33 if (commandType == CommandType::Unknown) { in main()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 732 == AppInterface.CommandType.PLAY_TONE.value()) { in handleCardStatusChangeAndIccRefresh() 1395 AppInterface.CommandType.DISPLAY_TEXT.value()) in handleCmdResponse() 1416 AppInterface.CommandType.OPEN_CHANNEL.value()) { in handleCmdResponse() 1487 == AppInterface.CommandType.GET_INPUT.value() in cleanUpInstanceStackBySlot() 1489 == AppInterface.CommandType.GET_INKEY.value()) { in cleanUpInstanceStackBySlot() 1492 == AppInterface.CommandType.SET_UP_MENU.value() in cleanUpInstanceStackBySlot() 1494 == AppInterface.CommandType.SELECT_ITEM.value()) { in cleanUpInstanceStackBySlot() 1513 AppInterface.CommandType cmdType = mStkContext[slotId].mCurrentCmd.getCmdType(); in restoreInstanceFromStackBySlot() 1764 … unregisterHomeVisibilityObserver(AppInterface.CommandType.SET_UP_EVENT_LIST, slotId); in unregisterEvent() 1847 private void unregisterHomeVisibilityObserver(AppInterface.CommandType command, int slotId) { in unregisterHomeVisibilityObserver() [all …]
|