Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DCommandParser.kt199 get() = subCommands.filter { (it is RequiredSubCommand<*> && !it.handled) } in <lambda>()
257 fun <T : ParseableCommand> require(optional: OptionalSubCommand<T>): RequiredSubCommand<T> { in require()
258 val newCmd = RequiredSubCommand(optional.cmd) in require()
265 new: RequiredSubCommand<T>, in replaceWithRequired()
DParseableCommand.kt229 val (reqSub, optSub) = parser.subCommands.partition { it is RequiredSubCommand<*> } in help()
291 fun <T : ParseableCommand> OptionalSubCommand<T>.required(): RequiredSubCommand<T> = in subCommand()
DSubCommand.kt85 class RequiredSubCommand<T : ParseableCommand>( class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParseableCommandTest.kt86 val reqSub = subCommands.filter { it is RequiredSubCommand<*> } in testFactoryMethods()