Searched refs:trie (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | Console.java | 294 protected void setCustomCommands(RegexTrie<Runnable> trie, List<String> genericHelp, in setCustomCommands() argument 309 void generateHelpListings(RegexTrie<Runnable> trie, List<String> genericHelp, in generateHelpListings() argument 319 trie.put(genericHelpRunnable, HELP_PATTERN); in generateHelpListings() 328 trie.put(new Runnable() { in generateHelpListings() 340 trie.put(new Runnable() { in generateHelpListings() 348 trie.put(new ArgRunnable<CaptureList>() { in generateHelpListings() 361 trie.put(new ArgRunnable<CaptureList>() { in generateHelpListings() 446 void addDefaultCommands(RegexTrie<Runnable> trie, List<String> genericHelp, in addDefaultCommands() argument 535 trie.put(new QuitRunnable(), EXIT_PATTERN, null); in addDefaultCommands() 536 trie.put(new QuitRunnable(), EXIT_PATTERN); in addDefaultCommands() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | ConsoleTest.java | 220 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand() local 226 Runnable runnable = trie.retrieve(captures, command); in testRunCommand() 240 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand_shortcut() local 246 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_shortcut() 264 RegexTrie<Runnable> trie = mConsole.getCommandTrie(); in testRunCommand_startsWithCommand() local 270 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_startsWithCommand()
|