Home
last modified time | relevance | path

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

123456

/art/runtime/mirror/
Dfield-inl.h32 inline ObjPtr<mirror::Class> Field::GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDeclaringClass()
33 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_)); in GetDeclaringClass()
36 inline Primitive::Type Field::GetTypeAsPrimitiveType() { in GetTypeAsPrimitiveType()
40 inline ObjPtr<mirror::Class> Field::GetType() { in GetType()
41 return GetFieldObject<mirror::Class>(OFFSET_OF_OBJECT_MEMBER(Field, type_)); in GetType()
45 inline ObjPtr<mirror::Field> Field::CreateFromArtField(Thread* self, in CreateFromArtField()
67 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
98 inline void Field::SetDeclaringClass(ObjPtr<mirror::Class> c) { in SetDeclaringClass()
99 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_), c); in SetDeclaringClass()
103 inline void Field::SetType(ObjPtr<mirror::Class> type) { in SetType()
[all …]
Dfield.h39 class MANAGED Field : public AccessibleObject {
42 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_)); in GetDexFieldIndex()
48 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags()
68 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset()
75 static ObjPtr<mirror::Field> CreateFromArtField(Thread* self,
98 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); in SetAccessFlags()
103 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_), idx); in SetDexFieldIndex()
108 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); in SetOffset()
112 DISALLOW_IMPLICIT_CONSTRUCTORS(Field);
/art/test/991-field-trace-2/src/art/
DTest991.java20 import java.lang.reflect.Field;
26 static List<Field> WATCH_FIELDS = Arrays.asList(TestClass1.class.getDeclaredFields());
32 Executable method, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess()
41 Executable method, long location, Class<?> f_klass, Object target, Field f, Object value) { in notifyFieldModify()
50 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) {} in handleFieldAccess()
51 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) {} in handleFieldModify()
61 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess()
67 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) { in handleFieldModify()
73 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) { in handleFieldModify()
79 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess()
[all …]
/art/runtime/native/
Djava_lang_reflect_Field.cc45 ObjPtr<mirror::Field> field, in VerifyFieldAccess()
78 ObjPtr<mirror::Field> f, in GetFieldValue()
126 ObjPtr<mirror::Field>* f, in CheckReceiver()
134 HandleWrapperObjPtr<mirror::Field> h_f(hs.NewHandleWrapper(f)); in CheckReceiver()
155 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_get()
182 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in GetPrimitiveField()
254 ObjPtr<mirror::Field> f, in SetFieldValue()
329 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_set()
371 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in SetPrimitiveField()
452 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getAnnotationNative()
[all …]
/art/test/918-fields/src/art/
DTest918.java20 import java.lang.reflect.Field;
39 Field f = base.getDeclaredField(fieldName); in testField()
62 private static native String[] getFieldName(Field f); in getFieldName()
63 private static native Class<?> getFieldDeclaringClass(Field f); in getFieldDeclaringClass()
64 private static native int getFieldModifiers(Field f); in getFieldModifiers()
65 private static native boolean isFieldSynthetic(Field f); in isFieldSynthetic()
/art/test/140-field-packing/src/
DGapOrder.java21 import java.lang.reflect.Field;
46 Field field = null; in CheckField()
56 Method getOffset = Field.class.getMethod("getOffset"); in CheckField()
/art/test/555-UnsafeGetLong-regression/src/
DMain.java17 import java.lang.reflect.Field;
29 Field f = unsafeClass.getDeclaredField("theUnsafe"); in getUnsafe()
43 Field longField = TestClass.class.getDeclaredField("longVar"); in testUnsafeGetLong()
/art/test/944-transform-classloaders/src/art/
DTest944.java173 Field pathListField = baseDexClassLoaderClass.getDeclaredField("pathList"); in checkDexFileInClassLoader()
176 Field elementArrayField = dexPathListClass.getDeclaredField("dexElements"); in checkDexFileInClassLoader()
179 Field dexFileField = dexPathListElementClass.getDeclaredField("dexFile"); in checkDexFileInClassLoader()
182 Field dexFileCookieField = dexFileClass.getDeclaredField("mCookie"); in checkDexFileInClassLoader()
183 Field dexFileInternalCookieField = dexFileClass.getDeclaredField("mInternalCookie"); in checkDexFileInClassLoader()
283 Field dexCacheField = Class.class.getDeclaredField("dexCache"); in getDexFilePointer()
286 Field dexFileField = dexCacheClass.getDeclaredField("dexFile"); in getDexFilePointer()
/art/libdexfile/dex/
Dclass_accessor-inl.h81 inline void ClassAccessor::Field::Read() { in Read()
110 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in VisitFieldsAndMethods()
161 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>>
164 DataIterator<Field>(dex_file_, in GetFieldsInternal()
170 DataIterator<Field>(dex_file_, in GetFieldsInternal()
183 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in GetMethodsInternal()
202 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> ClassAccessor::GetFields() in GetFields()
207 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>>
213 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>>
215 IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> fields = GetFields(); in GetInstanceFields()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DField.java22 public class Field { class
39 public Field(String name, Type type) { in Field() method in Field
/art/test/990-field-trace/src/art/
DTest990.java22 import java.lang.reflect.Field;
43 private Field f;
47 public FieldWrite(Executable method, Object target, Field f, Object v) { in FieldWrite()
67 private Field f;
69 public FieldRead(Executable method, Object target, Field f) { in FieldRead()
140 Executable m, long location, Class<?> f_klass, Object target, Field f, Object value) {
148 Executable m, long location, Class<?> f_klass, Object target, Field f) {
201 Executable.class, Long.TYPE, Class.class, Object.class, Field.class),
203 Executable.class, Long.TYPE, Class.class, Object.class, Field.class, Object.class),
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/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 …]
/art/test/575-checker-string-init-alias/src/
DMain.java17 import java.lang.reflect.Field;
49 Field field = c.getField("staticField"); in main()
64 Field field = c.getField("staticField"); in main()
/art/test/496-checker-inlining-class-loader/src/
DMain.java17 import java.lang.reflect.Field;
29 Field f = baseDexClassLoader.getDeclaredField("pathList"); in MyClassLoader()
44 Field fileNameField = dexFile.getClass().getDeclaredField("mFileName"); in MyClassLoader()
52 Field dexFileField;
/art/test/035-enum/src/
DMain.java17 import java.lang.reflect.Field;
26 Field field; in main()
/art/test/1941-dispose-stress/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1924-frame-pop-toggle/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/989-method-trace-throw/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1926-missed-frame-pop/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1936-thread-end-events/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1925-self-frame-pop/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1944-sudden-exit/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/1923-frame-pop/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()
/art/test/988-method-trace/src/art/
DTrace.java19 import java.lang.reflect.Field;
52 public static native void watchFieldAccess(Field f); in watchFieldAccess()
53 public static native void watchFieldModification(Field f); in watchFieldModification()

123456