Searched refs:option (Results 1 – 5 of 5) sorted by relevance
134 String option = null; in parse() local154 option = originalOption; in parse()155 if (!option.startsWith("-")) { in parse()160 option = inputToOption(option); in parse()161 if (!sOptionsSet.contains(option)) { in parse()166 if (mValues.containsKey(option)) { in parse()172 mValues.put(option, ""); in parse()184 mValues.put(option, value); in parse()194 private String inputToOption(String option) throws UnknownCommandException { in inputToOption() argument195 String op = sOptionMap.get(option); in inputToOption()[all …]
406 String command, String option) { in isValidCommandOption() argument407 return (cp.getAction().equals(command)) && (cp.containsKey(option)) in isValidCommandOption()408 && (cp.getValue(option) != null) in isValidCommandOption()409 && (cp.getValue(option).length() != 0); in isValidCommandOption()
41 BitmapFactory.Options option = new BitmapFactory.Options(); in testRequestCancelDecode() local43 assertFalse(option.mCancel); in testRequestCancelDecode()44 option.requestCancelDecode(); in testRequestCancelDecode()45 assertTrue(option.mCancel); in testRequestCancelDecode()
109 for (String[] option : options) { in start()110 if (option.length == 2 && option[0].equals(OUTPUT_PATH_OPTION)) { in start()111 outputPath = option[1]; in start()152 public static int optionLength(String option) { in optionLength() argument153 if (option.equals(OUTPUT_PATH_OPTION)) { in optionLength()
33 final String option = "--plan"; in testParseSimpleCommand() local36 cp = CommandParser.parse(action + " " + option + " " + value); in testParseSimpleCommand()