/art/runtime/mirror/ |
D | method.cc | 29 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()
|
D | method.h | 60 class MANAGED Constructor: public AbstractMethod { 62 static Constructor* CreateFromArtMethod(Thread* self, ArtMethod* method) 87 DISALLOW_COPY_AND_ASSIGN(Constructor);
|
D | class.h | 52 class Constructor; variable
|
/art/test/042-new-instance/src/ |
D | Main.java | 17 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/ |
D | java_lang_reflect_Constructor.cc | 38 mirror::Constructor* m = soa.Decode<mirror::Constructor*>(javaMethod); in Constructor_newInstance() 92 NATIVE_METHOD(Constructor, newInstance, "!([Ljava/lang/Object;)Ljava/lang/Object;"),
|
D | java_lang_Class.cc | 271 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/ |
D | Main.java | 17 import java.lang.reflect.Constructor; 80 Constructor ctor = mDexClass. in findDexClass()
|
/art/test/071-dexfile/src/ |
D | Main.java | 19 import java.lang.reflect.Constructor; 83 Constructor DexClassLoader_init = DexClassLoader.getConstructor(String.class, in getDexClassLoader()
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 17 import java.lang.reflect.Constructor; 83 Constructor ctor = dexClass. in findDexClass()
|
/art/test/042-new-instance/ |
D | info.txt | 1 Test various permutations of Class.newInstance and Constructor.newInstance,
|
/art/test/138-duplicate-classes-check2/src/ |
D | FancyLoader.java | 21 import java.lang.reflect.Constructor; 86 Constructor ctor; in findClassDalvik()
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 21 import java.lang.reflect.Constructor; 85 Constructor ctor; in findClassDalvik()
|
/art/test/138-duplicate-classes-check/src/ |
D | FancyLoader.java | 21 import java.lang.reflect.Constructor; 86 Constructor ctor; in findClassDalvik()
|
/art/test/127-secondarydex/src/ |
D | Main.java | 18 import java.lang.reflect.Constructor;
|
/art/test/131-structural-change/src/ |
D | Main.java | 18 import java.lang.reflect.Constructor;
|
/art/tools/dexfuzz/src/dexfuzz/fuzzers/ |
D | Fuzzer.java | 52 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/ |
D | NativeProxy.java | 20 import java.lang.reflect.Constructor;
|
D | BasicTest.java | 20 import java.lang.reflect.Constructor; 107 Constructor<Class> cons; in createProxy()
|
/art/test/005-annotations/src/android/test/anno/ |
D | TestAnnotations.java | 4 import java.lang.reflect.Constructor; 38 for (Constructor c: clazz.getDeclaredConstructors()) { in printAnnotations()
|
/art/test/100-reflect2/src/ |
D | Main.java | 260 Constructor<?> ctor; in testConstructorReflection() 272 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor() 286 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor()
|
/art/test/031-class-attributes/src/ |
D | ClassAttrs.java | 5 import java.lang.reflect.Constructor; 120 Constructor cons; in main()
|
/art/test/046-reflect/src/ |
D | Main.java | 371 Constructor<Target> cons; in run() 392 Constructor<Thrower> constructor = Thrower.class.getDeclaredConstructor(); in run() 528 Constructor ctor; in checkGeneric()
|
/art/test/046-reflect/ |
D | expected.txt | 96 got expected exception for Constructor.newInstance
|
/art/runtime/ |
D | class_linker.cc | 547 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/ |
D | patchoat.cc | 634 object->GetClass() == mirror::Constructor::StaticClass()) { in VisitObject()
|