Searched refs:ParseableCommand (Results 1 – 9 of 9) sorted by relevance
49 object : ParseableCommand("subCommand") { in testFactoryMethods()56 object : ParseableCommand("subCommand2") { in testFactoryMethods()64 object : ParseableCommand("testName") { in testFactoryMethods()102 object : ParseableCommand("test-command") { in factoryMethods_enforceShortNameRules()111 object : ParseableCommand("test-command") { in factoryMethods_enforceShortNameRules()124 object : ParseableCommand("test-command") { in factoryMethods_enforceLongNames_notPrefixed()133 object : ParseableCommand("test-command") { in factoryMethods_enforceLongNames_notPrefixed()144 object : ParseableCommand("test-command") { in executeDoesNotPropagateExceptions()162 object : ParseableCommand("test-command") { in executeFailingCommand_callsOnParseFailed()209 object : ParseableCommand(name) { in commandWithRequiredParam_provided()[all …]
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()
217 private fun subCommandContainsSubCommands(cmd: ParseableCommand): Boolean = in subCommandContainsSubCommands()258 fun <T : ParseableCommand> require(optional: OptionalSubCommand<T>): RequiredSubCommand<T> { in require()264 private fun <T : ParseableCommand> replaceWithRequired( in replaceWithRequired()305 internal fun <T : ParseableCommand> subCommand(command: T): OptionalSubCommand<T> { in subCommand()
30 import com.android.systemui.statusbar.commandline.ParseableCommand58 private class CompositionTracingCommand : ParseableCommand(COMMAND_NAME) {72 private class EnableCommand : ParseableCommand(SUBCOMMAND_ENABLE) {95 private class DisableCommand : ParseableCommand(SUBCOMMAND_DISABLE) {
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) {91 class RoundedCornerSubCommand(name: String) : ParseableCommand(name) {
23 import com.android.systemui.statusbar.commandline.ParseableCommand33 ParseableCommand(ECHO_TRACKER_COMMAND_NAME) {
149 object : ParseableCommand("test") { in parseCommandWithSubCommand_required_provided()167 object : ParseableCommand("test") { in parseCommandWithSubCommand_required_notProvided()