Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 77) sorted by relevance

1234

/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestInfo.java58 public void addOption(TestOption option) { in addOption() argument
59 mOptions.add(option); in addOption()
170 option -> in merge()
171 !option.isExclusive() in merge()
173 option.getName())) in merge()
177 .filter(option -> OPTION_INCLUDE_ANNOTATION.equals(option.getName())) in merge()
182 option -> in merge()
183 option.isExclusive() in merge()
185 option.getName())) in merge()
189 .filter(option -> OPTION_EXCLUDE_ANNOTATION.equals(option.getName())) in merge()
[all …]
DTestOption.java40 public int compareTo(TestOption option) { in compareTo() argument
41 return (mName.compareTo(option.getName())); in compareTo()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionCopier.java44 final Option option = origField.getAnnotation(Option.class); in copyOptions() local
45 Field destField = destFieldMap.remove(option.name()); in copyOptions()
49 OptionSetter.setFieldValue(option.name(), destObject, destField, origValue); in copyOptions()
80 final Option option = origField.getAnnotation(Option.class); in copyOptions() local
81 if (option.name().equals(optionName)) { in copyOptions()
82 Field destField = destFieldMap.remove(option.name()); in copyOptions()
85 OptionSetter.setFieldValue(option.name(), destObject, destField, origValue); in copyOptions()
DArgsOptionParser.java451 final Option option = field.getAnnotation(Option.class); in getOptionHelp() local
453 String optionNameHelp = buildOptionNameHelp(field, option); in getOptionHelp()
454 if (shouldOutputHelpForOption(importantOnly, option, defaultValue)) { in getOptionHelp()
471 out.append(option.description()); in getOptionHelp()
488 private static boolean shouldOutputHelpForOption(boolean importantOnly, Option option, in shouldOutputHelpForOption() argument
493 switch (option.importance()) { in shouldOutputHelpForOption()
502 option.importance().toString())); in shouldOutputHelpForOption()
513 private static String buildOptionNameHelp(Field field, final Option option) { in buildOptionNameHelp() argument
516 if (option.shortName() != Option.NO_SHORT_NAME) { in buildOptionNameHelp()
518 optionNameBuilder.append(option.shortName()); in buildOptionNameHelp()
[all …]
DOptionSetter.java209 final Option option = field.getAnnotation(Option.class); in getHandlerOrTimeVal() local
210 if (option == null) { in getHandlerOrTimeVal()
219 if (option.isTimeVal()) { in getHandlerOrTimeVal()
517 final Option option = field.getAnnotation(Option.class); in setFieldValue() local
518 if (option == null) { in setFieldValue()
526 OptionUpdateRule rule = option.updateRule(); in setFieldValue()
620 final Option option = field.getAnnotation(Option.class); in addOptionsForObject() local
621 if (option.name().indexOf(NAMESPACE_SEPARATOR) != -1) { in addOptionsForObject()
625 option.name(), optionSource.getClass().getName(), NAMESPACE_SEPARATOR)); in addOptionsForObject()
632 if ((option.updateRule() == OptionUpdateRule.GREATEST) || in addOptionsForObject()
[all …]
DDynamicRemoteFileResolver.java120 final Option option = field.getAnnotation(Option.class); in validateRemoteFilePath() local
121 if (option == null) { in validateRemoteFilePath()
155 File downloadedFile = resolveRemoteFiles(consideredFile, option); in validateRemoteFilePath()
177 File downloadedFile = resolveRemoteFiles(consideredFile, option); in validateRemoteFilePath()
197 key = resolveRemoteFiles((File) key, option); in validateRemoteFilePath()
204 val = resolveRemoteFiles((File) val, option); in validateRemoteFilePath()
225 key = resolveRemoteFiles((File) key, option); in validateRemoteFilePath()
233 File f = resolveRemoteFiles((File) mapValue, option); in validateRemoteFilePath()
346 private File resolveRemoteFiles(File consideredFile, Option option) throws BuildRetrievalError { in resolveRemoteFiles() argument
365 option.name(), path); in resolveRemoteFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DArgsOptionParserTest.java592 final String option = "--my_option"; in testParseBestEffort_oneArg() local
595 new String[] {option, value}); in testParseBestEffort_oneArg()
606 final String option = "--my_option"; in testParseBestEffort_oneArg_overwrite() local
610 new String[] {option, value1, option, value2}); in testParseBestEffort_oneArg_overwrite()
696 final String option = "--my_option"; in testParseBestEffort_oneArg_manualStop() local
700 new String[] {option, value1, "--", option, value2}); in testParseBestEffort_oneArg_manualStop()
703 assertEquals(option, leftovers.get(0)); in testParseBestEffort_oneArg_manualStop()
714 final String option = "--my_option"; in testParseBestEffort_oneArg_bareWord() local
719 new String[] {option, value1, bareWord, option, value2}); in testParseBestEffort_oneArg_bareWord()
723 assertEquals(option, leftovers.get(1)); in testParseBestEffort_oneArg_bareWord()
[all …]
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java337 final Option option = field.getAnnotation(Option.class); in getOptionHelp() local
339 String optionNameHelp = buildOptionNameHelp(field, option); in getOptionHelp()
340 if (shouldOutputHelpForOption(importantOnly, option, defaultValue)) { in getOptionHelp()
357 out.append(option.description()); in getOptionHelp()
374 private static boolean shouldOutputHelpForOption(boolean importantOnly, Option option, in shouldOutputHelpForOption() argument
379 switch (option.importance()) { in shouldOutputHelpForOption()
397 private static String buildOptionNameHelp(Field field, final Option option) { in buildOptionNameHelp() argument
400 if (option.shortName() != Option.NO_SHORT_NAME) { in buildOptionNameHelp()
402 optionNameBuilder.append(option.shortName()); in buildOptionNameHelp()
413 optionNameBuilder.append(option.name()); in buildOptionNameHelp()
DOptionSetter.java307 final Option option = field.getAnnotation(Option.class); in setFieldValue() local
308 if (option == null) { in setFieldValue()
316 OptionUpdateRule rule = option.updateRule(); in setFieldValue()
442 final Option option = field.getAnnotation(Option.class); in addOptionsForObject() local
443 if (option.name().indexOf(NAMESPACE_SEPARATOR) != -1) { in addOptionsForObject()
447 option.name(), optionSource.getClass().getName(), NAMESPACE_SEPARATOR)); in addOptionsForObject()
454 if ((option.updateRule() == OptionUpdateRule.GREATEST) || in addOptionsForObject()
455 (option.updateRule() == OptionUpdateRule.LEAST)) { in addOptionsForObject()
460 "non-Comparable type '%s'.", option.name(), in addOptionsForObject()
461 optionSource.getClass().getName(), option.updateRule(), in addOptionsForObject()
[all …]
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/ndkports/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/trebuchet/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/tradefederation/core/atest/
Dtest_mapping.py59 for option in options:
60 assert len(option) == 1, 'Each option can only have one key.'
61 self.options.append(copy.deepcopy(option).popitem())
72 for option in self.options:
73 options += '%s: %s, ' % option
/tools/asuite/atest/
Dtest_mapping.py57 for option in options:
58 assert len(option) == 1, 'Each option can only have one key.'
59 self.options.append(copy.deepcopy(option).popitem())
70 for option in self.options:
71 options += '%s: %s, ' % option
/tools/tradefederation/core/proto/monitoring/server/
Dtradefed_service.proto20 option java_multiple_files = true;
21 option java_package = "com.proto.tradefed.monitoring";
22 option java_outer_classname = "TradefederationService";
24 option java_generic_services = true;
/tools/tradefederation/core/src/com/android/tradefed/util/
DLocalRunInstructionBuilder.java118 StringBuilder option = in getCommand() local
124 option.append(String.format("%s", optionDef.value)); in getCommand()
126 option.append(String.format("%s:=%s", optionDef.key, optionDef.value)); in getCommand()
128 instruction.append(" " + option); in getCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DSubprocessConfigBuilderTest.java84 NodeList option = ((Element) reporter.item(0)).getElementsByTagName("option"); in verifyWrapperXml() local
85 assertEquals(1, option.getLength()); in verifyWrapperXml()
86 String optionName = ((Element) option.item(0)).getAttribute("name"); in verifyWrapperXml()
88 String optionPort = ((Element) option.item(0)).getAttribute("value"); in verifyWrapperXml()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java258 for (TestOption option : testInfo.getOptions()) { in parseOptions()
259 switch (option.getName()) { in parseOptions()
264 String.format("%s %s", testInfo.getName(), option.getValue())); in parseOptions()
268 String.format("%s %s", testInfo.getName(), option.getValue())); in parseOptions()
272 String.format("%s:%s", testInfo.getName(), option.getName()); in parseOptions()
273 if (option.getValue() != null && !option.getValue().isEmpty()) { in parseOptions()
274 moduleArg = String.format("%s:%s", moduleArg, option.getValue()); in parseOptions()
/tools/test/graphicsbenchmark/performance_tests/helper/proto/
Dresultdata.proto5 option java_package = "com.android.game.qualification.proto";
6 option java_outer_classname = "ResultDataProto";
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Daudiowear.proto6 option java_package = "com.google.android.bisto.nano";
7 option java_outer_classname = "Protocol";
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DCli.kt26 import com.github.ajalt.clikt.parameters.options.option
36 private val outDir: File by option(
42 private val publishToMavenLocal: Boolean by option(
52 private val ndk: Ndk by option().convert { Ndk(File(it)) }.required() in <lambda>()
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md18 should always use "TfSuiteRunner" as runner and the only option needed is
20 file has option "test-suite-tag" set to that value will be included in that
29 <option name="run-suite-tag" value="framework-base-presubmit" />
43 The test configuration file should also have option "test-suite-tag" set to the
47 <option name="test-suite-tag" value="framework-base-presubmit" />
81 "test-zip-file-filter" option tells TradeFed to download and extract all device
/tools/tradefederation/core/isolation/
Disolation_runner.proto20 option java_multiple_files = true;
21 option java_package = "com.android.tradefed.isolation";
22 option java_outer_classname = "IsolationRunnerProto";
/tools/asuite/atest/tools/
Dupdatedb_darwin.sh56 while getopts 'U:n:e:o:l:f:h' option; do
57 case $option in

1234