Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/cts/tools/signature-tools/test/signature/converter/
DConvertAnnotationTest.java66 IAnnotationField field = annotationFields.iterator().next(); in convertAnnotationDefinition1() local
67 assertEquals("name", field.getName()); in convertAnnotationDefinition1()
68 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in convertAnnotationDefinition1()
69 assertEquals("nobody", field.getDefaultValue()); in convertAnnotationDefinition1()
70 Set<IAnnotation> annotations = field.getAnnotations(); in convertAnnotationDefinition1()
168 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsInt2() local
169 assertEquals("value", field.getName()); in testAnnotationDefaultsInt2()
171 assertTrue(field.getType() instanceof IArrayType); in testAnnotationDefaultsInt2()
172 assertTrue(field.getDefaultValue() instanceof Object[]); in testAnnotationDefaultsInt2()
173 assertSame(field.getDefaultValue().getClass(), Object[].class); in testAnnotationDefaultsInt2()
[all …]
DConvertParameterizedTypeTest.java53 IField field = ModelUtil.getField(sigClass, "f"); in convertParameterizedType() local
55 ITypeReference type = field.getType(); in convertParameterizedType()
87 Field field = A.class.getDeclaredField("f"); in reflectionTest0() local
88 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); in reflectionTest0()
98 Field field = ConvertParameterizedTypeTest.class.getDeclaredField("f"); in reflectionTest1() local
99 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); in reflectionTest1()
111 Field field = E.class.getDeclaredField("f"); in reflectionTest2() local
112 ParameterizedType paramType = (ParameterizedType) field.getGenericType(); in reflectionTest2()
DConvertWildcardTest.java50 IField field = ModelUtil.getField(sigClass, "f"); in convertWildcardUpperBound() local
52 ITypeReference type = field.getType(); in convertWildcardUpperBound()
79 IField field = ModelUtil.getField(sigClass, "f"); in convertWildcardLowerBound() local
81 ITypeReference type = field.getType(); in convertWildcardLowerBound()
/cts/tests/signature-tests/src/android/signature/cts/tests/
DJDiffClassDescriptionTest.java217 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testFinalField() local
219 clz.addField(field); in testFinalField()
221 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); in testFinalField()
226 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testStaticField() local
228 clz.addField(field); in testStaticField()
230 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); in testStaticField()
235 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testVolatileFiled() local
237 clz.addField(field); in testVolatileFiled()
239 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); in testVolatileFiled()
244 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testTransientField() local
[all …]
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java75 for (IField field : clazz.getFields()) { in getField()
76 if (fieldName.equals(field.getName())) { in getField()
77 return field; in getField()
85 for (IAnnotationField field : annotation.getAnnotationFields()) { in getAnnotationField()
86 if (fieldName.equals(field.getName())) { in getAnnotationField()
87 return field; in getAnnotationField()
/cts/tools/signature-tools/src/signature/compare/model/impl/
DSigDelta.java101 for (Field field : allFields) { in toString()
102 if (!ignore.contains(field.getName())) { in toString()
103 field.setAccessible(true); in toString()
104 Object delta = field.get(this); in toString()
106 builder.append(field.getName()); in toString()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java123 public void addField(JDiffField field) { in addField() argument
124 jDiffFields.add(field); in addField()
715 for (JDiffField field : jDiffFields) { in checkFieldsCompliance()
717 Field f = findMatchingField(field); in checkFieldsCompliance()
720 field.toReadableString(mAbsoluteClassName), in checkFieldsCompliance()
722 field.toSignatureString()); in checkFieldsCompliance()
723 } else if (f.getModifiers() != field.mModifier) { in checkFieldsCompliance()
725 field.toReadableString(mAbsoluteClassName), in checkFieldsCompliance()
727 field.toSignatureString()); in checkFieldsCompliance()
728 } else if (!f.getType().getCanonicalName().equals(field.mFieldType)) { in checkFieldsCompliance()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput/d/
DT_iput_13.d19 .field public st_i1 I
20 .field protected st_p1 I
21 .field private st_pvt1 I
DT_iput_1.d19 .field public st_i1 I
20 .field protected st_p1 I
21 .field private st_pvt1 I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_short/d/
DT_sput_short_1.d19 .field public static st_i1 S
20 .field protected static st_p1 S
21 .field private static st_pvt1 S
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput/d/
DT_sput_1.d19 .field public static st_i1 I
20 .field protected static st_p1 I
21 .field private static st_pvt1 I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_boolean/d/
DT_sput_boolean_1.d19 .field public static st_i1 Z
20 .field protected static st_p1 Z
21 .field private static st_pvt1 Z
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_char/d/
DT_iput_char_1.d19 .field public st_i1 C
20 .field protected st_p1 C
21 .field private st_pvt1 C
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_byte/d/
DT_iput_byte_1.d19 .field public st_i1 B
20 .field protected st_p1 B
21 .field private st_pvt1 B
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_wide/d/
DT_iput_wide_1.d19 .field public st_i1 J
20 .field protected st_p1 J
21 .field private st_pvt1 J
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_byte/d/
DT_sput_byte_1.d19 .field public static st_i1 B
20 .field protected static st_p1 B
21 .field private static st_pvt1 B
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_short/d/
DT_iput_short_1.d19 .field public st_i1 S
20 .field protected st_p1 S
21 .field private st_pvt1 S
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_char/d/
DT_sput_char_1.d19 .field public static st_i1 C
20 .field protected static st_p1 C
21 .field private static st_pvt1 C
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_wide/d/
DT_sput_wide_1.d19 .field public static st_i1 J
20 .field protected static st_p1 J
21 .field private static st_pvt1 J
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_boolean/d/
DT_iput_boolean_1.d19 .field public st_i1 Z
20 .field protected st_p1 Z
21 .field private st_pvt1 Z
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_short/d/
DT_sget_short_1.d19 .field public static i1 S
20 .field protected static p1 S
21 .field private static pvt1 S
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_char/d/
DT_sget_char_1.d19 .field public static i1 C
20 .field protected static p1 C
21 .field private static pvt1 C
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_boolean/d/
DT_iget_boolean_1.d19 .field public i1 Z
20 .field protected p1 Z
21 .field private pvt1 Z
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_1.d19 .field public i1 I
20 .field protected p1 I
21 .field private pvt1 I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_short/d/
DT_iget_short_1.d19 .field public i1 S
20 .field protected p1 S
21 .field private pvt1 S

12345678910>>...21