Home
last modified time | relevance | path

Searched refs:getAnnotation (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java61 assertNotNull(mDescription.getAnnotation(TestAnnotation.class)); in testCreateDescription()
62 assertNotNull(mDescription.getAnnotation(TestAnnotation2.class)); in testCreateDescription()
72 assertNull(mDescription.getAnnotation(TestAnnotation.class)); in testCreateDescription_noAnnotation()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java115 fields, (f1, f2) -> f1.getAnnotation().index() - f2.getAnnotation().index()); in toSequence()
120 && (lastField.getAnnotation().index() == field.getAnnotation().index())) { in toSequence()
401 public Asn1Field getAnnotation() { in getAnnotation() method in Asn1DerEncoder.AnnotatedField
DAsn1BerParser.java204 fields, (f1, f2) -> f1.getAnnotation().index() - f2.getAnnotation().index()); in parseSequence()
210 && (lastField.getAnnotation().index() == field.getAnnotation().index())) { in parseSequence()
400 public Asn1Field getAnnotation() { in getAnnotation() method in Asn1BerParser.AnnotatedField
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionCopier.java44 final Option option = origField.getAnnotation(Option.class); in copyOptions()
76 Option o = field.getAnnotation(Option.class); in getFieldOptionMap()
DOptionSetter.java207 final Option option = field.getAnnotation(Option.class); in getHandlerOrTimeVal()
515 final Option option = field.getAnnotation(Option.class); in setFieldValue()
620 final Option option = field.getAnnotation(Option.class); in addOptionsForObject()
655 final OptionClass classAnnotation = optionSource.getClass().getAnnotation( in addOptionsForObject()
715 final Option option = field.getAnnotation(Option.class); in getUnsetMandatoryOptions()
926 final OptionClass classAnnotation = optionSource.getClass().getAnnotation( in addNamespacedOptionToMap()
DConfigurationUtil.java139 Option option = field.getAnnotation(Option.class); in dumpOptionsToXml()
140 Deprecated deprecatedAnnotation = field.getAnnotation(Deprecated.class); in dumpOptionsToXml()
DConfiguration.java578 requiredForRerun |= field.field.getAnnotation(Option.class).requiredForRerun(); in internalInjectOptionValue()
1101 final OptionClass classAnnotation = obj.getClass().getAnnotation( in printCommandUsageForObject()
1123 Option option = field.getAnnotation(Option.class); in getOptionJson()
1230 .getAnnotation(OptionClass.class); in getJsonCommandUsage()
DDynamicRemoteFileResolver.java77 final Option option = field.getAnnotation(Option.class); in validateRemoteFilePath()
DArgsOptionParser.java451 final Option option = field.getAnnotation(Option.class); in getOptionHelp()
DGlobalConfiguration.java718 final OptionClass classAnnotation = configObject.getClass().getAnnotation( in printCommandUsage()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java307 final Option option = field.getAnnotation(Option.class); in setFieldValue()
442 final Option option = field.getAnnotation(Option.class); in addOptionsForObject()
477 final OptionClass classAnnotation = optionSource.getClass().getAnnotation( in addOptionsForObject()
526 final Option option = field.getAnnotation(Option.class); in getUnsetMandatoryOptions()
703 final OptionClass classAnnotation = optionSource.getClass().getAnnotation( in addNamespacedOptionToMap()
DArgsOptionParser.java337 final Option option = field.getAnnotation(Option.class); in getOptionHelp()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java315 if (desc.getAnnotation(MetricOption.class) != null) { in shouldSkip()
316 String groupName = desc.getAnnotation(MetricOption.class).group(); in shouldSkip()
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescription.java88 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in TestDescription
/tools/metalava/manual/
Dmaster.txt74 …method @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class…