Home
last modified time | relevance | path

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

123456

/art/test/141-class-unload/src/
DMain.java39 Constructor<?> constructor = in main() local
42 testUnloadClass(constructor); in main()
43 testUnloadLoader(constructor); in main()
45 testNoUnloadInstance(constructor); in main()
47 testLoadAndUnloadLibrary(constructor); in main()
49 testStackTrace(constructor); in main()
51 stressTest(constructor); in main()
55 testStickyUnload(constructor); in main()
57 testCopiedMethodInStackTrace(constructor); in main()
65 testConflictMethod(constructor); in main()
[all …]
/art/test/817-hiddenapi/
Dtest_native.cc30 jmethodID constructor = env->GetMethodID(cls, "<init>", "()V"); in Java_TestCase_testNativeInternal() local
31 CHECK(constructor != nullptr); in Java_TestCase_testNativeInternal()
36 jobject obj = env->NewObject(cls, constructor); in Java_TestCase_testNativeInternal()
/art/test/674-hiddenapi/
Dhiddenapi.cc89 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance() local
90 if (constructor == nullptr) { in NewInstance()
93 return env->NewObject(klass, constructor); in NewInstance()
250 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canDiscoverConstructor() local
251 if (constructor == nullptr) { in Java_JNI_canDiscoverConstructor()
262 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorA() local
263 if (constructor == nullptr) { in Java_JNI_canInvokeConstructorA()
274 env->NewObjectA(klass, constructor, initargs); in Java_JNI_canInvokeConstructorA()
287 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); in Java_JNI_canInvokeConstructorV() local
288 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
/art/test/854-image-inlining/src/
DMain.java28 Constructor<?> constructor = in main() local
30 ClassLoader loader = (ClassLoader) constructor.newInstance( in main()
/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/661-classloader-allocator/src/
DMain.java50 Constructor<?> constructor = in loadClass() local
52 ClassLoader loader = (ClassLoader) constructor.newInstance( in loadClass()
/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/827-resolve-method/src/
DMain.java34 Constructor<?> constructor = in loadClass() local
36 ClassLoader loader = (ClassLoader) constructor.newInstance( in loadClass()
/art/test/962-iface-static/
Dexpected-stdout.txt2 constructor
/art/test/530-checker-lse-ctor-fences/
Dinfo.txt1 Checker test for testing load-store elimination with final fields (constructor fences).
/art/libnativeloader/test/
Dlibsystem_testlib.cc21 static void __attribute__((constructor)) ctor() { in ctor()
/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/Dex2oatVdexPublicSdkDex/
DObject.smali18 .method static constructor <clinit>()V
23 .method public constructor <init>()V
DNumber.smali19 .method static constructor <clinit>()V
24 .method public constructor <init>()V
DInteger.smali21 .method static constructor <clinit>()V
26 .method public constructor <init>(I)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/2000-virtual-list-structural/
DAbstractCollection.patch4 * Sole constructor. (For invocation by subclass constructors, typically

123456