/aosp12/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Dicttool.java | 77 sCommands.put(commandName, cls); in addCommand() 80 private static Command getCommandInstance(final String commandName) { in getCommandInstance() argument 82 return sCommands.get(commandName).newInstance(); in getCommandInstance() 84 throw new RuntimeException(commandName + " is not installed"); in getCommandInstance() 92 for (final String commandName : sCommands.keySet()) { in help() 93 System.out.println("*** " + commandName); in help() 99 private static boolean isCommand(final String commandName) { in isCommand() argument 100 return sCommands.containsKey(commandName); in isCommand() 104 final String commandName = arguments[0]; in getCommand() local 105 if (!isCommand(commandName)) { in getCommand() [all …]
|
/aosp12/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
H A D | command_utils.cpp | 30 /* static */ CommandType CommandUtils::getCommandType(const std::string &commandName) { in getCommandType() argument 31 if (commandName == InfoExecutor::COMMAND_NAME) { in getCommandType() 33 } else if (commandName == DiffExecutor::COMMAND_NAME) { in getCommandType() 35 } else if (commandName == MakedictExecutor::COMMAND_NAME) { in getCommandType() 37 } else if (commandName == HeaderExecutor::COMMAND_NAME) { in getCommandType() 39 } else if (commandName == HelpExecutor::COMMAND_NAME) { in getCommandType() 47 const std::string &commandName) { in printCommandUnknownMessage() argument 49 commandName.c_str(), programName.c_str(), HelpExecutor::COMMAND_NAME); in printCommandUnknownMessage()
|
H A D | command_utils.h | 40 static CommandType getCommandType(const std::string &commandName); 42 const std::string &commandName);
|
H A D | arguments_parser.cpp | 49 void ArgumentsParser::printUsage(const std::string &commandName, in printUsage() argument 51 printf("Usage: %s", commandName.c_str()); in printUsage()
|
H A D | arguments_parser.h | 107 void printUsage(const std::string &commandName, const std::string &description) const;
|
/aosp12/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/generic/ |
H A D | GenericMessageBase.cpp | 31 const auto commandName = (commandNameIt == mCommandNames.end()) in toStream() local 35 if (commandName.has_value() && data.version == 1 && data.reserved == 0) { in toStream() 37 ss << *commandName; in toStream() 42 if (commandName.has_value()) { in toStream() 45 ss << "cmd=" << *commandName; in toStream()
|
/aosp12/packages/apps/SecureElement/src/com/android/se/internal/ |
H A D | Util.java | 73 public static String createMessage(String commandName, int sw) { in createMessage() argument 75 if (commandName != null) { in createMessage() 76 message.append(commandName).append(" "); in createMessage() 90 public static String createMessage(String commandName, String message) { in createMessage() argument 91 if (commandName == null) { in createMessage() 94 return commandName + " " + message; in createMessage()
|
/aosp12/hardware/interfaces/audio/effect/all-versions/default/ |
H A D | Effect.cpp | 254 return analyzeStatus("command", commandName, context, status); in analyzeCommandStatus() 290 cb(analyzeCommandStatus(commandName, sContextCallToCommand, status), config); in getConfigImpl() 395 Result Effect::sendCommand(int commandCode, const char* commandName) { in sendCommand() argument 396 return sendCommand(commandCode, commandName, 0, NULL); in sendCommand() 401 return analyzeCommandStatus(commandName, sContextCallToCommand, status); in sendCommand() 404 Result Effect::sendCommandReturningData(int commandCode, const char* commandName, in sendCommandReturningData() argument 416 return analyzeCommandStatus(commandName, sContextCallToCommand, status); in sendCommandReturningData() 419 Result Effect::sendCommandReturningStatus(int commandCode, const char* commandName) { in sendCommandReturningStatus() argument 420 return sendCommandReturningStatus(commandCode, commandName, 0, NULL); in sendCommandReturningStatus() 444 retval = analyzeCommandStatus(commandName, sContextCallToCommand, status); in sendCommandReturningStatusAndData() [all …]
|
H A D | Effect.h | 211 Result analyzeCommandStatus(const char* commandName, const char* context, status_t status); 212 void getConfigImpl(int commandCode, const char* commandName, GetConfigCallback cb); 217 Result sendCommand(int commandCode, const char* commandName); 218 Result sendCommand(int commandCode, const char* commandName, uint32_t size, void* data); 219 Result sendCommandReturningData(int commandCode, const char* commandName, uint32_t* replySize, 221 Result sendCommandReturningData(int commandCode, const char* commandName, uint32_t size, 223 Result sendCommandReturningStatus(int commandCode, const char* commandName); 224 Result sendCommandReturningStatus(int commandCode, const char* commandName, uint32_t size, 226 Result sendCommandReturningStatusAndData(int commandCode, const char* commandName, 230 Result setConfigImpl(int commandCode, const char* commandName, const EffectConfig& config,
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/ |
H A D | CommandRegistry.kt | 108 val commandName = args[0] regex 109 val wrapper = commandMap[commandName]
|