/art/test/141-class-unload/src/ |
D | ConflictIface.java | 18 public default Class<?> method1() { return ConflictIface.class; } in method1() 19 public default Class<?> method2() { return ConflictIface.class; } in method2() 20 public default Class<?> method3() { return ConflictIface.class; } in method3() 21 public default Class<?> method4() { return ConflictIface.class; } in method4() 22 public default Class<?> method5() { return ConflictIface.class; } in method5() 23 public default Class<?> method6() { return ConflictIface.class; } in method6() 24 public default Class<?> method7() { return ConflictIface.class; } in method7() 25 public default Class<?> method8() { return ConflictIface.class; } in method8() 26 public default Class<?> method9() { return ConflictIface.class; } in method9() 27 public default Class<?> method10() { return ConflictIface.class; } in method10() [all …]
|
/art/test/589-super-imt/src/ |
D | Main.java | 18 public Class<?> method1(); in method1() 19 public Class<?> method2(); in method2() 20 public Class<?> method3(); in method3() 21 public Class<?> method4(); in method4() 22 public Class<?> method5(); in method5() 23 public Class<?> method6(); in method6() 24 public Class<?> method7(); in method7() 25 public Class<?> method8(); in method8() 26 public Class<?> method9(); in method9() 27 public Class<?> method10(); in method10() [all …]
|
/art/runtime/mirror/ |
D | class-inl.h | 49 inline uint32_t Class::GetObjectSize() { in GetObjectSize() 56 inline uint32_t Class::GetObjectSizeAllocFastPath() { in GetObjectSizeAllocFastPath() 63 inline ObjPtr<Class> Class::GetSuperClass() { in GetSuperClass() 69 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>( in GetSuperClass() 70 OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in GetSuperClass() 73 inline void Class::SetSuperClass(ObjPtr<Class> new_super_class) { in SetSuperClass() 76 ObjPtr<Class> old_super_class = in SetSuperClass() 77 GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); in SetSuperClass() 82 OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); in SetSuperClass() 85 inline bool Class::HasSuperClass() { in HasSuperClass() [all …]
|
/art/test/1980-obsolete-object-cleared/ |
D | expected-stdout.txt | 20 Calling public java.lang.Class java.lang.Class.arrayType() with params: [] 21 public java.lang.Class java.lang.Class.arrayType() on (obsolete)class Main$Transform with [] = clas… 22 Calling public java.lang.invoke.TypeDescriptor$OfField java.lang.Class.arrayType() with params: [] 23 public java.lang.invoke.TypeDescriptor$OfField java.lang.Class.arrayType() on (obsolete)class Main$… 24 …Class java.lang.Class.asSubclass(java.lang.Class) with params: [[null, class java.lang.Object, (ob… 25 …Class java.lang.Class.asSubclass(java.lang.Class) with [null] throws java.lang.reflect.InvocationT… 26 public java.lang.Class java.lang.Class.asSubclass(java.lang.Class) on (obsolete)class Main$Transfor… 27 public java.lang.Class java.lang.Class.asSubclass(java.lang.Class) on (obsolete)class Main$Transfor… 28 public java.lang.Class java.lang.Class.asSubclass(java.lang.Class) with [class Main$Transform] thro… 29 public java.lang.Class java.lang.Class.asSubclass(java.lang.Class) with [long] throws java.lang.ref… [all …]
|
/art/test/674-hiddenapi/src-ex/ |
D | Reflection.java | 25 public static boolean canDiscoverWithGetDeclaredField(Class<?> klass, String name) { in canDiscoverWithGetDeclaredField() 34 public static boolean canDiscoverWithGetDeclaredFields(Class<?> klass, String name) { in canDiscoverWithGetDeclaredFields() 43 public static boolean canDiscoverWithGetField(Class<?> klass, String name) { in canDiscoverWithGetField() 52 public static boolean canDiscoverWithGetFields(Class<?> klass, String name) { in canDiscoverWithGetFields() 61 public static boolean canGetField(Class<?> klass, String name) { in canGetField() 73 public static boolean canSetField(Class<?> klass, String name) { in canSetField() 85 public static boolean canDiscoverWithGetDeclaredMethod(Class<?> klass, String name) { in canDiscoverWithGetDeclaredMethod() 94 public static boolean canDiscoverWithGetDeclaredMethods(Class<?> klass, String name) { in canDiscoverWithGetDeclaredMethods() 103 public static boolean canDiscoverWithGetMethod(Class<?> klass, String name) { in canDiscoverWithGetMethod() 112 public static boolean canDiscoverWithGetMethods(Class<?> klass, String name) { in canDiscoverWithGetMethods() [all …]
|
D | JNI.java | 18 public static native boolean canDiscoverField(Class<?> klass, String name, boolean isStatic); in canDiscoverField() 19 public static native boolean canGetField(Class<?> klass, String name, boolean isStatic); in canGetField() 20 public static native boolean canSetField(Class<?> klass, String name, boolean isStatic); in canSetField() 22 public static native boolean canDiscoverMethod(Class<?> klass, String name, boolean isStatic); in canDiscoverMethod() 23 public static native boolean canInvokeMethodA(Class<?> klass, String name, boolean isStatic); in canInvokeMethodA() 24 public static native boolean canInvokeMethodV(Class<?> klass, String name, boolean isStatic); in canInvokeMethodV() 26 public static native boolean canDiscoverConstructor(Class<?> klass, String signature); in canDiscoverConstructor() 27 public static native boolean canInvokeConstructorA(Class<?> klass, String signature); in canInvokeConstructorA() 28 public static native boolean canInvokeConstructorV(Class<?> klass, String signature); in canInvokeConstructorV()
|
/art/test/912-classes/src-art/art/ |
D | Test912.java | 114 Class<?> base = Class.forName(className); in testClass() 118 private static void testClass(Class<?> base) throws Exception { in testClass() 128 private static void testClassType(Class<?> c) throws Exception { in testClassType() 136 private static void testClassFields(Class<?> c) throws Exception { in testClassFields() 140 private static void testClassMethods(Class<?> c) throws Exception { in testClassMethods() 144 private static void testClassStatus(Class<?> c) { in testClassStatus() 148 private static void testInterfaces(Class<?> c) { in testInterfaces() 157 private static void testClassLoader(Class<?> c) { in testClassLoader() 179 Class.forName("B", false, cl1); in testClassLoaderClasses() 180 Class.forName("A", false, cl1); in testClassLoaderClasses() [all …]
|
/art/test/1983-structural-redefinition-failures/src/art/ |
D | Test1983.java | 35 public static void Check(Class[] klasses) { in Check() 36 for (Class k : klasses) { in Check() 61 Class[] mirrord_classes = new Class[] { in doTest() 65 Class.forName("dalvik.system.ClassExt"), in doTest() 67 Class.class, in doTest() 70 Class.forName("java.lang.DexCache"), in doTest() 72 Class.forName("dalvik.system.EmulatedStackFrame"), in doTest() 76 Class.forName("java.lang.ref.FinalizerReference"), in doTest() 89 Class.forName("java.lang.invoke.VarHandle"), in doTest() 92 Class.forName("java.lang.invoke.FieldVarHandle"), in doTest() [all …]
|
/art/test/2012-structural-redefinition-failures-jni-id/src-art/art/ |
D | Test1983.java | 35 public static void Check(Class[] klasses) { in Check() 36 for (Class k : klasses) { in Check() 61 Class[] mirrord_classes = new Class[] { in doTest() 65 Class.forName("dalvik.system.ClassExt"), in doTest() 67 Class.class, in doTest() 70 Class.forName("java.lang.DexCache"), in doTest() 72 Class.forName("dalvik.system.EmulatedStackFrame"), in doTest() 76 Class.forName("java.lang.ref.FinalizerReference"), in doTest() 89 Class.forName("java.lang.invoke.VarHandle"), in doTest() 92 Class.forName("java.lang.invoke.FieldVarHandle"), in doTest() [all …]
|
/art/test/983-source-transform-verify/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/2002-virtual-structural-initializing/src-art/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1950-unprepared-transform/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1956-pop-frame-jit-calling/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/2004-double-virtual-structural-abstract/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/939-hello-transformation-bcp/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/2003-double-virtual-structural/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1984-structural-redefine-field-trace/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1981-structural-redef-private-method-handles/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/940-recursive-obsolete/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/941-recursive-obsolete-jit/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1976-hello-structural-static-methods/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/947-reflect-method/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1999-virtual-structural/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/1949-short-dex-file/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|
/art/test/949-in-memory-transform/src/art/ |
D | Redefinition.java | 23 public final Class<?> target; 27 public CommonClassDefinition(Class<?> target, byte[] class_file_bytes, byte[] dex_file_bytes) { in CommonClassDefinition() 35 public DexOnlyClassDefinition(Class<?> target, byte[] dex_file_bytes) { in DexOnlyClassDefinition() 61 public static native void doCommonClassRedefinition(Class<?> target, in doCommonClassRedefinition() 66 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiClassRedefinition() 75 doCommonMultiClassRedefinition(classes.toArray(new Class<?>[0]), in doMultiClassRedefinition() 88 public static native void doCommonMultiClassRedefinition(Class<?>[] targets, in doCommonMultiClassRedefinition() 91 public static native void doCommonClassRetransformation(Class<?>... target); in doCommonClassRetransformation() 99 public static native void doCommonStructuralClassRedefinition(Class<?> target, byte[] dex_file); in doCommonStructuralClassRedefinition() 101 ArrayList<Class<?>> classes = new ArrayList<>(); in doMultiStructuralClassRedefinition() [all …]
|