Home
last modified time | relevance | path

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

12345678910>>...21

/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/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java71 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomDexClassLoader() local
72 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomDexClassLoader()
89 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomPathClassLoader() local
90 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomPathClassLoader()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java149 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfCharArray() local
152 .invoke(field); in testSmallStructsOfCharArray()
164 set_bytes.invoke(field, elem, bytes, true); in testSmallStructsOfCharArray()
206 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfHeterogeneousTypes() local
209 .invoke(field); in testSmallStructsOfHeterogeneousTypes()
217 fieldASetter.invoke(field, elem, initialValueA, true); in testSmallStructsOfHeterogeneousTypes()
223 fieldBSetter.invoke(field, elem, initialValueB, true); in testSmallStructsOfHeterogeneousTypes()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java123 public void addField(JDiffField field) { in addField() argument
124 jDiffFields.add(field); in addField()
739 for (JDiffField field : jDiffFields) { in checkFieldsCompliance()
741 Field f = findMatchingField(field); in checkFieldsCompliance()
744 field.toReadableString(mAbsoluteClassName), in checkFieldsCompliance()
746 field.toSignatureString()); in checkFieldsCompliance()
747 } else if (f.getModifiers() != field.mModifier) { in checkFieldsCompliance()
749 field.toReadableString(mAbsoluteClassName), in checkFieldsCompliance()
751 field.toSignatureString()); in checkFieldsCompliance()
752 } 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_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/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_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/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/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_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_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/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_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/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_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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java204 Field field = DevicePolicyManager.class.getField("MAKE_USER_EPHEMERAL"); in testCreateAndManageEphemeralUser() local
205 int makeEphemeralFlag = field.getInt(null); in testCreateAndManageEphemeralUser()
226 Field field = DevicePolicyManager.class.getField("MAKE_USER_EPHEMERAL"); in testCreateAndManageEphemeralUserFails() local
227 int makeEphemeralFlag = field.getInt(null); in testCreateAndManageEphemeralUserFails()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/
DT_sget_1.d19 .field public static i1 I
20 .field protected static p1 I
21 .field private static pvt1 I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/
DT_iput_object_1.d19 .field public st_i1 Ljava/lang/Object;
20 .field protected st_p1 Ljava/lang/Object;
21 .field private st_pvt1 Ljava/lang/Object;
/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/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_byte/d/
DT_iget_byte_1.d19 .field public i1 B
20 .field protected p1 B
21 .field private pvt1 B
/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/iget_short/d/
DT_iget_short_1.d19 .field public i1 S
20 .field protected p1 S
21 .field private pvt1 S

12345678910>>...21