/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/ |
TestFmwkUtils.java | 21 import java.lang.reflect.Field; 40 * The field on TestGroup which has the list of classes in it. 42 private static final Field classesToTestField = getField(TestFmwk.TestGroup.class, "names"); 45 * The field on TestGroup which has the default package in it. 47 private static final Field defaultPackageField = 51 * The field on TestFmwk which has the {@link android.icu.dev.test.TestFmwk.TestParams} in it. 53 private static final Field paramsField = getField(TestFmwk.class, "params"); 69 Field field = getField(TestFmwk.class, fieldName); local 71 return fieldClass.cast(field.get(null)) 80 Field field = theClass.getDeclaredField(name); local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
InputPort.java | 19 import java.lang.reflect.Field; 31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame 32 * values will be assigned to the field once a Frame is received on that port. The Frame value must 33 * be of a type that is compatible with the field type. 52 private Field mField; 54 public FieldBinding(Field field) { 55 mField = field; 69 throw new RuntimeException("Assigning frame " + frame + " to field " 107 * Bind this input port to the specified field 142 Field field = findFieldNamed(fieldName, mFilter.getClass()); local 314 Field field = null; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Reflect.java | 120 static Field lookupField(String className, String fieldName) { 123 Field f = cl.getDeclaredField(fieldName); 133 static Object get(Object ob, Field f) { 141 static Object get(Field f) { 145 static void set(Object ob, Field f, Object val) { 153 static void setInt(Object ob, Field f, int val) { 161 static void setBoolean(Object ob, Field f, boolean val) {
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/ |
ClassReflection.java | 156 /** Returns an array of {@link Field} containing the public fields of the class represented by the supplied Class. */
157 static public Field[] getFields (Class c) {
158 com.badlogic.gwtref.client.Field[] fields = ReflectionCache.getType(c).getFields();
159 Field[] result = new Field[fields.length];
161 result[i] = new Field(fields[i]);
166 /** Returns a {@link Field} that represents the specified public member field for the supplied class. */
167 static public Field getField (Class c, String name) throws ReflectionException {
169 return new Field(ReflectionCache.getType(c).getField(name)); [all...] |
Field.java | 21 /** Provides information about, and access to, a single field of a class or interface.
23 public final class Field {
25 private final com.badlogic.gwtref.client.Field field;
field in class:Field 27 Field (com.badlogic.gwtref.client.Field field) {
28 this.field = field;
31 /** Returns the name of the field. */ [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
FieldTest.java | 28 import java.lang.reflect.Field; 55 @Target( {ElementType.FIELD}) 60 @Target( { ElementType.FIELD}) 65 @Target( { ElementType.FIELD}) 70 @Target( {ElementType.FIELD}) 76 @Target( {ElementType.FIELD}) 81 S field; field in class:FieldTest.GenericField 153 int field; field in class:FieldTest.TestEnum 157 * java.lang.reflect.Field#equals(java.lang.Object) 161 // java.lang.reflect.Field.equals(java.lang.Object 441 Field field = fields[j]; local 461 Field field = fields[j]; local 505 Field field = fields[j]; local 524 Field field = fields[j]; local 1531 Field field = TestClass.class.getField("annotatedField"); local 1546 Field field = TestEnum.class.getDeclaredField("A"); local 1564 Field field = TestEnum.class.getDeclaredField("field"); local 1575 Field field = GenericField.class.getDeclaredField("field"); local 1594 Field field = GenericField.class.getDeclaredField("field"); local 1615 Field field = TestClass.class.getDeclaredField("annotatedField"); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
NumberFormat.java | 137 * <code>field</code> = <code>INTEGER_FIELD</code>. On output, 227 * Field constant used to construct a FieldPosition object. Signifies that 234 * Field constant used to construct a FieldPosition object. Signifies that [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
NumberFormat.java | 136 * <code>field</code> = <code>INTEGER_FIELD</code>. On output, 237 * Field constant used to construct a FieldPosition object. Signifies that 245 * Field constant used to construct a FieldPosition object. Signifies that [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ClassEditor.java | 118 * Adds the given field. 120 public void addField(Field field) 123 Field[] fields = targetClass.fields; 125 // Make sure there is enough space for the new field. 137 System.out.println(targetClass.getName()+": adding field ["+field.getName(targetClass)+" "+field.getDescriptor(targetClass)+"]"); 140 // Add the field. 141 fields[targetClass.u2fieldsCount++] = field; [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ResultSetTest.java | 20 import java.lang.reflect.Field; 73 Field[] theFields = resultSetClass.getDeclaredFields(); 78 for (Field element : theFields) { 86 fail("Field " + fieldName + " missing!"); 88 assertEquals("Field " + fieldName + " value mismatch: ", 90 assertEquals("Field " + fieldName + " modifier mismatch: ", 94 fail("Illegal access to Field " + fieldName);
|
/external/proguard/src/proguard/classfile/util/ |
MemberFinder.java | 44 * Finds the field with the given name and descriptor in the given 47 public Field findField(Clazz referencingClass, 52 return (Field)findMember(referencingClass, clazz, name, descriptor, true); 142 * Returns whether the given field is shadowed anywhere down the class 146 Field field) 148 String name = field.getName(clazz); 149 String descriptor = field.getDescriptor(clazz); 151 // Go looking for the field down the class hierarchy. 162 // We've found a shadowing field [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
MessageUtils.java | 23 import java.lang.reflect.Field; 57 Field[] fields; 65 for (Field field : fields) { 66 int modifiers = field.getModifiers(); 71 String name = field.getName(); 79 // TODO: can we have the caller try to access the field instead, so we don't 81 field.setAccessible(true); 86 value = field.getInt(null); 88 // The field is not an integer (or short or byte), or c's stati [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
Field.java | 20 package org.apache.james.mime4j.field; 26 * The base class of all field classes. 29 * @version $Id: Field.java,v 1.6 2004/10/25 07:26:46 ntherning Exp $ 31 public abstract class Field { 63 protected Field(final String name, final String body, final String raw) { 71 * <code>Field</code> class. The type of the class returned depends on 72 * the field name: 75 * <td><em>Field name</em></td><td><em>Class returned</em></td> 76 * <td>Content-Type</td><td>org.apache.james.mime4j.field.ContentTypeField</td> 77 * <td>other</td><td>org.apache.james.mime4j.field.UnstructuredField</td [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/field/ |
Field.java | 20 package org.apache.james.mime4j.field; 26 * The base class of all field classes. 29 * @version $Id: Field.java,v 1.6 2004/10/25 07:26:46 ntherning Exp $ 31 public abstract class Field { 63 protected Field(final String name, final String body, final String raw) { 71 * <code>Field</code> class. The type of the class returned depends on 72 * the field name: 75 * <td><em>Field name</em></td><td><em>Class returned</em></td> 76 * <td>Content-Type</td><td>org.apache.james.mime4j.field.ContentTypeField</td> 77 * <td>other</td><td>org.apache.james.mime4j.field.UnstructuredField</td [all...] |
/art/test/497-inlining-and-class-loader/src/ |
Main.java | 17 import java.lang.reflect.Field; 25 // Some magic to get access to the pathList field of BaseDexClassLoader. 28 Field f = baseDexClassLoader.getDeclaredField("pathList"); 32 // Some magic to get access to the dexField field of pathList. 41 Field dexFileField; 108 Field f = Class.class.getDeclaredField("dexCache");
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
UserDeviceInfo.java | 22 import java.lang.reflect.Field;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ThunkerCreateTest.java | 20 import java.lang.reflect.Field;
|
/external/clang/test/SemaCXX/ |
empty-class-layout.cpp | 127 struct Field : virtual Empty { }; 129 Field f; 140 struct Field : virtual Empty { }; 142 Field f;
|
/external/guava/guava/src/com/google/common/base/internal/ |
Finalizer.java | 23 import java.lang.reflect.Field; 106 private static final Field inheritableThreadLocals 201 public static Field getInheritableThreadLocalsField() { 203 Field inheritableThreadLocals
|
/external/llvm/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 38 Unbuffered = Bool_val(Field(U, 0));
|
/external/proguard/src/proguard/classfile/attribute/ |
DeprecatedAttribute.java | 57 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 59 attributeVisitor.visitDeprecatedAttribute(clazz, field, this);
|
SyntheticAttribute.java | 57 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 59 attributeVisitor.visitSyntheticAttribute(clazz, field, this);
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
RuntimeInvisibleAnnotationsAttribute.java | 60 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 62 attributeVisitor.visitRuntimeInvisibleAnnotationsAttribute(clazz, field, this);
|
RuntimeVisibleAnnotationsAttribute.java | 60 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 62 attributeVisitor.visitRuntimeVisibleAnnotationsAttribute(clazz, field, this);
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AllAnnotationVisitor.java | 65 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 68 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, field, annotationVisitor); 86 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 89 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, field, annotationVisitor); 114 public void visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz, Field field, RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute) 117 runtimeVisibleTypeAnnotationsAttribute.annotationsAccept(clazz, field, annotationVisitor); 142 public void visitRuntimeInvisibleTypeAnnotationsAttribute(Clazz clazz, Field field, RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute [all...] |