Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 85) sorted by relevance

1234

/art/runtime/mirror/
Dmethod.cc44 ObjPtr<Constructor> Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
46 ObjPtr<Constructor> ret = in CreateFromArtMethod()
47 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
54 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k32>(
56 template ObjPtr<Constructor> Constructor::CreateFromArtMethod<PointerSize::k64>(
Dmethod.h42 class MANAGED Constructor: public Executable {
45 static ObjPtr<Constructor> CreateFromArtMethod(Thread* self, ArtMethod* method)
49 DISALLOW_COPY_AND_ASSIGN(Constructor);
/art/test/141-class-unload/src/
DMain.java21 import java.lang.reflect.Constructor;
35 Constructor<?> constructor = in main()
78 private static void stressTest(Constructor<?> constructor) throws Exception { in stressTest()
95 private static void testUnloadClass(Constructor<?> constructor) throws Exception { in testUnloadClass()
106 private static void testUnloadLoader(Constructor<?> constructor) in testUnloadLoader()
115 private static void testStackTrace(Constructor<?> constructor) throws Exception { in testStackTrace()
127 private static void testLoadAndUnloadLibrary(Constructor<?> constructor) throws Exception { in testLoadAndUnloadLibrary()
150 private static Pair testNoUnloadInstanceHelper(Constructor<?> constructor) throws Exception { in testNoUnloadInstanceHelper()
157 private static void testNoUnloadInstance(Constructor<?> constructor) throws Exception { in testNoUnloadInstance()
165 private static Class<?> setUpUnloadClass(Constructor<?> constructor) throws Exception { in setUpUnloadClass()
[all …]
/art/test/042-new-instance/src/
DMain.java17 import java.lang.reflect.Constructor;
75 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance()
87 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance()
98 Constructor<?> cons = c.getDeclaredConstructor(Main.class); in testConstructorNewInstance()
109 Constructor<?> cons = c.getDeclaredConstructor(); in testConstructorNewInstance()
120 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance()
133 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance()
147 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance()
/art/test/042-new-instance/src/otherpackage/
DConstructorAccess.java19 import java.lang.reflect.Constructor;
33 Constructor cons = c.getDeclaredConstructor(); in newConstructorInstance()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc65 ObjPtr<mirror::Constructor> m = soa.Decode<mirror::Constructor>(javaMethod); in Constructor_newInstance0()
132 FAST_NATIVE_METHOD(Constructor, getExceptionTypes, "()[Ljava/lang/Class;"),
133 FAST_NATIVE_METHOD(Constructor, newInstance0, "([Ljava/lang/Object;)Ljava/lang/Object;"),
134 …FAST_NATIVE_METHOD(Constructor, newInstanceFromSerialization, "(Ljava/lang/Class;Ljava/lang/Class;…
/art/test/636-wrong-static-access/src/
DMain.java17 import java.lang.reflect.Constructor;
29 Constructor<?> constructor = in main()
/art/test/661-classloader-allocator/src/
DMain.java17 import java.lang.reflect.Constructor;
50 Constructor<?> constructor = in loadClass()
/art/test/044-proxy/src/
DConstructorProxy.java17 import java.lang.reflect.Constructor;
40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest()
/art/test/674-hiddenapi/src-ex/
DReflection.java17 import java.lang.reflect.Constructor;
143 for (Constructor c : klass.getDeclaredConstructors()) { in canDiscoverWithGetDeclaredConstructors()
161 for (Constructor c : klass.getConstructors()) { in canDiscoverWithGetConstructors()
171 Constructor c = klass.getDeclaredConstructor(args); in canInvokeConstructor()
221 return ((Constructor<?>)metaGetDeclaredConstructor.invoke(klass, (Object)args)) != null; in canDiscoverConstructorWithMetaReflection()
/art/test/138-duplicate-classes-check2/src/
DMain.java18 import java.lang.reflect.Constructor;
30 Constructor<?> ctor = in getClassLoaderFor()
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java17 import java.lang.reflect.Constructor;
46 Constructor<?> ctor = in getClassLoaderFor()
/art/test/1901-get-bytecodes/src/art/
DTest1901.java19 import java.lang.reflect.Constructor;
106 Constructor<?> ctor = class_loader_class.getConstructor(ByteBuffer.class, ClassLoader.class); in getClassLoader()
/art/test/155-java-set-resolved-type/src/
DMain.java17 import java.lang.reflect.Constructor;
72 Constructor<?> ctor = in getClassLoaderFor()
/art/test/042-new-instance/
Dinfo.txt1 Test various permutations of Class.newInstance and Constructor.newInstance,
/art/test/993-breakpoints/src/art/
DTest993.java20 import java.lang.reflect.Constructor;
256 Constructor<?> m;
257 public ConstructReflect(Constructor<?> m) { in ConstructReflect()
269 Constructor<?> m;
271 public ConstructNative(Constructor<?> m) { in ConstructNative()
283 public static native Object constructNative(Constructor m, Class<?> clazz); in constructNative()
347 Constructor<?> tc1_construct = TestClass1.class.getConstructor();
348 Constructor<?> tc1ext_construct = TestClass1ext.class.getConstructor();
382 Constructor<?> bcp_stack_constructor = Stack.class.getConstructor();
383 Constructor<?> bcp_vector_constructor = Vector.class.getConstructor();
/art/test/142-classloader2/src/
DMain.java17 import java.lang.reflect.Constructor;
28 Constructor<?> constructor = myClassLoaderClass.getConstructor(String.class, in createClassLoader()
/art/test/086-null-super/src/
DMain.java17 import java.lang.reflect.Constructor;
80 Constructor<?> ctor = mDexClass.getConstructor(String.class); in findDexClass()
/art/test/071-dexfile/src/
DMain.java19 import java.lang.reflect.Constructor;
83 Constructor<?> DexClassLoader_init = DexClassLoader.getConstructor(String.class, in getDexClassLoader()
/art/test/087-gc-after-link/src/
DMain.java17 import java.lang.reflect.Constructor;
83 Constructor<?> ctor = dexClass.getConstructor(String.class); in findDexClass()
/art/test/616-cha-unloading/src-art/
DMain.java19 import java.lang.reflect.Constructor;
25 static Constructor<? extends ClassLoader> sConstructor;
/art/test/068-classloader/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
85 Constructor<?> ctor; in findClassDalvik()
/art/test/1001-app-image-regions/src/
DMain.java18 import java.lang.reflect.Constructor;
/art/test/647-jni-get-field-id/src/
DDefiningLoader.java21 import java.lang.reflect.Constructor;
92 Constructor<?> ctor; in findClassDalvik()
/art/test/626-const-class-linking/src/
DDefiningLoader.java21 import java.lang.reflect.Constructor;
92 Constructor<?> ctor; in findClassDalvik()

1234