/art/runtime/mirror/ |
D | field.cc | 27 GcRoot<Class> Field::static_class_; 28 GcRoot<Class> Field::array_class_; 30 void Field::SetClass(ObjPtr<Class> klass) { in SetClass() 36 void Field::ResetClass() { in ResetClass() 41 void Field::SetArrayClass(ObjPtr<Class> klass) { in SetArrayClass() 47 void Field::ResetArrayClass() { in ResetArrayClass() 52 void Field::VisitRoots(RootVisitor* visitor) { in VisitRoots() 57 ArtField* Field::GetArtField() { in GetArtField()
|
D | field.h | 38 class MANAGED Field : public AccessibleObject { 49 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_)); in GetDexFieldIndex() 53 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_)); in GetDeclaringClass() 57 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags() 78 return GetFieldObject<mirror::Class>(OFFSET_OF_OBJECT_MEMBER(Field, type_)); in GetType() 82 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset() 97 static mirror::Field* CreateFromArtField(Thread* self, ArtField* field, 119 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); in SetAccessFlags() 124 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, dex_field_index_), idx); in SetDexFieldIndex() 129 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); in SetOffset() [all …]
|
D | field-inl.h | 30 inline mirror::Field* Field::CreateFromArtField(Thread* self, ArtField* field, bool force_resolve) { in CreateFromArtField() 50 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(StaticClass()->AllocObject(self))); in CreateFromArtField() 81 inline void Field::SetDeclaringClass(ObjPtr<mirror::Class> c) { in SetDeclaringClass() 82 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_), c); in SetDeclaringClass() 86 inline void Field::SetType(ObjPtr<mirror::Class> type) { in SetType() 87 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, type_), type); in SetType()
|
/art/test/991-field-trace-2/src/art/ |
D | Test991.java | 20 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 …]
|
D | Trace.java | 19 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/runtime/native/ |
D | java_lang_reflect_Field.cc | 43 ObjPtr<mirror::Field> field, in VerifyFieldAccess() 76 ObjPtr<mirror::Field> f, in GetFieldValue() 124 ObjPtr<mirror::Field>* f, in CheckReceiver() 132 HandleWrapperObjPtr<mirror::Field> h_f(hs.NewHandleWrapper(f)); in CheckReceiver() 153 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_get() 180 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in GetPrimitiveField() 252 ObjPtr<mirror::Field> f, in SetFieldValue() 327 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_set() 368 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in SetPrimitiveField() 449 ArtField* field = soa.Decode<mirror::Field>(javaField)->GetArtField(); in Field_getAnnotationNative() [all …]
|
/art/test/918-fields/src/art/ |
D | Test918.java | 19 import java.lang.reflect.Field; 37 Field f = base.getDeclaredField(fieldName); in testField() 60 private static native String[] getFieldName(Field f); in getFieldName() 61 private static native Class<?> getFieldDeclaringClass(Field f); in getFieldDeclaringClass() 62 private static native int getFieldModifiers(Field f); in getFieldModifiers() 63 private static native boolean isFieldSynthetic(Field f); in isFieldSynthetic()
|
/art/test/944-transform-classloaders/src/art/ |
D | Test944.java | 173 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/test/140-field-packing/src/ |
D | GapOrder.java | 21 import java.lang.reflect.Field; 46 Field field = null; in CheckField() 56 Method getOffset = Field.class.getMethod("getOffset"); in CheckField()
|
/art/test/990-field-trace/src/art/ |
D | Test990.java | 22 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),
|
D | Trace.java | 19 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/555-UnsafeGetLong-regression/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 29 Field f = unsafeClass.getDeclaredField("theUnsafe"); in getUnsafe() 43 Field longField = TestClass.class.getDeclaredField("longVar"); in testUnsafeGetLong()
|
/art/test/046-reflect/ |
D | expected.txt | 36 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/988-method-trace/src/art/ |
D | Trace.java | 19 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/ |
D | Trace.java | 19 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/997-single-step/src/art/ |
D | Trace.java | 19 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/496-checker-inlining-class-loader/src/ |
D | Main.java | 17 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/575-checker-string-init-alias/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 49 Field field = c.getField("staticField"); in main() 64 Field field = c.getField("staticField"); in main()
|
/art/test/035-enum/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 26 Field field; in main()
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 44 Field f = unsafeClass.getDeclaredField("theUnsafe"); in getUnsafe() 101 Field intField = TestClass.class.getDeclaredField("intVar"); in testGetAndPutAndCAS() 109 Field longField = TestClass.class.getDeclaredField("longVar"); in testGetAndPutAndCAS() 117 Field objectField = TestClass.class.getDeclaredField("objectVar"); in testGetAndPutAndCAS() 204 Field volatileIntField = TestVolatileClass.class.getDeclaredField("volatileIntVar"); in testGetAndPutVolatile() 216 Field volatileLongField = TestVolatileClass.class.getDeclaredField("volatileLongVar"); in testGetAndPutVolatile() 228 Field volatileObjectField = TestVolatileClass.class.getDeclaredField("volatileObjectVar"); in testGetAndPutVolatile()
|
/art/test/497-inlining-and-class-loader/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 28 Field f = baseDexClassLoader.getDeclaredField("pathList"); in MyClassLoader() 41 Field dexFileField; 108 Field f = Class.class.getDeclaredField("dexCache"); in $noinline$bar()
|
/art/test/528-long-hint/src/ |
D | Main.java | 18 import java.lang.reflect.Field; 41 Field f = Unsafe.class.getDeclaredField("theUnsafe"); in getUnsafe()
|
/art/test/156-register-dex-file-multi-loader/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 29 Field f = baseDexClassLoader.getDeclaredField("pathList"); in MyClassLoader() 42 Field dexFileField;
|
/art/tools/ahat/src/heapdump/ |
D | AhatClassObj.java | 20 import com.android.tools.perflib.heap.Field; 53 Collection<Map.Entry<Field, Object>> fieldValues = classObj.getStaticFieldValues().entrySet(); in initialize() 56 for (Map.Entry<Field, Object> field : fieldValues) { in initialize()
|
/art/test/542-unresolved-access-check/src/ |
D | Main.java | 17 import java.lang.reflect.Field; 32 Field f = baseDexClassLoader.getDeclaredField("pathList"); in MyClassLoader() 45 Field dexFileField;
|