Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dmethod.cc29 GcRoot<Class> Constructor::static_class_;
30 GcRoot<Class> Constructor::array_class_;
72 void Constructor::SetClass(Class* klass) { in SetClass()
78 void Constructor::ResetClass() { in ResetClass()
83 void Constructor::SetArrayClass(Class* klass) { in SetArrayClass()
89 void Constructor::ResetArrayClass() { in ResetArrayClass()
94 void Constructor::VisitRoots(RootVisitor* visitor) { in VisitRoots()
100 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
102 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod()
109 template Constructor* Constructor::CreateFromArtMethod<false>(Thread* self, ArtMethod* method);
[all …]
Dmethod.h61 class MANAGED Constructor: public AbstractMethod {
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()
72 private static void stressTest(Constructor constructor) throws Exception { in stressTest()
81 private static void testUnloadClass(Constructor constructor) throws Exception { in testUnloadClass()
92 private static void testUnloadLoader(Constructor constructor) in testUnloadLoader()
101 private static void testStackTrace(Constructor constructor) throws Exception { in testStackTrace()
111 private static void testLoadAndUnloadLibrary(Constructor constructor) throws Exception { in testLoadAndUnloadLibrary()
119 private static void testNoUnloadInvoke(Constructor constructor) throws Exception { in testNoUnloadInvoke()
129 private static void testNoUnloadInstance(Constructor constructor) throws Exception { in testNoUnloadInstance()
140 private static WeakReference<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(new Class[0] /*(Class[])null*/); in testConstructorNewInstance()
87 Constructor cons = c.getConstructor((Class[]) null); in testConstructorNewInstance()
98 Constructor cons = c.getDeclaredConstructor(new Class<?>[]{Main.class}); in testConstructorNewInstance()
109 Constructor cons = c.getDeclaredConstructor((Class[]) null); in testConstructorNewInstance()
120 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance()
133 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance()
147 Constructor cons = c.getConstructor((Class[]) null); in testConstructorNewInstance()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc118 mirror::Constructor* m = soa.Decode<mirror::Constructor*>(javaMethod); in Constructor_newInstance0()
181 NATIVE_METHOD(Constructor, getAnnotationNative,
183 NATIVE_METHOD(Constructor, getDeclaredAnnotations, "!()[Ljava/lang/annotation/Annotation;"),
184 NATIVE_METHOD(Constructor, getExceptionTypes, "!()[Ljava/lang/Class;"),
185 NATIVE_METHOD(Constructor, getParameterAnnotationsNative,
187 NATIVE_METHOD(Constructor, isAnnotationPresentNative, "!(Ljava/lang/Class;)Z"),
188 NATIVE_METHOD(Constructor, newInstance0, "!([Ljava/lang/Object;)Ljava/lang/Object;"),
189 …NATIVE_METHOD(Constructor, newInstanceFromSerialization, "!(Ljava/lang/Class;Ljava/lang/Class;)Lja…
/art/test/042-new-instance/src/otherpackage/
DConstructorAccess.java19 import java.lang.reflect.Constructor;
33 Constructor cons = c.getDeclaredConstructor((Class[]) null); in newConstructorInstance()
/art/test/044-proxy/src/
DConstructorProxy.java17 import java.lang.reflect.Constructor;
40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest()
DNativeProxy.java20 import java.lang.reflect.Constructor;
DBasicTest.java20 import java.lang.reflect.Constructor;
109 Constructor<Class> cons; in createProxy()
/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. 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. in findDexClass()
/art/test/042-new-instance/
Dinfo.txt1 Test various permutations of Class.newInstance and Constructor.newInstance,
/art/test/068-classloader/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
85 Constructor ctor; in findClassDalvik()
DMain.java17 import java.lang.reflect.Constructor;
78 Constructor ctor = mDexClass.getConstructor(new Class[] {String.class}); in testNullClassLoader()
/art/test/138-duplicate-classes-check2/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
86 Constructor ctor; in findClassDalvik()
/art/test/127-checker-secondarydex/src/
DMain.java18 import java.lang.reflect.Constructor;
/art/test/131-structural-change/src/
DMain.java18 import java.lang.reflect.Constructor;
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java52 import java.lang.reflect.Constructor;
132 Constructor<? extends Executor> constructor = in addExecutorsForArchitecture()
137 Constructor<? extends Executor> constructor = in addExecutorsForArchitecture()
142 Constructor<? extends Executor> constructor = in addExecutorsForArchitecture()
/art/test/577-profile-foreign-dex/src/
DMain.java22 import java.lang.reflect.Constructor;
118 Constructor constructor = in loadDexFile()
/art/test/130-hprof/src/
DMain.java19 import java.lang.reflect.Constructor;
44 Constructor constructor = in allocInDifferentLoader()
/art/test/031-class-attributes/src/
DClassAttrs.java6 import java.lang.reflect.Constructor;
121 Constructor cons; in main()
226 if (c == Method.class || c == Constructor.class) { in getSignatureAttribute()
/art/test/005-annotations/src/android/test/anno/
DTestAnnotations.java20 import java.lang.reflect.Constructor;
55 for (Constructor c: clazz.getDeclaredConstructors()) { in printAnnotations()
/art/test/100-reflect2/src/
DMain.java278 Constructor<?> ctor; in testConstructorReflection()
290 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor()
304 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor()

12