Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 119) sorted by relevance

12345

/art/test/141-class-unload/src/
DMain.java35 Constructor<?> constructor = in main() local
38 testUnloadClass(constructor); in main()
39 testUnloadLoader(constructor); in main()
41 testNoUnloadInstance(constructor); in main()
43 testLoadAndUnloadLibrary(constructor); in main()
45 testStackTrace(constructor); in main()
47 stressTest(constructor); in main()
51 testStickyUnload(constructor); in main()
78 private static void stressTest(Constructor<?> constructor) throws Exception { in stressTest() argument
80 setUpUnloadLoader(constructor, false); in stressTest()
[all …]
/art/test/674-hiddenapi/
Dhiddenapi.cc94 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() local
95 if (constructor == nullptr) { in NewInstance()
98 return env->NewObject(klass, constructor); in NewInstance()
255 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() local
256 if (constructor == nullptr) { in Java_JNI_canDiscoverConstructor()
267 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() local
268 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorA()
279 env->NewObjectA(klass, constructor, initargs); in Java_JNI_canInvokeConstructorA()
292 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV() local
293 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorV()
[all …]
/art/test/800-smali/smali/
Db_18800943_1.smali4 # This constructor should fail verification as the object is not initialized by a super-call.
5 .method public constructor <init>()V
Db_18800943_2.smali4 # This constructor should fail verification as the object is not initialized by a super-call.
5 .method public constructor <init>()V
Db_20843113.smali5 .method public constructor <init>(I)V
12 # Call the super-constructor
Db_26965384Super.smali6 .method public constructor <init>()V
Db_18380491AbstractBase.smali5 .method public constructor <init>()V
Db_21886894.smali4 .method public constructor <init>()V
Db_21869691C.smali8 .method public constructor <init>()V
Db_21873167.smali4 .method public constructor <init>()V
Db_18380491ConcreteClass.smali5 .method public constructor <init>()V
Db_21902684.smali4 .method public constructor <init>()V
DCmpLong.smali5 .method public constructor <init>()V
/art/test/636-wrong-static-access/src/
DMain.java29 Constructor<?> constructor = in main() local
31 ClassLoader loader = (ClassLoader) constructor.newInstance( in main()
/art/test/142-classloader2/smali/
DMyPathClassLoader.smali8 # Simple forwarding constructor.
9 .method public constructor <init>(Ljava/lang/String;Ljava/lang/ClassLoader;)V
DB.smali5 .method public constructor <init>()V
/art/test/044-proxy/src/
DConstructorProxy.java40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest() local
44 Object[] exceptions = constructor.getExceptionTypes(); in runTest()
/art/test/661-classloader-allocator/src/
DMain.java50 Constructor<?> constructor = in loadClass() local
52 ClassLoader loader = (ClassLoader) constructor.newInstance( in loadClass()
/art/test/962-iface-static/
Dexpected.txt2 constructor
/art/test/530-checker-lse-ctor-fences/
Dinfo.txt1 Checker test for testing load-store elimination with final fields (constructor fences).
/art/test/142-classloader2/src/
DMain.java28 Constructor<?> constructor = myClassLoaderClass.getConstructor(String.class, in createClassLoader() local
30 return (ClassLoader)constructor.newInstance(dexPath, parent); in createClassLoader()
/art/test/ti-agent/
Dstack_trace_helper.cc45 jmethodID constructor = env->GetMethodID( in Java_art_StackTrace_nativeGetStackTrace() local
79 constructor, in Java_art_StackTrace_nativeGetStackTrace()
/art/test/173-missing-field-type/smali/
DBadField.smali22 .method public constructor <init>()V
28 .method public static constructor <clinit>()V
/art/test/476-checker-ctor-fence-redun-elim/
Dinfo.txt1 Tests to ensure constructor fences (after new-instance, new-array, or final fields) are properly
/art/test/715-clinit-implicit-parameter-annotations/
Dinfo.txt3 parameters. If the constructor has parameter annotations, the implicit

12345