/libcore/luni/src/test/java/libcore/android/compat/ |
D | VersionCodesTest.java | 48 private static int getFrameworksSdkCode(String fieldName) { in getFrameworksSdkCode() argument 51 return clazz.getField(fieldName).getInt(null); in getFrameworksSdkCode() 60 private static int getLibcoreSdkCode(String fieldName) { in getLibcoreSdkCode() argument 63 return VersionCodes.class.getField(fieldName).getInt(null); in getLibcoreSdkCode()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | FieldTest.java | 87 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/ |
D | FieldTest.java | 361 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/ |
D | AtomicLongFieldUpdater.java | 91 String fieldName) { in newUpdater() argument 94 return new CASUpdater<U>(tclass, fieldName, caller); in newUpdater() 96 return new LockedUpdater<U>(tclass, fieldName, caller); in newUpdater() 388 CASUpdater(final Class<T> tclass, final String fieldName, in CASUpdater() argument 402 field = tclass.getDeclaredField(fieldName); in CASUpdater() 540 LockedUpdater(final Class<T> tclass, final String fieldName, in LockedUpdater() argument 554 field = tclass.getDeclaredField(fieldName); in LockedUpdater()
|
D | AtomicReferenceFieldUpdater.java | 113 String fieldName) { in newUpdater() argument 115 (tclass, vclass, fieldName, Reflection.getCallerClass()); in newUpdater() 326 final String fieldName, in AtomicReferenceFieldUpdaterImpl() argument 341 field = tclass.getDeclaredField(fieldName); in AtomicReferenceFieldUpdaterImpl()
|
D | AtomicIntegerFieldUpdater.java | 91 String fieldName) { in newUpdater() argument 93 (tclass, fieldName, Reflection.getCallerClass()); in newUpdater() 390 final String fieldName, in AtomicIntegerFieldUpdaterImpl() argument 404 field = tclass.getDeclaredField(fieldName); in AtomicIntegerFieldUpdaterImpl()
|
/libcore/ojluni/src/test/java/lang/reflect/records/ |
D | RecordReflectionTest.java | 201 String fieldName = "i"; in testReadOnlyFieldInRecord() local 202 Field f = recordClass.getDeclaredField(fieldName); in testReadOnlyFieldInRecord() 209 assertTrue(false, "should fail to set " + fieldName); in testReadOnlyFieldInRecord()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | CpuFeatures.java | 151 private static boolean cpuFieldContainsAes(String fieldName) { in cpuFieldContainsAes() argument 153 String regex = "^" + fieldName + "\\s*:.*\\baes\\b.*"; in cpuFieldContainsAes()
|
/libcore/ojluni/src/main/java/java/lang/constant/ |
D | MethodHandleDesc.java | 157 String fieldName, in ofField() argument 166 return new DirectMethodHandleDescImpl(kind, owner, fieldName, mtr); in ofField()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 57 protected MyField(String fieldName, int calendarField) { in MyField() argument 58 super(fieldName, calendarField); in MyField()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicReferenceFieldUpdaterTest.java | 85 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument 87 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
|
D | AtomicLongFieldUpdaterTest.java | 83 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 85 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
|
D | AtomicIntegerFieldUpdaterTest.java | 83 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 85 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicReferenceFieldUpdaterTest.java | 108 …tomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> updaterFor(String fieldName) { in updaterFor() argument 110 (AtomicReferenceFieldUpdaterTest.class, Integer.class, fieldName); in updaterFor()
|
D | AtomicLongFieldUpdaterTest.java | 106 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 108 (AtomicLongFieldUpdaterTest.class, fieldName); in updaterFor()
|
D | AtomicIntegerFieldUpdaterTest.java | 106 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> updaterFor(String fieldName) { in updaterFor() argument 108 (AtomicIntegerFieldUpdaterTest.class, fieldName); in updaterFor()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 2624 abstract String fieldName(int i); in fieldName() method in ObjectStreamClass.DeserializationConstructorsCache.Key 2632 for (int i = 0; i < n; i++) h = h * 31 + fieldName(i).hashCode(); in hashCode() 2642 … for (int i = 0; i < n; i++) if (!fieldName(i).equals(other.fieldName(i))) return false; in equals() 2656 String fieldName(int i) { return fields[i].getName(); } in fieldName() method in ObjectStreamClass.DeserializationConstructorsCache.Key.Lookup 2681 String fieldName(int i) { return fieldNames[i]; } in fieldName() method in ObjectStreamClass.DeserializationConstructorsCache.Key.Impl
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 254 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/ |
D | android_system_OsConstants.cpp | 61 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()
|