/art/runtime/mirror/ |
D | method.cc | 29 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 …]
|
D | method.h | 61 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/ |
D | Main.java | 21 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/ |
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 | 118 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/ |
D | ConstructorAccess.java | 19 import java.lang.reflect.Constructor; 33 Constructor cons = c.getDeclaredConstructor((Class[]) null); in newConstructorInstance()
|
/art/test/044-proxy/src/ |
D | ConstructorProxy.java | 17 import java.lang.reflect.Constructor; 40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest()
|
D | NativeProxy.java | 20 import java.lang.reflect.Constructor;
|
D | BasicTest.java | 20 import java.lang.reflect.Constructor; 109 Constructor<Class> cons; in createProxy()
|
/art/test/142-classloader2/src/ |
D | Main.java | 17 import java.lang.reflect.Constructor; 28 Constructor constructor = myClassLoaderClass.getConstructor(String.class, in createClassLoader()
|
/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/068-classloader/src/ |
D | FancyLoader.java | 21 import java.lang.reflect.Constructor; 85 Constructor ctor; in findClassDalvik()
|
D | Main.java | 17 import java.lang.reflect.Constructor; 78 Constructor ctor = mDexClass.getConstructor(new Class[] {String.class}); in testNullClassLoader()
|
/art/test/138-duplicate-classes-check2/src/ |
D | FancyLoader.java | 21 import java.lang.reflect.Constructor; 86 Constructor ctor; in findClassDalvik()
|
/art/test/127-checker-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/577-profile-foreign-dex/src/ |
D | Main.java | 22 import java.lang.reflect.Constructor; 118 Constructor constructor = in loadDexFile()
|
/art/test/130-hprof/src/ |
D | Main.java | 19 import java.lang.reflect.Constructor; 44 Constructor constructor = in allocInDifferentLoader()
|
/art/test/031-class-attributes/src/ |
D | ClassAttrs.java | 6 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/ |
D | TestAnnotations.java | 20 import java.lang.reflect.Constructor; 55 for (Constructor c: clazz.getDeclaredConstructors()) { in printAnnotations()
|
/art/test/100-reflect2/src/ |
D | Main.java | 278 Constructor<?> ctor; in testConstructorReflection() 290 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor() 304 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor()
|