Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dmethod.cc29 GcRoot<Class> Constructor::static_class_;
30 GcRoot<Class> Constructor::array_class_;
68 void Constructor::SetClass(Class* klass) { in SetClass()
74 void Constructor::ResetClass() { in ResetClass()
79 void Constructor::SetArrayClass(Class* klass) { in SetArrayClass()
85 void Constructor::ResetArrayClass() { in ResetArrayClass()
90 void Constructor::VisitRoots(RootVisitor* visitor) { in VisitRoots()
95 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
97 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod()
Dmethod.h60 class MANAGED Constructor: public AbstractMethod {
62 static Constructor* CreateFromArtMethod(Thread* self, ArtMethod* method)
87 DISALLOW_COPY_AND_ASSIGN(Constructor);
Dclass.h52 class Constructor; variable
/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.cc38 mirror::Constructor* m = soa.Decode<mirror::Constructor*>(javaMethod); in Constructor_newInstance()
92 NATIVE_METHOD(Constructor, newInstance, "!([Ljava/lang/Object;)Ljava/lang/Object;"),
Djava_lang_Class.cc271 mirror::Constructor::CreateFromArtMethod(soa.Self(), declared_constructor)); in Class_getDeclaredConstructorInternal()
292 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc( in Class_getDeclaredConstructorsInternal()
293 soa.Self(), mirror::Constructor::ArrayClass(), constructor_count)); in Class_getDeclaredConstructorsInternal()
301 auto* constructor = mirror::Constructor::CreateFromArtMethod(soa.Self(), &m); in Class_getDeclaredConstructorsInternal()
/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/138-duplicate-classes-check2/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
86 Constructor ctor; in findClassDalvik()
/art/test/068-classloader/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
85 Constructor ctor; in findClassDalvik()
/art/test/138-duplicate-classes-check/src/
DFancyLoader.java21 import java.lang.reflect.Constructor;
86 Constructor ctor; in findClassDalvik()
/art/test/127-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/044-proxy/src/
DNativeProxy.java20 import java.lang.reflect.Constructor;
DBasicTest.java20 import java.lang.reflect.Constructor;
107 Constructor<Class> cons; in createProxy()
/art/test/005-annotations/src/android/test/anno/
DTestAnnotations.java4 import java.lang.reflect.Constructor;
38 for (Constructor c: clazz.getDeclaredConstructors()) { in printAnnotations()
/art/test/100-reflect2/src/
DMain.java260 Constructor<?> ctor; in testConstructorReflection()
272 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor()
286 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor()
/art/test/031-class-attributes/src/
DClassAttrs.java5 import java.lang.reflect.Constructor;
120 Constructor cons; in main()
/art/test/046-reflect/src/
DMain.java371 Constructor<Target> cons; in run()
392 Constructor<Thrower> constructor = Thrower.class.getDeclaredConstructor(); in run()
528 Constructor ctor; in checkGeneric()
/art/test/046-reflect/
Dexpected.txt96 got expected exception for Constructor.newInstance
/art/runtime/
Dclass_linker.cc547 mirror::Constructor::SetClass(class_root); in InitWithoutImage()
551 mirror::Constructor::SetArrayClass(class_root); in InitWithoutImage()
1219 mirror::Constructor::SetClass(GetClassRoot(kJavaLangReflectConstructor)); in InitFromImage()
1220 mirror::Constructor::SetArrayClass(GetClassRoot(kJavaLangReflectConstructorArrayClass)); in InitFromImage()
1440 mirror::Constructor::ResetClass(); in ~ClassLinker()
1450 mirror::Constructor::ResetArrayClass(); in ~ClassLinker()
/art/patchoat/
Dpatchoat.cc634 object->GetClass() == mirror::Constructor::StaticClass()) { in VisitObject()

12