Searched refs:parseAsSubCommand (Results 1 – 3 of 3) sorted by relevance
100 parser.parseAsSubCommand(args) in parseAsSubCommand_singleFlag_present()109 parser.parseAsSubCommand(args) in parseAsSubCommand_singleFlag_notPresent()117 parser.parseAsSubCommand(listOf("-p", "123", "--other-arg", "321").listIterator()) in parseAsSubCommand_singleOptionalParam_present()124 parser.parseAsSubCommand(listOf("--other-arg", "321").listIterator()) in parseAsSubCommand_singleOptionalParam_notPresent()131 parser.parseAsSubCommand(listOf("-p", "123", "--other-arg", "321").listIterator()) in parseAsSubCommand_singleRequiredParam_present()138 assertFalse(parser.parseAsSubCommand(listOf("--other-arg", "321").listIterator())) in parseAsSubCommand_singleRequiredParam_notPresent()
65 validationStatus = cmd.parser.parseAsSubCommand(iterator) in parseSubCommandArgs()97 validationStatus = cmd.parser.parseAsSubCommand(iterator) in parseSubCommandArgs()
127 fun parseAsSubCommand(iter: ListIterator<String>): Boolean { in parseAsSubCommand() method in com.android.systemui.statusbar.commandline.CommandParser