Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DFieldTest.java87 Class<?> c, String fieldName, Class<? extends Annotation> annotationType, in checkDeclaredAnnotation() argument
89 Field field = c.getDeclaredField(fieldName); in checkDeclaredAnnotation()
123 Class<?> c, Class<? extends Annotation> annotationType, String fieldName, in assertGetDeclaredAnnotationsByType() argument
125 Field field = c.getDeclaredField(fieldName); in assertGetDeclaredAnnotationsByType()
156 String fieldName, String... expectedAnnotationStrings) throws Exception { in assertGetAnnotationsByType() argument
157 Field field = c.getDeclaredField(fieldName); in assertGetAnnotationsByType()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DFieldTest.java361 String fieldName = null; in testProtectedFieldAccess() local
372 fieldName = "objectField"; in testProtectedFieldAccess()
373 objectField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
375 fieldName = "booleanField"; in testProtectedFieldAccess()
376 booleanField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
378 fieldName = "byteField"; in testProtectedFieldAccess()
379 byteField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
381 fieldName = "charField"; in testProtectedFieldAccess()
382 charField = fieldClass.getDeclaredField(fieldName); in testProtectedFieldAccess()
384 fieldName = "shortField"; in testProtectedFieldAccess()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java85 String fieldName) { in newUpdater() argument
88 return new CASUpdater<U>(tclass, fieldName, caller); in newUpdater()
90 return new LockedUpdater<U>(tclass, fieldName, caller); in newUpdater()
379 CASUpdater(final Class<T> tclass, final String fieldName, in CASUpdater() argument
393 field = tclass.getDeclaredField(fieldName); in CASUpdater()
520 LockedUpdater(final Class<T> tclass, final String fieldName, in LockedUpdater() argument
534 field = tclass.getDeclaredField(fieldName); in LockedUpdater()
DAtomicReferenceFieldUpdater.java107 String fieldName) { in newUpdater() argument
109 (tclass, vclass, fieldName, Reflection.getCallerClass()); in newUpdater()
313 final String fieldName, in AtomicReferenceFieldUpdaterImpl() argument
328 field = tclass.getDeclaredField(fieldName); in AtomicReferenceFieldUpdaterImpl()
DAtomicIntegerFieldUpdater.java85 String fieldName) { in newUpdater() argument
87 (tclass, fieldName, Reflection.getCallerClass()); in newUpdater()
381 final String fieldName, in AtomicIntegerFieldUpdaterImpl() argument
395 field = tclass.getDeclaredField(fieldName); in AtomicIntegerFieldUpdaterImpl()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java148 private static boolean cpuFieldContainsAes(String fieldName) { in cpuFieldContainsAes() argument
150 String regex = "^" + fieldName + "\\s*:.*\\baes\\b.*"; in cpuFieldContainsAes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java57 protected MyField(String fieldName, int calendarField) { in MyField() argument
58 super(fieldName, calendarField); in MyField()
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceFieldUpdaterTest.java85 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument
87 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
DAtomicLongFieldUpdaterTest.java83 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
85 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
DAtomicIntegerFieldUpdaterTest.java83 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
85 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicReferenceFieldUpdaterTest.java108 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument
110 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
DAtomicLongFieldUpdaterTest.java106 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
108 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
DAtomicIntegerFieldUpdaterTest.java106 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument
108 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java254 private static Field getUrlField(String fieldName) throws Exception { in getUrlField() argument
255 Field result = URL.class.getDeclaredField(fieldName); in getUrlField()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp61 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument
62 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant()