Searched refs:ParseableCommand (Results 1 – 8 of 8) sorted by relevance
46 object : ParseableCommand("subCommand") { in testFactoryMethods()52 object : ParseableCommand("subCommand2") { in testFactoryMethods()59 object : ParseableCommand("testName") { in testFactoryMethods()97 object : ParseableCommand("test-command") { in factoryMethods_enforceShortNameRules()106 object : ParseableCommand("test-command") { in factoryMethods_enforceShortNameRules()119 object : ParseableCommand("test-command") { in factoryMethods_enforceLongNames_notPrefixed()128 object : ParseableCommand("test-command") { in factoryMethods_enforceLongNames_notPrefixed()139 object : ParseableCommand("test-command") { in executeDoesNotPropagateExceptions()156 object : ParseableCommand("test-command") { in executeFailingCommand_callsOnParseFailed()202 object : ParseableCommand(name) { in commandWithRequiredParam_provided()[all …]
146 object : ParseableCommand("test") { in parseCommandWithSubCommand_required_provided()164 object : ParseableCommand("test") { in parseCommandWithSubCommand_required_notProvided()
35 val cmd: ParseableCommand53 class OptionalSubCommand<T : ParseableCommand>( in parseSubCommandArgs()55 ) : SubCommand, ReadOnlyProperty<Any?, ParseableCommand?> { in parseSubCommandArgs()85 class RequiredSubCommand<T : ParseableCommand>(87 ) : SubCommand, ReadOnlyProperty<Any?, ParseableCommand> {101 override fun getValue(thisRef: Any?, property: KProperty<*>): ParseableCommand = cmd in getValue()
90 abstract class ParseableCommand(val name: String, val description: String? = null) : Command { class153 private fun subCmdsRequestingHelp(): List<ParseableCommand> = in subCmdsRequestingHelp()283 fun <T : ParseableCommand> subCommand( in subCommand()291 fun <T : ParseableCommand> OptionalSubCommand<T>.required(): RequiredSubCommand<T> = in subCommand()
216 private fun subCommandContainsSubCommands(cmd: ParseableCommand): Boolean = in subCommandContainsSubCommands()257 fun <T : ParseableCommand> require(optional: OptionalSubCommand<T>): RequiredSubCommand<T> { in require()263 private fun <T : ParseableCommand> replaceWithRequired( in replaceWithRequired()308 internal fun <T : ParseableCommand> subCommand( in subCommand()
21 import com.android.systemui.statusbar.commandline.ParseableCommand27 ) : ParseableCommand(NAME) {44 class BottomMarginCommand : ParseableCommand(NAME) {
22 import com.android.systemui.statusbar.commandline.ParseableCommand30 ) : ParseableCommand(SCREEN_DECOR_CMD_NAME) {82 class RoundedCornerSubCommand(name: String) : ParseableCommand(name) {
23 import com.android.systemui.statusbar.commandline.ParseableCommand33 ParseableCommand(ECHO_TRACKER_COMMAND_NAME) {