Home
last modified time | relevance | path

Searched refs:OptionalSubCommand (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DCommandParser.kt257 fun <T : ParseableCommand> require(optional: OptionalSubCommand<T>): RequiredSubCommand<T> { in require()
264 old: OptionalSubCommand<T>, in replaceWithRequired()
310 ): OptionalSubCommand<T> { in subCommand()
323 val subCmd = OptionalSubCommand(command) in subCommand()
DSubCommand.kt53 class OptionalSubCommand<T : ParseableCommand>( in parseSubCommandArgs() class
DParseableCommand.kt291 fun <T : ParseableCommand> OptionalSubCommand<T>.required(): RequiredSubCommand<T> = in subCommand()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParseableCommandTest.kt87 val optSub = subCommands.filter { it is OptionalSubCommand<*> } in testFactoryMethods()