Home
last modified time | relevance | path

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

123

/art/runtime/mirror/
Dmethod.cc29 GcRoot<Class> Constructor::static_class_;
30 GcRoot<Class> Constructor::array_class_;
79 void Constructor::SetClass(Class* klass) { in SetClass()
85 void Constructor::ResetClass() { in ResetClass()
90 void Constructor::SetArrayClass(Class* klass) { in SetArrayClass()
96 void Constructor::ResetArrayClass() { in ResetArrayClass()
101 void Constructor::VisitRoots(RootVisitor* visitor) { in VisitRoots()
107 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
109 ObjPtr<Constructor> ret = ObjPtr<Constructor>::DownCast(StaticClass()->AllocObject(self)); in CreateFromArtMethod()
117 template Constructor* Constructor::CreateFromArtMethod<PointerSize::k32, false>(
[all …]
Dmethod.h61 class MANAGED Constructor: public Executable {
64 static Constructor* CreateFromArtMethod(Thread* self, ArtMethod* method)
89 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.cc66 ObjPtr<mirror::Constructor> m = soa.Decode<mirror::Constructor>(javaMethod); in Constructor_newInstance0()
130 FAST_NATIVE_METHOD(Constructor, getExceptionTypes, "()[Ljava/lang/Class;"),
131 FAST_NATIVE_METHOD(Constructor, newInstance0, "([Ljava/lang/Object;)Ljava/lang/Object;"),
132 …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/044-proxy/src/
DConstructorProxy.java17 import java.lang.reflect.Constructor;
40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest()
/art/test/661-classloader-allocator/src/
DMain.java17 import java.lang.reflect.Constructor;
50 Constructor<?> constructor = in loadClass()
/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/993-breakpoints/src/art/
DTest993.java23 import java.lang.reflect.Constructor;
199 Constructor<?> m;
200 public ConstructReflect(Constructor<?> m) { in ConstructReflect()
212 Constructor<?> m;
214 public ConstructNative(Constructor<?> m) { in ConstructNative()
226 public static native Object constructNative(Constructor m, Class<?> clazz); in constructNative()
281 Constructor<?> tc1_construct = TestClass1.class.getConstructor(); in runConstructorTests()
282 Constructor<?> tc1ext_construct = TestClass1ext.class.getConstructor(); in runConstructorTests()
/art/test/086-null-super/src/
DMain.java17 import java.lang.reflect.Constructor;
80 Constructor<?> ctor = mDexClass.getConstructor(String.class); in findDexClass()
/art/test/142-classloader2/src/
DMain.java17 import java.lang.reflect.Constructor;
28 Constructor<?> constructor = myClassLoaderClass.getConstructor(String.class, in createClassLoader()
/art/test/042-new-instance/
Dinfo.txt1 Test various permutations of Class.newInstance and Constructor.newInstance,
/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/068-classloader/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
85 Constructor<?> ctor; in findClassDalvik()
/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()
/art/test/596-app-images/src/
DMain.java18 import java.lang.reflect.Constructor;
89 Constructor<?> ctor = in main()
/art/test/127-checker-secondarydex/src/
DMain.java18 import java.lang.reflect.Constructor;
/art/test/912-classes/src-art/art/
DTest912Art.java20 import java.lang.reflect.Constructor;

123