Home
last modified time | relevance | path

Searched refs:Field (Results 1 – 25 of 43) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/
DStdFieldList.java36 public Field get(int n) { in get()
37 return (Field) get0(n); in get()
46 public void set(int n, Field field) { in set()
DStdField.java28 public final class StdField extends StdMember implements Field {
47 public StdField(java.lang.reflect.Field field) { in StdField()
DFieldList.java47 public Field get(int n); in get()
DField.java24 public interface Field interface
/dalvik/dx/src/com/android/dx/cf/iface/
DStdFieldList.java36 public Field get(int n) { in get()
37 return (Field) get0(n); in get()
46 public void set(int n, Field field) { in set()
DFieldList.java47 public Field get(int n); in get()
DField.java24 public interface Field interface
DStdField.java28 public final class StdField extends StdMember implements Field {
/dalvik/tests/046-reflect/
Dexpected.txt36 Field name is string1
38 Field type is java.lang.String
49 Field name is superInt
51 Field type is int
62 Field name is superClassInt
64 Field type is int
67 Field name is staticDouble
69 Field type is double
74 Field name is constantString
76 Field type is java.lang.String
[all …]
/dalvik/vm/reflect/
DReflect.h68 Field* dvmSlotToField(ClassObject* clazz, int slot);
107 Field* dvmGetFieldFromReflectObj(Object* obj);
109 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field);
141 ArrayObject* dvmGetFieldAnnotations(const Field* field);
150 Object* dvmGetFieldAnnotation(const ClassObject* clazz, const Field* method,
159 bool dvmIsFieldAnnotationPresent(const ClassObject* clazz, const Field* method,
178 ArrayObject* dvmGetFieldSignatureAnnotation(const Field* field);
DReflect.cpp182 static int fieldToSlot(const Field* field, const ClassObject* clazz) in fieldToSlot()
201 Field* dvmSlotToField(ClassObject* clazz, int slot) in dvmSlotToField()
206 return (Field*)(void*)&clazz->sfields[slot]; in dvmSlotToField()
209 return (Field*)(void*)&clazz->ifields[slot]; in dvmSlotToField()
221 static Object* createFieldObject(Field* field, const ClassObject* clazz) in createFieldObject()
792 Field* field = &clazz->sfields[i]; in dvmGetDeclaredField()
800 Field* field = &clazz->ifields[i]; in dvmGetDeclaredField()
1192 Field* dvmGetFieldFromReflectObj(Object* obj) in dvmGetFieldFromReflectObj()
1244 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field) in dvmCreateReflectObjForField()
/dalvik/tests/035-enum/src/
DMain.java3 import java.lang.reflect.Field;
12 Field field; in main()
/dalvik/vm/oo/
DObject.h38 struct Field;
298 struct Field { struct
305 u4 dvmGetFieldIdx(const Field* field); argument
310 struct StaticField : Field {
317 struct InstField : Field {
651 Field* dvmFindFieldHier(const ClassObject* clazz, const char* fieldName,
718 INLINE bool dvmIsProtectedField(const Field* field) { in dvmIsProtectedField()
721 INLINE bool dvmIsStaticField(const Field* field) { in dvmIsStaticField()
724 INLINE bool dvmIsFinalField(const Field* field) { in dvmIsFinalField()
727 INLINE bool dvmIsVolatileField(const Field* field) { in dvmIsVolatileField()
DAccessCheck.h36 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field);
DAccessCheck.cpp144 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field) in dvmCheckFieldAccess()
DObject.cpp165 Field* dvmFindFieldHier(const ClassObject* clazz, const char* fieldName, in dvmFindFieldHier()
168 Field* pField; in dvmFindFieldHier()
174 pField = (Field*) dvmFindStaticField(clazz, fieldName, signature); in dvmFindFieldHier()
177 pField = (Field*) dvmFindInstanceField(clazz, fieldName, signature); in dvmFindFieldHier()
192 pField = (Field*) dvmFindStaticField(iface, fieldName, signature); in dvmFindFieldHier()
/dalvik/vm/native/
Djava_lang_reflect_Field.cpp58 static Field* validateFieldAccess(Object* obj, ClassObject* declaringClass, in validateFieldAccess()
61 Field* field; in validateFieldAccess()
266 static void getFieldValue(const Field* field, Object* obj, JValue* value) in getFieldValue()
422 static void setFieldValue(Field* field, Object* obj, const JValue* value) in setFieldValue()
442 Field* field; in Dalvik_java_lang_reflect_Field_getFieldModifiers()
463 Field* field; in Dalvik_java_lang_reflect_Field_getField()
499 Field* field; in Dalvik_java_lang_reflect_Field_setField()
533 const Field* field; in Dalvik_java_lang_reflect_Field_getPrimitiveField()
574 Field* field; in Dalvik_java_lang_reflect_Field_setPrimitiveField()
610 Field* field; in Dalvik_java_lang_reflect_Field_getDeclaredAnnotations()
[all …]
/dalvik/tests/064-field-access/src/
DMain.java19 import java.lang.reflect.Field;
51 public Object getValue(Field field, Object obj, char type, in getValue()
149 Field localPubByteField, localProtByteField, localProtObjectField, in doTests()
151 Field otherPubCharField, otherProtShortField, otherProtObjectField, in doTests()
153 Field subProtLongField; in doTests()
283 public Object getValue(Field field, Object obj, char type, in getValue()
/dalvik/vm/
DDvmDex.h56 struct Field** pResFields;
128 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField()
158 struct Field* field) in dvmDexSetResolvedField()
DDvmDex.cpp52 fieldSize = pHeader->fieldIdsSize * sizeof(struct Field*); in allocateAuxStructures()
74 pDvmDex->pResFields = (struct Field**)blob; in allocateAuxStructures()
194 totalSize += pDvmDex->pHeader->fieldIdsSize * sizeof(struct Field*); in dvmDexFileFree()
DMisc.h161 struct Field;
162 std::string dvmHumanReadableField(const Field* field);
/dalvik/tests/067-preemptive-unpark/src/
DMain.java3 import java.lang.reflect.Field;
49 Field field = Unsafe.class.getDeclaredField("THE_ONE"); in setUp()
/dalvik/tests/004-annotations/src/android/test/anno/
DTestAnnotations.java5 import java.lang.reflect.Field;
60 for (Field f: clazz.getDeclaredFields()) { in printAnnotations()
103 Field field; in testArrays()
/dalvik/tests/046-reflect/src/
DMain.java37 void printFieldInfo(Field field) { in printFieldInfo()
51 Field field = null; in showStrings()
93 Field field = target.getField("innerField"); in checkAccess()
110 Field field = null; in run()
409 Field field; in checkGeneric()
/dalvik/dx/tests/115-merge/com/android/dx/merge/
DDexMergeTest.java27 import java.lang.reflect.Field;
106 Field field = annotated.getField("field"); in testAnnotations()

12